Variance of squared $l_2$ distance ratio

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













Problem: Assume we have an i.i.d data set $barx subset mathbbR^n$, sampled from an $n-$dimensional normal distribution where each dimension is independent, with zero mean and $sigma^2$ variance (i.e. $P(barx) = Pi_k mathcalN(x_k| 0, sigma^2)$). Prove that $var(fracVert barx^i - barx^j Vert_2^2mathbbE[Vert barx^i - barx^j Vert_2^2]) = fracn + 2n - 1$.




Attempt at solution: knowing that $barx^i$ and $barx^j$ are i.i.d. and normal, we know $bary = barx^i - barx^j$ is also normal, and in fact, $P(y_k) = mathcalN(y_k|0, 2 sigma^2)$. So I can simplify the target expression to $$var(fracVert bary Vert_2^2mathbbE[Vert bary Vert_2^2]) = var(fracsum_k y_k^2mathbbE[sum_k y_k^2]) = (frac1sum_k mathbbE[y_k^2])^2 sum_k var(y_k^2) \
= (frac1sum_k mathbbE[y_k^2])^2 sum_k mathbbE[y_k^4] - mathbbE[y_k^2]^2 \
= (frac1sum_k mathbbE[y_k^2])^2 sum_k 12 sigma^4 - mathbbE[y_k^2]^2 $$



where in the second line I used a hint for the problem that $mathbbE[y_i^2 y_j^2] = mathbbE[y_i^2] mathbbE[y_j^2]$, and in third line, I used $mathbbE[y_k^4] = 12sigma^4$ from a hint for the problem. But now I arrive at a wrong result. Any help is appreciated!







share|cite|improve this question


























    up vote
    0
    down vote

    favorite













    Problem: Assume we have an i.i.d data set $barx subset mathbbR^n$, sampled from an $n-$dimensional normal distribution where each dimension is independent, with zero mean and $sigma^2$ variance (i.e. $P(barx) = Pi_k mathcalN(x_k| 0, sigma^2)$). Prove that $var(fracVert barx^i - barx^j Vert_2^2mathbbE[Vert barx^i - barx^j Vert_2^2]) = fracn + 2n - 1$.




    Attempt at solution: knowing that $barx^i$ and $barx^j$ are i.i.d. and normal, we know $bary = barx^i - barx^j$ is also normal, and in fact, $P(y_k) = mathcalN(y_k|0, 2 sigma^2)$. So I can simplify the target expression to $$var(fracVert bary Vert_2^2mathbbE[Vert bary Vert_2^2]) = var(fracsum_k y_k^2mathbbE[sum_k y_k^2]) = (frac1sum_k mathbbE[y_k^2])^2 sum_k var(y_k^2) \
    = (frac1sum_k mathbbE[y_k^2])^2 sum_k mathbbE[y_k^4] - mathbbE[y_k^2]^2 \
    = (frac1sum_k mathbbE[y_k^2])^2 sum_k 12 sigma^4 - mathbbE[y_k^2]^2 $$



    where in the second line I used a hint for the problem that $mathbbE[y_i^2 y_j^2] = mathbbE[y_i^2] mathbbE[y_j^2]$, and in third line, I used $mathbbE[y_k^4] = 12sigma^4$ from a hint for the problem. But now I arrive at a wrong result. Any help is appreciated!







    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite












      Problem: Assume we have an i.i.d data set $barx subset mathbbR^n$, sampled from an $n-$dimensional normal distribution where each dimension is independent, with zero mean and $sigma^2$ variance (i.e. $P(barx) = Pi_k mathcalN(x_k| 0, sigma^2)$). Prove that $var(fracVert barx^i - barx^j Vert_2^2mathbbE[Vert barx^i - barx^j Vert_2^2]) = fracn + 2n - 1$.




      Attempt at solution: knowing that $barx^i$ and $barx^j$ are i.i.d. and normal, we know $bary = barx^i - barx^j$ is also normal, and in fact, $P(y_k) = mathcalN(y_k|0, 2 sigma^2)$. So I can simplify the target expression to $$var(fracVert bary Vert_2^2mathbbE[Vert bary Vert_2^2]) = var(fracsum_k y_k^2mathbbE[sum_k y_k^2]) = (frac1sum_k mathbbE[y_k^2])^2 sum_k var(y_k^2) \
      = (frac1sum_k mathbbE[y_k^2])^2 sum_k mathbbE[y_k^4] - mathbbE[y_k^2]^2 \
      = (frac1sum_k mathbbE[y_k^2])^2 sum_k 12 sigma^4 - mathbbE[y_k^2]^2 $$



      where in the second line I used a hint for the problem that $mathbbE[y_i^2 y_j^2] = mathbbE[y_i^2] mathbbE[y_j^2]$, and in third line, I used $mathbbE[y_k^4] = 12sigma^4$ from a hint for the problem. But now I arrive at a wrong result. Any help is appreciated!







      share|cite|improve this question















      Problem: Assume we have an i.i.d data set $barx subset mathbbR^n$, sampled from an $n-$dimensional normal distribution where each dimension is independent, with zero mean and $sigma^2$ variance (i.e. $P(barx) = Pi_k mathcalN(x_k| 0, sigma^2)$). Prove that $var(fracVert barx^i - barx^j Vert_2^2mathbbE[Vert barx^i - barx^j Vert_2^2]) = fracn + 2n - 1$.




      Attempt at solution: knowing that $barx^i$ and $barx^j$ are i.i.d. and normal, we know $bary = barx^i - barx^j$ is also normal, and in fact, $P(y_k) = mathcalN(y_k|0, 2 sigma^2)$. So I can simplify the target expression to $$var(fracVert bary Vert_2^2mathbbE[Vert bary Vert_2^2]) = var(fracsum_k y_k^2mathbbE[sum_k y_k^2]) = (frac1sum_k mathbbE[y_k^2])^2 sum_k var(y_k^2) \
      = (frac1sum_k mathbbE[y_k^2])^2 sum_k mathbbE[y_k^4] - mathbbE[y_k^2]^2 \
      = (frac1sum_k mathbbE[y_k^2])^2 sum_k 12 sigma^4 - mathbbE[y_k^2]^2 $$



      where in the second line I used a hint for the problem that $mathbbE[y_i^2 y_j^2] = mathbbE[y_i^2] mathbbE[y_j^2]$, and in third line, I used $mathbbE[y_k^4] = 12sigma^4$ from a hint for the problem. But now I arrive at a wrong result. Any help is appreciated!









      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 19 at 3:55

























      asked Aug 19 at 3:27









      Nen

      12610




      12610




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Substituting $E[y_k^4] = 12 sigma^4$ and $E[y_k^2] = 2 sigma^2$ into your last line yields
          $$fracn(12 - 4) sigma^4(n cdot 2 sigma^2)^2 = frac2n$$
          which is the answer you are looking for.






          share|cite|improve this answer




















          • Thank you! I was silly in not seeing this...
            – Nen
            Aug 19 at 4:01










          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2887326%2fvariance-of-squared-l-2-distance-ratio%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          Substituting $E[y_k^4] = 12 sigma^4$ and $E[y_k^2] = 2 sigma^2$ into your last line yields
          $$fracn(12 - 4) sigma^4(n cdot 2 sigma^2)^2 = frac2n$$
          which is the answer you are looking for.






          share|cite|improve this answer




















          • Thank you! I was silly in not seeing this...
            – Nen
            Aug 19 at 4:01














          up vote
          1
          down vote



          accepted










          Substituting $E[y_k^4] = 12 sigma^4$ and $E[y_k^2] = 2 sigma^2$ into your last line yields
          $$fracn(12 - 4) sigma^4(n cdot 2 sigma^2)^2 = frac2n$$
          which is the answer you are looking for.






          share|cite|improve this answer




















          • Thank you! I was silly in not seeing this...
            – Nen
            Aug 19 at 4:01












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Substituting $E[y_k^4] = 12 sigma^4$ and $E[y_k^2] = 2 sigma^2$ into your last line yields
          $$fracn(12 - 4) sigma^4(n cdot 2 sigma^2)^2 = frac2n$$
          which is the answer you are looking for.






          share|cite|improve this answer












          Substituting $E[y_k^4] = 12 sigma^4$ and $E[y_k^2] = 2 sigma^2$ into your last line yields
          $$fracn(12 - 4) sigma^4(n cdot 2 sigma^2)^2 = frac2n$$
          which is the answer you are looking for.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 19 at 3:58









          angryavian

          35k12975




          35k12975











          • Thank you! I was silly in not seeing this...
            – Nen
            Aug 19 at 4:01
















          • Thank you! I was silly in not seeing this...
            – Nen
            Aug 19 at 4:01















          Thank you! I was silly in not seeing this...
          – Nen
          Aug 19 at 4:01




          Thank you! I was silly in not seeing this...
          – Nen
          Aug 19 at 4:01












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2887326%2fvariance-of-squared-l-2-distance-ratio%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          tkz-euclide: tkzDrawCircle[R] not working

          How to combine Bézier curves to a surface?

          1st Magritte Awards