Apparent inconsistency in the expectation of max of IID RVs
$X_1, X_2, dots, X_n$ are $n$ IID RVs. $Z = mathrm{max}(X_1, X_2, dots, X_n)$.
Now define $I$ as follows:
$I = i$ when $X_i$ is the maximum of $X_1, X_2, dots, X_n$.
Using law of total expectation we can write
$$
E[Z] = E[E[Z|I]] = E[X_I] = E[X]
$$
This says that $Z$ and any $X_i$ have the same expectation. But it can be shown that the CDF of $Z$ is $F_X^n$. This is contradictory as it suggests that RVs with CDFs $F$ and $F^n$ for any integer $n$ have the same expectation which is false for the simple case of $U(0, 1)$ RVs.
What is wrong with the application of law of total expectation above?
probability conditional-expectation expected-value
add a comment |
$X_1, X_2, dots, X_n$ are $n$ IID RVs. $Z = mathrm{max}(X_1, X_2, dots, X_n)$.
Now define $I$ as follows:
$I = i$ when $X_i$ is the maximum of $X_1, X_2, dots, X_n$.
Using law of total expectation we can write
$$
E[Z] = E[E[Z|I]] = E[X_I] = E[X]
$$
This says that $Z$ and any $X_i$ have the same expectation. But it can be shown that the CDF of $Z$ is $F_X^n$. This is contradictory as it suggests that RVs with CDFs $F$ and $F^n$ for any integer $n$ have the same expectation which is false for the simple case of $U(0, 1)$ RVs.
What is wrong with the application of law of total expectation above?
probability conditional-expectation expected-value
add a comment |
$X_1, X_2, dots, X_n$ are $n$ IID RVs. $Z = mathrm{max}(X_1, X_2, dots, X_n)$.
Now define $I$ as follows:
$I = i$ when $X_i$ is the maximum of $X_1, X_2, dots, X_n$.
Using law of total expectation we can write
$$
E[Z] = E[E[Z|I]] = E[X_I] = E[X]
$$
This says that $Z$ and any $X_i$ have the same expectation. But it can be shown that the CDF of $Z$ is $F_X^n$. This is contradictory as it suggests that RVs with CDFs $F$ and $F^n$ for any integer $n$ have the same expectation which is false for the simple case of $U(0, 1)$ RVs.
What is wrong with the application of law of total expectation above?
probability conditional-expectation expected-value
$X_1, X_2, dots, X_n$ are $n$ IID RVs. $Z = mathrm{max}(X_1, X_2, dots, X_n)$.
Now define $I$ as follows:
$I = i$ when $X_i$ is the maximum of $X_1, X_2, dots, X_n$.
Using law of total expectation we can write
$$
E[Z] = E[E[Z|I]] = E[X_I] = E[X]
$$
This says that $Z$ and any $X_i$ have the same expectation. But it can be shown that the CDF of $Z$ is $F_X^n$. This is contradictory as it suggests that RVs with CDFs $F$ and $F^n$ for any integer $n$ have the same expectation which is false for the simple case of $U(0, 1)$ RVs.
What is wrong with the application of law of total expectation above?
probability conditional-expectation expected-value
probability conditional-expectation expected-value
asked Nov 26 '18 at 13:08
Priyatham
2,1641028
2,1641028
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The problem isn't the law of total expectation. Rather, it's the claim $mathbb{E}[X_I] = mathbb{E}[X]$ that is false, because your index is a function of all $X$s.
In fact, you can skip the law of total expectation altogether, and use the definition definition of $I$ to write $Z = X_I$ and $mathbb{E}[Z] = mathbb{E}[X_I]$.
EDIT: Here's some more details about the expectation of $X_I$. Here I use $J(I=i)$ for the indicator function as $I$ is already used.
$$mathbb{E}[X_I] = sum_{i=1}^n mathbb{E}[X_i J(I=i)]$$
Due to the symmetric setting, $I$ is uniformly distributed. If, in some other setting, $J(I=i)$ and $X_i$ were independent, we could then continue
$$sum_{i=1}^n mathbb{E}[X_i J(I=i)] = sum_{i=1}^n mathbb{E}[X_i]mathbb{P}[I=i] = frac{1}{n}sum_{i=1}^n mathbb{E}{X_i} = mathbb{E}[X]$$
However, in our problem this is not the case. $I$ is a function of $(X_1 dots X_n)$ - it's the index of the maximum. Therefore, they're highly correlated instead: The larger $X_i$ is, the more likely it is that $I=i$.
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
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%2f3014310%2fapparent-inconsistency-in-the-expectation-of-max-of-iid-rvs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem isn't the law of total expectation. Rather, it's the claim $mathbb{E}[X_I] = mathbb{E}[X]$ that is false, because your index is a function of all $X$s.
In fact, you can skip the law of total expectation altogether, and use the definition definition of $I$ to write $Z = X_I$ and $mathbb{E}[Z] = mathbb{E}[X_I]$.
EDIT: Here's some more details about the expectation of $X_I$. Here I use $J(I=i)$ for the indicator function as $I$ is already used.
$$mathbb{E}[X_I] = sum_{i=1}^n mathbb{E}[X_i J(I=i)]$$
Due to the symmetric setting, $I$ is uniformly distributed. If, in some other setting, $J(I=i)$ and $X_i$ were independent, we could then continue
$$sum_{i=1}^n mathbb{E}[X_i J(I=i)] = sum_{i=1}^n mathbb{E}[X_i]mathbb{P}[I=i] = frac{1}{n}sum_{i=1}^n mathbb{E}{X_i} = mathbb{E}[X]$$
However, in our problem this is not the case. $I$ is a function of $(X_1 dots X_n)$ - it's the index of the maximum. Therefore, they're highly correlated instead: The larger $X_i$ is, the more likely it is that $I=i$.
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
add a comment |
The problem isn't the law of total expectation. Rather, it's the claim $mathbb{E}[X_I] = mathbb{E}[X]$ that is false, because your index is a function of all $X$s.
In fact, you can skip the law of total expectation altogether, and use the definition definition of $I$ to write $Z = X_I$ and $mathbb{E}[Z] = mathbb{E}[X_I]$.
EDIT: Here's some more details about the expectation of $X_I$. Here I use $J(I=i)$ for the indicator function as $I$ is already used.
$$mathbb{E}[X_I] = sum_{i=1}^n mathbb{E}[X_i J(I=i)]$$
Due to the symmetric setting, $I$ is uniformly distributed. If, in some other setting, $J(I=i)$ and $X_i$ were independent, we could then continue
$$sum_{i=1}^n mathbb{E}[X_i J(I=i)] = sum_{i=1}^n mathbb{E}[X_i]mathbb{P}[I=i] = frac{1}{n}sum_{i=1}^n mathbb{E}{X_i} = mathbb{E}[X]$$
However, in our problem this is not the case. $I$ is a function of $(X_1 dots X_n)$ - it's the index of the maximum. Therefore, they're highly correlated instead: The larger $X_i$ is, the more likely it is that $I=i$.
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
add a comment |
The problem isn't the law of total expectation. Rather, it's the claim $mathbb{E}[X_I] = mathbb{E}[X]$ that is false, because your index is a function of all $X$s.
In fact, you can skip the law of total expectation altogether, and use the definition definition of $I$ to write $Z = X_I$ and $mathbb{E}[Z] = mathbb{E}[X_I]$.
EDIT: Here's some more details about the expectation of $X_I$. Here I use $J(I=i)$ for the indicator function as $I$ is already used.
$$mathbb{E}[X_I] = sum_{i=1}^n mathbb{E}[X_i J(I=i)]$$
Due to the symmetric setting, $I$ is uniformly distributed. If, in some other setting, $J(I=i)$ and $X_i$ were independent, we could then continue
$$sum_{i=1}^n mathbb{E}[X_i J(I=i)] = sum_{i=1}^n mathbb{E}[X_i]mathbb{P}[I=i] = frac{1}{n}sum_{i=1}^n mathbb{E}{X_i} = mathbb{E}[X]$$
However, in our problem this is not the case. $I$ is a function of $(X_1 dots X_n)$ - it's the index of the maximum. Therefore, they're highly correlated instead: The larger $X_i$ is, the more likely it is that $I=i$.
The problem isn't the law of total expectation. Rather, it's the claim $mathbb{E}[X_I] = mathbb{E}[X]$ that is false, because your index is a function of all $X$s.
In fact, you can skip the law of total expectation altogether, and use the definition definition of $I$ to write $Z = X_I$ and $mathbb{E}[Z] = mathbb{E}[X_I]$.
EDIT: Here's some more details about the expectation of $X_I$. Here I use $J(I=i)$ for the indicator function as $I$ is already used.
$$mathbb{E}[X_I] = sum_{i=1}^n mathbb{E}[X_i J(I=i)]$$
Due to the symmetric setting, $I$ is uniformly distributed. If, in some other setting, $J(I=i)$ and $X_i$ were independent, we could then continue
$$sum_{i=1}^n mathbb{E}[X_i J(I=i)] = sum_{i=1}^n mathbb{E}[X_i]mathbb{P}[I=i] = frac{1}{n}sum_{i=1}^n mathbb{E}{X_i} = mathbb{E}[X]$$
However, in our problem this is not the case. $I$ is a function of $(X_1 dots X_n)$ - it's the index of the maximum. Therefore, they're highly correlated instead: The larger $X_i$ is, the more likely it is that $I=i$.
edited Nov 26 '18 at 15:24
answered Nov 26 '18 at 13:38
Todor Markov
1,16817
1,16817
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
add a comment |
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
Since $X_1, X_2, dots$ all have identical distribution, $E[X_1] = E[X_2] = dots = E[X_n]$
– Priyatham
Nov 26 '18 at 14:39
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
@Priyatham That means $mathbb{E}[X_i] = mathbb{E}[X]$ for any constant $i$. But it's not true for a random variable $I$, or for a integer-valued function $f(X_1, dots X_n)$.
– Todor Markov
Nov 26 '18 at 14:46
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%2f3014310%2fapparent-inconsistency-in-the-expectation-of-max-of-iid-rvs%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