Conditional expectation of a random variable conditioned to another conditionally independent variable
$begingroup$
I have a two variables $X$ and $Y$ conditionally independent given a thirs variable $Z$.
Now, assume that $Z$ can take values in ${1,...,k}$.
I will have:
$$
E[XY] = sum_{i=1}^k P[Z = i]E[X|Z = i]E[Y|Z = i]
$$
Now, can I say what follows?
$$
E[X | Y] = E[X]
$$
I have a proof for this, but I am not sure:
$$
E[X | Y] = sum_{i=1}^k P[Z = i]E[X|Z = i, Y] = sum_{i=1}^k P[Z = i]E[X|Z = i] = E[X]
$$
Is this correct? If not, where am I wrong?
probability conditional-expectation
$endgroup$
add a comment |
$begingroup$
I have a two variables $X$ and $Y$ conditionally independent given a thirs variable $Z$.
Now, assume that $Z$ can take values in ${1,...,k}$.
I will have:
$$
E[XY] = sum_{i=1}^k P[Z = i]E[X|Z = i]E[Y|Z = i]
$$
Now, can I say what follows?
$$
E[X | Y] = E[X]
$$
I have a proof for this, but I am not sure:
$$
E[X | Y] = sum_{i=1}^k P[Z = i]E[X|Z = i, Y] = sum_{i=1}^k P[Z = i]E[X|Z = i] = E[X]
$$
Is this correct? If not, where am I wrong?
probability conditional-expectation
$endgroup$
1
$begingroup$
Nope, it is not correct, and to see why it is not, simply spot the step where you feel as if you were passing through some flames holding your breath (you should know which step this is).
$endgroup$
– Did
Dec 1 '18 at 16:02
$begingroup$
@Did an infallible way of assessing the soundness of proof passages :)
$endgroup$
– Easymode44
Dec 1 '18 at 17:13
$begingroup$
Related math.stackexchange.com/questions/730702/…
$endgroup$
– leonbloy
Dec 2 '18 at 20:55
add a comment |
$begingroup$
I have a two variables $X$ and $Y$ conditionally independent given a thirs variable $Z$.
Now, assume that $Z$ can take values in ${1,...,k}$.
I will have:
$$
E[XY] = sum_{i=1}^k P[Z = i]E[X|Z = i]E[Y|Z = i]
$$
Now, can I say what follows?
$$
E[X | Y] = E[X]
$$
I have a proof for this, but I am not sure:
$$
E[X | Y] = sum_{i=1}^k P[Z = i]E[X|Z = i, Y] = sum_{i=1}^k P[Z = i]E[X|Z = i] = E[X]
$$
Is this correct? If not, where am I wrong?
probability conditional-expectation
$endgroup$
I have a two variables $X$ and $Y$ conditionally independent given a thirs variable $Z$.
Now, assume that $Z$ can take values in ${1,...,k}$.
I will have:
$$
E[XY] = sum_{i=1}^k P[Z = i]E[X|Z = i]E[Y|Z = i]
$$
Now, can I say what follows?
$$
E[X | Y] = E[X]
$$
I have a proof for this, but I am not sure:
$$
E[X | Y] = sum_{i=1}^k P[Z = i]E[X|Z = i, Y] = sum_{i=1}^k P[Z = i]E[X|Z = i] = E[X]
$$
Is this correct? If not, where am I wrong?
probability conditional-expectation
probability conditional-expectation
asked Dec 1 '18 at 15:56
Ulderique DemoitreUlderique Demoitre
19810
19810
1
$begingroup$
Nope, it is not correct, and to see why it is not, simply spot the step where you feel as if you were passing through some flames holding your breath (you should know which step this is).
$endgroup$
– Did
Dec 1 '18 at 16:02
$begingroup$
@Did an infallible way of assessing the soundness of proof passages :)
$endgroup$
– Easymode44
Dec 1 '18 at 17:13
$begingroup$
Related math.stackexchange.com/questions/730702/…
$endgroup$
– leonbloy
Dec 2 '18 at 20:55
add a comment |
1
$begingroup$
Nope, it is not correct, and to see why it is not, simply spot the step where you feel as if you were passing through some flames holding your breath (you should know which step this is).
$endgroup$
– Did
Dec 1 '18 at 16:02
$begingroup$
@Did an infallible way of assessing the soundness of proof passages :)
$endgroup$
– Easymode44
Dec 1 '18 at 17:13
$begingroup$
Related math.stackexchange.com/questions/730702/…
$endgroup$
– leonbloy
Dec 2 '18 at 20:55
1
1
$begingroup$
Nope, it is not correct, and to see why it is not, simply spot the step where you feel as if you were passing through some flames holding your breath (you should know which step this is).
$endgroup$
– Did
Dec 1 '18 at 16:02
$begingroup$
Nope, it is not correct, and to see why it is not, simply spot the step where you feel as if you were passing through some flames holding your breath (you should know which step this is).
$endgroup$
– Did
Dec 1 '18 at 16:02
$begingroup$
@Did an infallible way of assessing the soundness of proof passages :)
$endgroup$
– Easymode44
Dec 1 '18 at 17:13
$begingroup$
@Did an infallible way of assessing the soundness of proof passages :)
$endgroup$
– Easymode44
Dec 1 '18 at 17:13
$begingroup$
Related math.stackexchange.com/questions/730702/…
$endgroup$
– leonbloy
Dec 2 '18 at 20:55
$begingroup$
Related math.stackexchange.com/questions/730702/…
$endgroup$
– leonbloy
Dec 2 '18 at 20:55
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
This was trickier than it looked ... to me.
It can be put in a more general-compact form thus:
Let $X,Y$ be conditionally independent given $Z$; that is, $P(X ,Y mid Z ) = P(X mid Z) P(Y mid Z)$. Then
$$E[X mid Y] = E[E[X mid Y, Z]] = E[E[X mid Z]] = E[X] tag{1}$$
where in the first and third equality we have applied total expectation (in the third to $X$, in the first to $X mid Y$), and in the second we've applied the conditional independence.
This is wrong, of course (it would imply that for any Markov chain $X to Z to Y$ the extremes $X,Y$ are uncorrelated - false in general).
The wrong equality is the first one. Because $X mid Y$ is not a random variable. Actually it's... nothing.
In your question, the first equality in your "proof" is (like my first equality in $(1)$) wrong, it's a mistaken application of the law of total expectation.
$endgroup$
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%2f3021496%2fconditional-expectation-of-a-random-variable-conditioned-to-another-conditionall%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
$begingroup$
This was trickier than it looked ... to me.
It can be put in a more general-compact form thus:
Let $X,Y$ be conditionally independent given $Z$; that is, $P(X ,Y mid Z ) = P(X mid Z) P(Y mid Z)$. Then
$$E[X mid Y] = E[E[X mid Y, Z]] = E[E[X mid Z]] = E[X] tag{1}$$
where in the first and third equality we have applied total expectation (in the third to $X$, in the first to $X mid Y$), and in the second we've applied the conditional independence.
This is wrong, of course (it would imply that for any Markov chain $X to Z to Y$ the extremes $X,Y$ are uncorrelated - false in general).
The wrong equality is the first one. Because $X mid Y$ is not a random variable. Actually it's... nothing.
In your question, the first equality in your "proof" is (like my first equality in $(1)$) wrong, it's a mistaken application of the law of total expectation.
$endgroup$
add a comment |
$begingroup$
This was trickier than it looked ... to me.
It can be put in a more general-compact form thus:
Let $X,Y$ be conditionally independent given $Z$; that is, $P(X ,Y mid Z ) = P(X mid Z) P(Y mid Z)$. Then
$$E[X mid Y] = E[E[X mid Y, Z]] = E[E[X mid Z]] = E[X] tag{1}$$
where in the first and third equality we have applied total expectation (in the third to $X$, in the first to $X mid Y$), and in the second we've applied the conditional independence.
This is wrong, of course (it would imply that for any Markov chain $X to Z to Y$ the extremes $X,Y$ are uncorrelated - false in general).
The wrong equality is the first one. Because $X mid Y$ is not a random variable. Actually it's... nothing.
In your question, the first equality in your "proof" is (like my first equality in $(1)$) wrong, it's a mistaken application of the law of total expectation.
$endgroup$
add a comment |
$begingroup$
This was trickier than it looked ... to me.
It can be put in a more general-compact form thus:
Let $X,Y$ be conditionally independent given $Z$; that is, $P(X ,Y mid Z ) = P(X mid Z) P(Y mid Z)$. Then
$$E[X mid Y] = E[E[X mid Y, Z]] = E[E[X mid Z]] = E[X] tag{1}$$
where in the first and third equality we have applied total expectation (in the third to $X$, in the first to $X mid Y$), and in the second we've applied the conditional independence.
This is wrong, of course (it would imply that for any Markov chain $X to Z to Y$ the extremes $X,Y$ are uncorrelated - false in general).
The wrong equality is the first one. Because $X mid Y$ is not a random variable. Actually it's... nothing.
In your question, the first equality in your "proof" is (like my first equality in $(1)$) wrong, it's a mistaken application of the law of total expectation.
$endgroup$
This was trickier than it looked ... to me.
It can be put in a more general-compact form thus:
Let $X,Y$ be conditionally independent given $Z$; that is, $P(X ,Y mid Z ) = P(X mid Z) P(Y mid Z)$. Then
$$E[X mid Y] = E[E[X mid Y, Z]] = E[E[X mid Z]] = E[X] tag{1}$$
where in the first and third equality we have applied total expectation (in the third to $X$, in the first to $X mid Y$), and in the second we've applied the conditional independence.
This is wrong, of course (it would imply that for any Markov chain $X to Z to Y$ the extremes $X,Y$ are uncorrelated - false in general).
The wrong equality is the first one. Because $X mid Y$ is not a random variable. Actually it's... nothing.
In your question, the first equality in your "proof" is (like my first equality in $(1)$) wrong, it's a mistaken application of the law of total expectation.
edited Dec 7 '18 at 23:15
answered Dec 2 '18 at 21:19
leonbloyleonbloy
40.5k645107
40.5k645107
add a comment |
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.
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%2f3021496%2fconditional-expectation-of-a-random-variable-conditioned-to-another-conditionall%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
1
$begingroup$
Nope, it is not correct, and to see why it is not, simply spot the step where you feel as if you were passing through some flames holding your breath (you should know which step this is).
$endgroup$
– Did
Dec 1 '18 at 16:02
$begingroup$
@Did an infallible way of assessing the soundness of proof passages :)
$endgroup$
– Easymode44
Dec 1 '18 at 17:13
$begingroup$
Related math.stackexchange.com/questions/730702/…
$endgroup$
– leonbloy
Dec 2 '18 at 20:55