Injecting cross-sectional and temporal correlations into a random matrix











up vote
0
down vote

favorite












Let $X$ be a random matrix, constituted of 4 vectors of time series $X_i,t$, $i=1,ldots,4$, $t=1,ldots,3$.



$$X=left(
begin{array}{cccc}
x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
x_{1,2} & x_{2,2} & x_{3,2} & x_{4,2} \
x_{1,3} & x_{2,3} & x_{3,3} & x_{4,3} \
end{array}
right).$$

I am trying to inject both temporal correlation between $X_{i,t}$ and $X_{i,t+1}$ and cross-sectional between $X_{i,t}$ and $X_{i+1,t}$.



We start with temporal correlation, with $epsilon$ as random noise, $mathbb{E}(epsilon_{i,j})=0$.
Rewriting
$$X=left(
begin{array}{cccc}
x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
rho _1 x_{1,1}+epsilon _{1,1} & rho _2 x_{2,1}+epsilon _{2,1} & rho _3 x_{3,1}+epsilon _{3,1} & rho _4 x_{4,1}+epsilon _{4,1} \
rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 x_{2,1}+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 x_{3,1}+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 x_{4,1}+epsilon _{4,1}right)+epsilon _{4,2} \
end{array}
right)$$

and add cross-sectional correlation, rewriting
$X=left(
begin{array}{cccc}
x_{1,1} & frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1} & frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1} & frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1} \
rho _1 x_{1,1}+epsilon _{1,1} & rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,2}right)+epsilon _{2,1} & rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,2}right)+epsilon _{3,1} & rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,2}right)+epsilon _{4,1} \
rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1}right)+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1}right)+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1}right)+epsilon _{4,1}right)+epsilon _{4,2} \
end{array}
right)$

Am I doing it right?










share|cite|improve this question


























    up vote
    0
    down vote

    favorite












    Let $X$ be a random matrix, constituted of 4 vectors of time series $X_i,t$, $i=1,ldots,4$, $t=1,ldots,3$.



    $$X=left(
    begin{array}{cccc}
    x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
    x_{1,2} & x_{2,2} & x_{3,2} & x_{4,2} \
    x_{1,3} & x_{2,3} & x_{3,3} & x_{4,3} \
    end{array}
    right).$$

    I am trying to inject both temporal correlation between $X_{i,t}$ and $X_{i,t+1}$ and cross-sectional between $X_{i,t}$ and $X_{i+1,t}$.



    We start with temporal correlation, with $epsilon$ as random noise, $mathbb{E}(epsilon_{i,j})=0$.
    Rewriting
    $$X=left(
    begin{array}{cccc}
    x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
    rho _1 x_{1,1}+epsilon _{1,1} & rho _2 x_{2,1}+epsilon _{2,1} & rho _3 x_{3,1}+epsilon _{3,1} & rho _4 x_{4,1}+epsilon _{4,1} \
    rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 x_{2,1}+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 x_{3,1}+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 x_{4,1}+epsilon _{4,1}right)+epsilon _{4,2} \
    end{array}
    right)$$

    and add cross-sectional correlation, rewriting
    $X=left(
    begin{array}{cccc}
    x_{1,1} & frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1} & frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1} & frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1} \
    rho _1 x_{1,1}+epsilon _{1,1} & rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,2}right)+epsilon _{2,1} & rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,2}right)+epsilon _{3,1} & rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,2}right)+epsilon _{4,1} \
    rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1}right)+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1}right)+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1}right)+epsilon _{4,1}right)+epsilon _{4,2} \
    end{array}
    right)$

    Am I doing it right?










    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Let $X$ be a random matrix, constituted of 4 vectors of time series $X_i,t$, $i=1,ldots,4$, $t=1,ldots,3$.



      $$X=left(
      begin{array}{cccc}
      x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
      x_{1,2} & x_{2,2} & x_{3,2} & x_{4,2} \
      x_{1,3} & x_{2,3} & x_{3,3} & x_{4,3} \
      end{array}
      right).$$

      I am trying to inject both temporal correlation between $X_{i,t}$ and $X_{i,t+1}$ and cross-sectional between $X_{i,t}$ and $X_{i+1,t}$.



      We start with temporal correlation, with $epsilon$ as random noise, $mathbb{E}(epsilon_{i,j})=0$.
      Rewriting
      $$X=left(
      begin{array}{cccc}
      x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
      rho _1 x_{1,1}+epsilon _{1,1} & rho _2 x_{2,1}+epsilon _{2,1} & rho _3 x_{3,1}+epsilon _{3,1} & rho _4 x_{4,1}+epsilon _{4,1} \
      rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 x_{2,1}+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 x_{3,1}+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 x_{4,1}+epsilon _{4,1}right)+epsilon _{4,2} \
      end{array}
      right)$$

      and add cross-sectional correlation, rewriting
      $X=left(
      begin{array}{cccc}
      x_{1,1} & frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1} & frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1} & frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1} \
      rho _1 x_{1,1}+epsilon _{1,1} & rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,2}right)+epsilon _{2,1} & rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,2}right)+epsilon _{3,1} & rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,2}right)+epsilon _{4,1} \
      rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1}right)+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1}right)+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1}right)+epsilon _{4,1}right)+epsilon _{4,2} \
      end{array}
      right)$

      Am I doing it right?










      share|cite|improve this question













      Let $X$ be a random matrix, constituted of 4 vectors of time series $X_i,t$, $i=1,ldots,4$, $t=1,ldots,3$.



      $$X=left(
      begin{array}{cccc}
      x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
      x_{1,2} & x_{2,2} & x_{3,2} & x_{4,2} \
      x_{1,3} & x_{2,3} & x_{3,3} & x_{4,3} \
      end{array}
      right).$$

      I am trying to inject both temporal correlation between $X_{i,t}$ and $X_{i,t+1}$ and cross-sectional between $X_{i,t}$ and $X_{i+1,t}$.



      We start with temporal correlation, with $epsilon$ as random noise, $mathbb{E}(epsilon_{i,j})=0$.
      Rewriting
      $$X=left(
      begin{array}{cccc}
      x_{1,1} & x_{2,1} & x_{3,1} & x_{4,1} \
      rho _1 x_{1,1}+epsilon _{1,1} & rho _2 x_{2,1}+epsilon _{2,1} & rho _3 x_{3,1}+epsilon _{3,1} & rho _4 x_{4,1}+epsilon _{4,1} \
      rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 x_{2,1}+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 x_{3,1}+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 x_{4,1}+epsilon _{4,1}right)+epsilon _{4,2} \
      end{array}
      right)$$

      and add cross-sectional correlation, rewriting
      $X=left(
      begin{array}{cccc}
      x_{1,1} & frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1} & frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1} & frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1} \
      rho _1 x_{1,1}+epsilon _{1,1} & rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,2}right)+epsilon _{2,1} & rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,2}right)+epsilon _{3,1} & rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,2}right)+epsilon _{4,1} \
      rho _1 left(rho _1 x_{1,1}+epsilon _{1,1}right)+epsilon _{1,2} & rho _2 left(rho _2 left(frac{sigma _2 rho _{1,2} x_{1,1}}{sigma _1}+epsilon _{2,1}right)+epsilon _{2,1}right)+epsilon _{2,2} & rho _3 left(rho _3 left(frac{sigma _3 rho _{1,3} x_{1,1}}{sigma _1}+epsilon _{3,1}right)+epsilon _{3,1}right)+epsilon _{3,2} & rho _4 left(rho _4 left(frac{sigma _3 rho _{1,4} x_{1,1}}{sigma _1}+epsilon _{4,1}right)+epsilon _{4,1}right)+epsilon _{4,2} \
      end{array}
      right)$

      Am I doing it right?







      probability random-matrices






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 15 at 18:51









      Nero

      1,91521678




      1,91521678



























          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3000115%2finjecting-cross-sectional-and-temporal-correlations-into-a-random-matrix%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3000115%2finjecting-cross-sectional-and-temporal-correlations-into-a-random-matrix%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

          How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...