Correlation between a random variable and its rank
up vote
3
down vote
favorite
Let $X_1,ldots,X_n$ be a random sample from $U(0,1)$ and $X_{(1)}<ldots<X_{(n)}$ be the corresponding order statistics.
Define,
$$
R(X_1) = rquad text{if}quad X_{(r)} = X_1;quad r = 1(1)n
$$
i.e. $R(X_1)$ is the rank of $X_1$ in the ordered sample. Then what will be correlation between $X_1$ and $R(X_1)$ ?
probability correlation symmetry order-statistics
add a comment |
up vote
3
down vote
favorite
Let $X_1,ldots,X_n$ be a random sample from $U(0,1)$ and $X_{(1)}<ldots<X_{(n)}$ be the corresponding order statistics.
Define,
$$
R(X_1) = rquad text{if}quad X_{(r)} = X_1;quad r = 1(1)n
$$
i.e. $R(X_1)$ is the rank of $X_1$ in the ordered sample. Then what will be correlation between $X_1$ and $R(X_1)$ ?
probability correlation symmetry order-statistics
A more general version of this question: stats.stackexchange.com/questions/375989/…
– kjetil b halvorsen
Nov 16 at 16:32
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Let $X_1,ldots,X_n$ be a random sample from $U(0,1)$ and $X_{(1)}<ldots<X_{(n)}$ be the corresponding order statistics.
Define,
$$
R(X_1) = rquad text{if}quad X_{(r)} = X_1;quad r = 1(1)n
$$
i.e. $R(X_1)$ is the rank of $X_1$ in the ordered sample. Then what will be correlation between $X_1$ and $R(X_1)$ ?
probability correlation symmetry order-statistics
Let $X_1,ldots,X_n$ be a random sample from $U(0,1)$ and $X_{(1)}<ldots<X_{(n)}$ be the corresponding order statistics.
Define,
$$
R(X_1) = rquad text{if}quad X_{(r)} = X_1;quad r = 1(1)n
$$
i.e. $R(X_1)$ is the rank of $X_1$ in the ordered sample. Then what will be correlation between $X_1$ and $R(X_1)$ ?
probability correlation symmetry order-statistics
probability correlation symmetry order-statistics
edited Nov 23 at 15:30
kjetil b halvorsen
4,72742638
4,72742638
asked Mar 9 '16 at 9:13
Koushik
788
788
A more general version of this question: stats.stackexchange.com/questions/375989/…
– kjetil b halvorsen
Nov 16 at 16:32
add a comment |
A more general version of this question: stats.stackexchange.com/questions/375989/…
– kjetil b halvorsen
Nov 16 at 16:32
A more general version of this question: stats.stackexchange.com/questions/375989/…
– kjetil b halvorsen
Nov 16 at 16:32
A more general version of this question: stats.stackexchange.com/questions/375989/…
– kjetil b halvorsen
Nov 16 at 16:32
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
A generalization of the problem statement is that $X_1, dotsc,X_n$ is exchangeable. Then we will also get $R_1, dotsc, R_n$ is exchangeable, and even the bivariate vectors
$$
left( (begin{smallmatrix} X_1\R_1end{smallmatrix}), dotsc, (begin{smallmatrix} X_n\R_nend{smallmatrix}) right)
$$ is exchangeable. Let $mu$ be the common mean of the $X_j$. The common mean of the $R_j$ is $(n+1)/2$. By exchangeability we have that $DeclareMathOperator{E}{mathbb{E}} E X_1 R(X_1) =E X_j R(X_j)$ for $j=1, dotsc,n$. Then we find
$$
E X_1 R(X_1) =frac1{n}sum_{j=1}^n E X_j R(X_j) = \
frac1{n}sum_j X_{(j)} R(X_{(j)}) =frac1{n}sum_j E X_{(j)} j =\
frac1{n} E sum_j j X_j=frac1{n} mu sum_j j =\
frac{n(n+1)mu}{2 n}=frac{mu (n+1)}{2}
$$
and then it follows fast that the correlation is zero, under much greater generality than in the question.
add a comment |
up vote
-2
down vote
begin{align}
E[X_1R(X_1)]=frac1nsum_{r=1}^nrfrac{int_0^1xx^{r-1}(1-x)^{n-r}mathrm dx}{int_0^1x^{r-1}(1-x)^{n-r}mathrm dx}=frac1nsum_{r=1}^nfrac{r^2}{n+1}=frac{2n+1}6;,
end{align}
so with $E[X_1]=frac12$ and $E[R(X_1)]=frac{n+1}2$ we have
$$
operatorname{Cov}(X_1,R(X_1))=frac{2n+1}6-frac12cdotfrac{n+1}2=frac{n-1}{12};.
$$
With $operatorname{Var}(X_1)=frac1{12}$ and $operatorname{Var}(R(X_1))=frac{n^2-1}{12}$ the correlation coefficient is
$$
frac{n-1}{sqrt{n^2-1}}=sqrt{frac{n-1}{n+1}}=sqrt{1-frac2{n+1}};.
$$
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1689769%2fcorrelation-between-a-random-variable-and-its-rank%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
A generalization of the problem statement is that $X_1, dotsc,X_n$ is exchangeable. Then we will also get $R_1, dotsc, R_n$ is exchangeable, and even the bivariate vectors
$$
left( (begin{smallmatrix} X_1\R_1end{smallmatrix}), dotsc, (begin{smallmatrix} X_n\R_nend{smallmatrix}) right)
$$ is exchangeable. Let $mu$ be the common mean of the $X_j$. The common mean of the $R_j$ is $(n+1)/2$. By exchangeability we have that $DeclareMathOperator{E}{mathbb{E}} E X_1 R(X_1) =E X_j R(X_j)$ for $j=1, dotsc,n$. Then we find
$$
E X_1 R(X_1) =frac1{n}sum_{j=1}^n E X_j R(X_j) = \
frac1{n}sum_j X_{(j)} R(X_{(j)}) =frac1{n}sum_j E X_{(j)} j =\
frac1{n} E sum_j j X_j=frac1{n} mu sum_j j =\
frac{n(n+1)mu}{2 n}=frac{mu (n+1)}{2}
$$
and then it follows fast that the correlation is zero, under much greater generality than in the question.
add a comment |
up vote
1
down vote
A generalization of the problem statement is that $X_1, dotsc,X_n$ is exchangeable. Then we will also get $R_1, dotsc, R_n$ is exchangeable, and even the bivariate vectors
$$
left( (begin{smallmatrix} X_1\R_1end{smallmatrix}), dotsc, (begin{smallmatrix} X_n\R_nend{smallmatrix}) right)
$$ is exchangeable. Let $mu$ be the common mean of the $X_j$. The common mean of the $R_j$ is $(n+1)/2$. By exchangeability we have that $DeclareMathOperator{E}{mathbb{E}} E X_1 R(X_1) =E X_j R(X_j)$ for $j=1, dotsc,n$. Then we find
$$
E X_1 R(X_1) =frac1{n}sum_{j=1}^n E X_j R(X_j) = \
frac1{n}sum_j X_{(j)} R(X_{(j)}) =frac1{n}sum_j E X_{(j)} j =\
frac1{n} E sum_j j X_j=frac1{n} mu sum_j j =\
frac{n(n+1)mu}{2 n}=frac{mu (n+1)}{2}
$$
and then it follows fast that the correlation is zero, under much greater generality than in the question.
add a comment |
up vote
1
down vote
up vote
1
down vote
A generalization of the problem statement is that $X_1, dotsc,X_n$ is exchangeable. Then we will also get $R_1, dotsc, R_n$ is exchangeable, and even the bivariate vectors
$$
left( (begin{smallmatrix} X_1\R_1end{smallmatrix}), dotsc, (begin{smallmatrix} X_n\R_nend{smallmatrix}) right)
$$ is exchangeable. Let $mu$ be the common mean of the $X_j$. The common mean of the $R_j$ is $(n+1)/2$. By exchangeability we have that $DeclareMathOperator{E}{mathbb{E}} E X_1 R(X_1) =E X_j R(X_j)$ for $j=1, dotsc,n$. Then we find
$$
E X_1 R(X_1) =frac1{n}sum_{j=1}^n E X_j R(X_j) = \
frac1{n}sum_j X_{(j)} R(X_{(j)}) =frac1{n}sum_j E X_{(j)} j =\
frac1{n} E sum_j j X_j=frac1{n} mu sum_j j =\
frac{n(n+1)mu}{2 n}=frac{mu (n+1)}{2}
$$
and then it follows fast that the correlation is zero, under much greater generality than in the question.
A generalization of the problem statement is that $X_1, dotsc,X_n$ is exchangeable. Then we will also get $R_1, dotsc, R_n$ is exchangeable, and even the bivariate vectors
$$
left( (begin{smallmatrix} X_1\R_1end{smallmatrix}), dotsc, (begin{smallmatrix} X_n\R_nend{smallmatrix}) right)
$$ is exchangeable. Let $mu$ be the common mean of the $X_j$. The common mean of the $R_j$ is $(n+1)/2$. By exchangeability we have that $DeclareMathOperator{E}{mathbb{E}} E X_1 R(X_1) =E X_j R(X_j)$ for $j=1, dotsc,n$. Then we find
$$
E X_1 R(X_1) =frac1{n}sum_{j=1}^n E X_j R(X_j) = \
frac1{n}sum_j X_{(j)} R(X_{(j)}) =frac1{n}sum_j E X_{(j)} j =\
frac1{n} E sum_j j X_j=frac1{n} mu sum_j j =\
frac{n(n+1)mu}{2 n}=frac{mu (n+1)}{2}
$$
and then it follows fast that the correlation is zero, under much greater generality than in the question.
answered Nov 23 at 11:48
kjetil b halvorsen
4,72742638
4,72742638
add a comment |
add a comment |
up vote
-2
down vote
begin{align}
E[X_1R(X_1)]=frac1nsum_{r=1}^nrfrac{int_0^1xx^{r-1}(1-x)^{n-r}mathrm dx}{int_0^1x^{r-1}(1-x)^{n-r}mathrm dx}=frac1nsum_{r=1}^nfrac{r^2}{n+1}=frac{2n+1}6;,
end{align}
so with $E[X_1]=frac12$ and $E[R(X_1)]=frac{n+1}2$ we have
$$
operatorname{Cov}(X_1,R(X_1))=frac{2n+1}6-frac12cdotfrac{n+1}2=frac{n-1}{12};.
$$
With $operatorname{Var}(X_1)=frac1{12}$ and $operatorname{Var}(R(X_1))=frac{n^2-1}{12}$ the correlation coefficient is
$$
frac{n-1}{sqrt{n^2-1}}=sqrt{frac{n-1}{n+1}}=sqrt{1-frac2{n+1}};.
$$
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
add a comment |
up vote
-2
down vote
begin{align}
E[X_1R(X_1)]=frac1nsum_{r=1}^nrfrac{int_0^1xx^{r-1}(1-x)^{n-r}mathrm dx}{int_0^1x^{r-1}(1-x)^{n-r}mathrm dx}=frac1nsum_{r=1}^nfrac{r^2}{n+1}=frac{2n+1}6;,
end{align}
so with $E[X_1]=frac12$ and $E[R(X_1)]=frac{n+1}2$ we have
$$
operatorname{Cov}(X_1,R(X_1))=frac{2n+1}6-frac12cdotfrac{n+1}2=frac{n-1}{12};.
$$
With $operatorname{Var}(X_1)=frac1{12}$ and $operatorname{Var}(R(X_1))=frac{n^2-1}{12}$ the correlation coefficient is
$$
frac{n-1}{sqrt{n^2-1}}=sqrt{frac{n-1}{n+1}}=sqrt{1-frac2{n+1}};.
$$
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
add a comment |
up vote
-2
down vote
up vote
-2
down vote
begin{align}
E[X_1R(X_1)]=frac1nsum_{r=1}^nrfrac{int_0^1xx^{r-1}(1-x)^{n-r}mathrm dx}{int_0^1x^{r-1}(1-x)^{n-r}mathrm dx}=frac1nsum_{r=1}^nfrac{r^2}{n+1}=frac{2n+1}6;,
end{align}
so with $E[X_1]=frac12$ and $E[R(X_1)]=frac{n+1}2$ we have
$$
operatorname{Cov}(X_1,R(X_1))=frac{2n+1}6-frac12cdotfrac{n+1}2=frac{n-1}{12};.
$$
With $operatorname{Var}(X_1)=frac1{12}$ and $operatorname{Var}(R(X_1))=frac{n^2-1}{12}$ the correlation coefficient is
$$
frac{n-1}{sqrt{n^2-1}}=sqrt{frac{n-1}{n+1}}=sqrt{1-frac2{n+1}};.
$$
begin{align}
E[X_1R(X_1)]=frac1nsum_{r=1}^nrfrac{int_0^1xx^{r-1}(1-x)^{n-r}mathrm dx}{int_0^1x^{r-1}(1-x)^{n-r}mathrm dx}=frac1nsum_{r=1}^nfrac{r^2}{n+1}=frac{2n+1}6;,
end{align}
so with $E[X_1]=frac12$ and $E[R(X_1)]=frac{n+1}2$ we have
$$
operatorname{Cov}(X_1,R(X_1))=frac{2n+1}6-frac12cdotfrac{n+1}2=frac{n-1}{12};.
$$
With $operatorname{Var}(X_1)=frac1{12}$ and $operatorname{Var}(R(X_1))=frac{n^2-1}{12}$ the correlation coefficient is
$$
frac{n-1}{sqrt{n^2-1}}=sqrt{frac{n-1}{n+1}}=sqrt{1-frac2{n+1}};.
$$
answered Mar 9 '16 at 9:33
joriki
170k10183342
170k10183342
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
add a comment |
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
This cannot be correct, take the limit $n toinfty$ the correlation becomes 1.
– kjetil b halvorsen
Nov 16 at 16:30
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1689769%2fcorrelation-between-a-random-variable-and-its-rank%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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
A more general version of this question: stats.stackexchange.com/questions/375989/…
– kjetil b halvorsen
Nov 16 at 16:32