Variance of squared $l_2$ distance ratio

Clash 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!
probability statistics random-variables normal-distribution variance
add a comment |Â
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!
probability statistics random-variables normal-distribution variance
add a comment |Â
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!
probability statistics random-variables normal-distribution variance
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!
probability statistics random-variables normal-distribution variance
edited Aug 19 at 3:55
asked Aug 19 at 3:27
Nen
12610
12610
add a comment |Â
add a comment |Â
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.
Thank you! I was silly in not seeing this...
â Nen
Aug 19 at 4:01
add a comment |Â
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.
Thank you! I was silly in not seeing this...
â Nen
Aug 19 at 4:01
add a comment |Â
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.
Thank you! I was silly in not seeing this...
â Nen
Aug 19 at 4:01
add a comment |Â
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.
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.
answered Aug 19 at 3:58
angryavian
35k12975
35k12975
Thank you! I was silly in not seeing this...
â Nen
Aug 19 at 4:01
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password