Calculate correlation coefficient for discrete random variable

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
From a population consisting of the numbers: $lbrace 1,2 ldots 10 rbrace$, two samples are chosen from it without replacement. If the random variable denoting the first choice is X and the second choice is $Y$, what is the correlation coefficient ($rho$) between $X$ and $Y$
probability random-variables statistical-inference correlation
add a comment |Â
up vote
1
down vote
favorite
From a population consisting of the numbers: $lbrace 1,2 ldots 10 rbrace$, two samples are chosen from it without replacement. If the random variable denoting the first choice is X and the second choice is $Y$, what is the correlation coefficient ($rho$) between $X$ and $Y$
probability random-variables statistical-inference correlation
does the distribution of $X$ uniform on $1, 2, dots, 10$?
â pointguard0
Aug 22 at 5:33
yes distribution is uniform
â Hardik gupta
Aug 22 at 6:46
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
From a population consisting of the numbers: $lbrace 1,2 ldots 10 rbrace$, two samples are chosen from it without replacement. If the random variable denoting the first choice is X and the second choice is $Y$, what is the correlation coefficient ($rho$) between $X$ and $Y$
probability random-variables statistical-inference correlation
From a population consisting of the numbers: $lbrace 1,2 ldots 10 rbrace$, two samples are chosen from it without replacement. If the random variable denoting the first choice is X and the second choice is $Y$, what is the correlation coefficient ($rho$) between $X$ and $Y$
probability random-variables statistical-inference correlation
edited Aug 22 at 4:46
asked Aug 22 at 4:42
Hardik gupta
1156
1156
does the distribution of $X$ uniform on $1, 2, dots, 10$?
â pointguard0
Aug 22 at 5:33
yes distribution is uniform
â Hardik gupta
Aug 22 at 6:46
add a comment |Â
does the distribution of $X$ uniform on $1, 2, dots, 10$?
â pointguard0
Aug 22 at 5:33
yes distribution is uniform
â Hardik gupta
Aug 22 at 6:46
does the distribution of $X$ uniform on $1, 2, dots, 10$?
â pointguard0
Aug 22 at 5:33
does the distribution of $X$ uniform on $1, 2, dots, 10$?
â pointguard0
Aug 22 at 5:33
yes distribution is uniform
â Hardik gupta
Aug 22 at 6:46
yes distribution is uniform
â Hardik gupta
Aug 22 at 6:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Assuming $X$ is uniform on $1, 2, dots, 10$ we have
$$
mathbb E X = frac1 + 2 + dots + 1010 = 5.5, quad mathbbVar X = frac1^2 + dots + 10^210 - mathbb E X^2 = 8.25.
$$
To compute the expected value of $Y$ write
$$
mathbb E Y = sum_x in [10] mathbb E[Y ~|~ X=x] mathbbP(X = x),
$$
where $[n] := 1, 2, dots, n .$ Let us first compute $mathbb E Y:$
$$
mathbb E Y = frac 110left[frac 1 + dots + 99 + dots + frac2 + dots + 109right] = frac5510 = 5.5.
$$
$$
mathbb Var Y = frac 110left[frac 1^2 + dots + 9^29 + dots + frac2^2 + dots + 10^29right] - mathbb E Y^2 = 8.25
$$
For $mathbb E XY$ we have
$$
mathbb E XY = frac110left[frac1 + 2 + dots + 109cdot 10 cdot sum_x, y in [10] setminus x y right] = 30.25.
$$
Hence,
$$
rho(X, Y) = fracmathbb Cov(X, Y)sqrtmathbb Var X mathbb Var Y = frac30.25 - 5.5^28.25 = 0.
$$
As for me, it is counterintuitive that the answer is $0$ and I suspect that there must be much simpler solution.
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
1
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
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
Assuming $X$ is uniform on $1, 2, dots, 10$ we have
$$
mathbb E X = frac1 + 2 + dots + 1010 = 5.5, quad mathbbVar X = frac1^2 + dots + 10^210 - mathbb E X^2 = 8.25.
$$
To compute the expected value of $Y$ write
$$
mathbb E Y = sum_x in [10] mathbb E[Y ~|~ X=x] mathbbP(X = x),
$$
where $[n] := 1, 2, dots, n .$ Let us first compute $mathbb E Y:$
$$
mathbb E Y = frac 110left[frac 1 + dots + 99 + dots + frac2 + dots + 109right] = frac5510 = 5.5.
$$
$$
mathbb Var Y = frac 110left[frac 1^2 + dots + 9^29 + dots + frac2^2 + dots + 10^29right] - mathbb E Y^2 = 8.25
$$
For $mathbb E XY$ we have
$$
mathbb E XY = frac110left[frac1 + 2 + dots + 109cdot 10 cdot sum_x, y in [10] setminus x y right] = 30.25.
$$
Hence,
$$
rho(X, Y) = fracmathbb Cov(X, Y)sqrtmathbb Var X mathbb Var Y = frac30.25 - 5.5^28.25 = 0.
$$
As for me, it is counterintuitive that the answer is $0$ and I suspect that there must be much simpler solution.
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
1
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
add a comment |Â
up vote
1
down vote
accepted
Assuming $X$ is uniform on $1, 2, dots, 10$ we have
$$
mathbb E X = frac1 + 2 + dots + 1010 = 5.5, quad mathbbVar X = frac1^2 + dots + 10^210 - mathbb E X^2 = 8.25.
$$
To compute the expected value of $Y$ write
$$
mathbb E Y = sum_x in [10] mathbb E[Y ~|~ X=x] mathbbP(X = x),
$$
where $[n] := 1, 2, dots, n .$ Let us first compute $mathbb E Y:$
$$
mathbb E Y = frac 110left[frac 1 + dots + 99 + dots + frac2 + dots + 109right] = frac5510 = 5.5.
$$
$$
mathbb Var Y = frac 110left[frac 1^2 + dots + 9^29 + dots + frac2^2 + dots + 10^29right] - mathbb E Y^2 = 8.25
$$
For $mathbb E XY$ we have
$$
mathbb E XY = frac110left[frac1 + 2 + dots + 109cdot 10 cdot sum_x, y in [10] setminus x y right] = 30.25.
$$
Hence,
$$
rho(X, Y) = fracmathbb Cov(X, Y)sqrtmathbb Var X mathbb Var Y = frac30.25 - 5.5^28.25 = 0.
$$
As for me, it is counterintuitive that the answer is $0$ and I suspect that there must be much simpler solution.
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
1
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Assuming $X$ is uniform on $1, 2, dots, 10$ we have
$$
mathbb E X = frac1 + 2 + dots + 1010 = 5.5, quad mathbbVar X = frac1^2 + dots + 10^210 - mathbb E X^2 = 8.25.
$$
To compute the expected value of $Y$ write
$$
mathbb E Y = sum_x in [10] mathbb E[Y ~|~ X=x] mathbbP(X = x),
$$
where $[n] := 1, 2, dots, n .$ Let us first compute $mathbb E Y:$
$$
mathbb E Y = frac 110left[frac 1 + dots + 99 + dots + frac2 + dots + 109right] = frac5510 = 5.5.
$$
$$
mathbb Var Y = frac 110left[frac 1^2 + dots + 9^29 + dots + frac2^2 + dots + 10^29right] - mathbb E Y^2 = 8.25
$$
For $mathbb E XY$ we have
$$
mathbb E XY = frac110left[frac1 + 2 + dots + 109cdot 10 cdot sum_x, y in [10] setminus x y right] = 30.25.
$$
Hence,
$$
rho(X, Y) = fracmathbb Cov(X, Y)sqrtmathbb Var X mathbb Var Y = frac30.25 - 5.5^28.25 = 0.
$$
As for me, it is counterintuitive that the answer is $0$ and I suspect that there must be much simpler solution.
Assuming $X$ is uniform on $1, 2, dots, 10$ we have
$$
mathbb E X = frac1 + 2 + dots + 1010 = 5.5, quad mathbbVar X = frac1^2 + dots + 10^210 - mathbb E X^2 = 8.25.
$$
To compute the expected value of $Y$ write
$$
mathbb E Y = sum_x in [10] mathbb E[Y ~|~ X=x] mathbbP(X = x),
$$
where $[n] := 1, 2, dots, n .$ Let us first compute $mathbb E Y:$
$$
mathbb E Y = frac 110left[frac 1 + dots + 99 + dots + frac2 + dots + 109right] = frac5510 = 5.5.
$$
$$
mathbb Var Y = frac 110left[frac 1^2 + dots + 9^29 + dots + frac2^2 + dots + 10^29right] - mathbb E Y^2 = 8.25
$$
For $mathbb E XY$ we have
$$
mathbb E XY = frac110left[frac1 + 2 + dots + 109cdot 10 cdot sum_x, y in [10] setminus x y right] = 30.25.
$$
Hence,
$$
rho(X, Y) = fracmathbb Cov(X, Y)sqrtmathbb Var X mathbb Var Y = frac30.25 - 5.5^28.25 = 0.
$$
As for me, it is counterintuitive that the answer is $0$ and I suspect that there must be much simpler solution.
answered Aug 22 at 6:16
pointguard0
1,236821
1,236821
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
1
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
add a comment |Â
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
1
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
the given answer is -1/9
â Hardik gupta
Aug 22 at 6:44
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
did you manually do all the calculations?
â Hardik gupta
Aug 22 at 6:49
1
1
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
yes, probably miscalculated something, but you got the idea
â pointguard0
Aug 22 at 8:32
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%2f2890628%2fcalculate-correlation-coefficient-for-discrete-random-variable%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
does the distribution of $X$ uniform on $1, 2, dots, 10$?
â pointguard0
Aug 22 at 5:33
yes distribution is uniform
â Hardik gupta
Aug 22 at 6:46