$(X|Y=y)sim N(y,y^2)$, $Ysim U[3,9]$. Find $Var(X).$ The Next CEO of Stack OverflowWhen is $mboxVar(X|mathbf Y = mathbf y) < mboxVar(X)$ for all $mathbf y$?Calculate conditional expected value$Xsimmathcal N(0,1); Y = sqrt$; find $f_Y(y)$Variance of Random Exponential VariablesProperty of conditional expectations$operatorname Var[e^Z-X]$ where $X ~ operatornameExp(1)$ and $P(Z = 1) = P(Z = -1) = frac12$Need counter-examples to disprove “mean independence implies variance independence” and “ variance independence implies mean independence”Show that if $XsimtextPois(theta)$, then $I(theta;X) = 1/theta$.Convergence of sum of Bernoulli random variables $X_ksim textBernoullileft(fracpkright)$$Var(f(X))$ when $Var(X)to 0$
How to unfasten electrical subpanel attached with ramset
Simplify trigonometric expression using trigonometric identities
Is it possible to create a QR code using text?
Gauss' Posthumous Publications?
How do I keep Mac Emacs from trapping M-`?
Compilation of a 2d array and a 1d array
Can a PhD from a non-TU9 German university become a professor in a TU9 university?
Is it possible to make a 9x9 table fit within the default margins?
Direct Implications Between USA and UK in Event of No-Deal Brexit
Shortening a title without changing its meaning
Does the Idaho Potato Commission associate potato skins with healthy eating?
It it possible to avoid kiwi.com's automatic online check-in and instead do it manually by yourself?
How to show a landlord what we have in savings?
How to find if SQL server backup is encrypted with TDE without restoring the backup
Variance of Monte Carlo integration with importance sampling
Strange use of "whether ... than ..." in official text
Free fall ellipse or parabola?
Find a path from s to t using as few red nodes as possible
What are the unusually-enlarged wing sections on this P-38 Lightning?
Cannot restore registry to default in Windows 10?
Why was Sir Cadogan fired?
Is it OK to decorate a log book cover?
Is a linearly independent set whose span is dense a Schauder basis?
Prodigo = pro + ago?
$(X|Y=y)sim N(y,y^2)$, $Ysim U[3,9]$. Find $Var(X).$
The Next CEO of Stack OverflowWhen is $mboxVar(X|mathbf Y = mathbf y) < mboxVar(X)$ for all $mathbf y$?Calculate conditional expected value$Xsimmathcal N(0,1); Y = sqrt$; find $f_Y(y)$Variance of Random Exponential VariablesProperty of conditional expectations$operatorname Var[e^Z-X]$ where $X ~ operatornameExp(1)$ and $P(Z = 1) = P(Z = -1) = frac12$Need counter-examples to disprove “mean independence implies variance independence” and “ variance independence implies mean independence”Show that if $XsimtextPois(theta)$, then $I(theta;X) = 1/theta$.Convergence of sum of Bernoulli random variables $X_ksim textBernoullileft(fracpkright)$$Var(f(X))$ when $Var(X)to 0$
$begingroup$
$(X|Y=y)sim N(y,y^2)$, $Ysim U[3,9]$, where $N(y,y^2)$ is a normal distribution with mean $y$ and variance $y^2$, $U[3,9]$ is a uniform distribution on $[3,9].$
On this condition, find $Var(X).$
My attempt:
Use the law of total variance : $Var(X) = E(Var(X|Y))+Var(E(X|Y)).$
Since $(X|Y=y)sim N(y,y^2)$, $E(X|Y)=Y$ and $Var(X|Y)=Y^2$ (?)
Plug them into the law : $Var(X)=E(Y^2)+Var(Y).$
Since $Ysim U[3,9]implies Var(Y)=frac(9-3)^212=3, E(Y)=frac9+32=6implies E(Y^2)=Var(Y)+E(Y)^2=3+6^2=39.$
$implies Var(X)=39+3=42.$
The thing is, I'm not sure about the part I marked with (?).
I'm comfortable with saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y=y)=y, Var(X|Y=y)=y^2$ because it's just what it is.
But I don't quite feel right about saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y)=Y, Var(X|Y)=Y^2$, because $y$ is just a number and $Y$ is a random variable. (and of course $E(X|Y=y)$ and $E(X|Y)$ are different things, I guess)
Actually my answer is correct, and it makes me feel more uncomfortable since I don't know what exactly I'm doing right now.
More specifically, I know by the definition that $E(X|Y=y)=int xfracf(x,y)f_Y(y)dx$, but not sure what $E(X|Y)$ means. Is $E(X|Y)=int xfracf(x,Y)f_Y(Y)dx$ a valid expression? But does $f(x,Y)$ make sense? And what's the relationship between $(X|Y=y)$ and $X|Y$? The right side of $|$ symbol only affects to the PDF?
I want to know what I'm doing. Any help would be appreciated.
probability probability-theory random-variables conditional-expectation conditional-probability
$endgroup$
add a comment |
$begingroup$
$(X|Y=y)sim N(y,y^2)$, $Ysim U[3,9]$, where $N(y,y^2)$ is a normal distribution with mean $y$ and variance $y^2$, $U[3,9]$ is a uniform distribution on $[3,9].$
On this condition, find $Var(X).$
My attempt:
Use the law of total variance : $Var(X) = E(Var(X|Y))+Var(E(X|Y)).$
Since $(X|Y=y)sim N(y,y^2)$, $E(X|Y)=Y$ and $Var(X|Y)=Y^2$ (?)
Plug them into the law : $Var(X)=E(Y^2)+Var(Y).$
Since $Ysim U[3,9]implies Var(Y)=frac(9-3)^212=3, E(Y)=frac9+32=6implies E(Y^2)=Var(Y)+E(Y)^2=3+6^2=39.$
$implies Var(X)=39+3=42.$
The thing is, I'm not sure about the part I marked with (?).
I'm comfortable with saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y=y)=y, Var(X|Y=y)=y^2$ because it's just what it is.
But I don't quite feel right about saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y)=Y, Var(X|Y)=Y^2$, because $y$ is just a number and $Y$ is a random variable. (and of course $E(X|Y=y)$ and $E(X|Y)$ are different things, I guess)
Actually my answer is correct, and it makes me feel more uncomfortable since I don't know what exactly I'm doing right now.
More specifically, I know by the definition that $E(X|Y=y)=int xfracf(x,y)f_Y(y)dx$, but not sure what $E(X|Y)$ means. Is $E(X|Y)=int xfracf(x,Y)f_Y(Y)dx$ a valid expression? But does $f(x,Y)$ make sense? And what's the relationship between $(X|Y=y)$ and $X|Y$? The right side of $|$ symbol only affects to the PDF?
I want to know what I'm doing. Any help would be appreciated.
probability probability-theory random-variables conditional-expectation conditional-probability
$endgroup$
add a comment |
$begingroup$
$(X|Y=y)sim N(y,y^2)$, $Ysim U[3,9]$, where $N(y,y^2)$ is a normal distribution with mean $y$ and variance $y^2$, $U[3,9]$ is a uniform distribution on $[3,9].$
On this condition, find $Var(X).$
My attempt:
Use the law of total variance : $Var(X) = E(Var(X|Y))+Var(E(X|Y)).$
Since $(X|Y=y)sim N(y,y^2)$, $E(X|Y)=Y$ and $Var(X|Y)=Y^2$ (?)
Plug them into the law : $Var(X)=E(Y^2)+Var(Y).$
Since $Ysim U[3,9]implies Var(Y)=frac(9-3)^212=3, E(Y)=frac9+32=6implies E(Y^2)=Var(Y)+E(Y)^2=3+6^2=39.$
$implies Var(X)=39+3=42.$
The thing is, I'm not sure about the part I marked with (?).
I'm comfortable with saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y=y)=y, Var(X|Y=y)=y^2$ because it's just what it is.
But I don't quite feel right about saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y)=Y, Var(X|Y)=Y^2$, because $y$ is just a number and $Y$ is a random variable. (and of course $E(X|Y=y)$ and $E(X|Y)$ are different things, I guess)
Actually my answer is correct, and it makes me feel more uncomfortable since I don't know what exactly I'm doing right now.
More specifically, I know by the definition that $E(X|Y=y)=int xfracf(x,y)f_Y(y)dx$, but not sure what $E(X|Y)$ means. Is $E(X|Y)=int xfracf(x,Y)f_Y(Y)dx$ a valid expression? But does $f(x,Y)$ make sense? And what's the relationship between $(X|Y=y)$ and $X|Y$? The right side of $|$ symbol only affects to the PDF?
I want to know what I'm doing. Any help would be appreciated.
probability probability-theory random-variables conditional-expectation conditional-probability
$endgroup$
$(X|Y=y)sim N(y,y^2)$, $Ysim U[3,9]$, where $N(y,y^2)$ is a normal distribution with mean $y$ and variance $y^2$, $U[3,9]$ is a uniform distribution on $[3,9].$
On this condition, find $Var(X).$
My attempt:
Use the law of total variance : $Var(X) = E(Var(X|Y))+Var(E(X|Y)).$
Since $(X|Y=y)sim N(y,y^2)$, $E(X|Y)=Y$ and $Var(X|Y)=Y^2$ (?)
Plug them into the law : $Var(X)=E(Y^2)+Var(Y).$
Since $Ysim U[3,9]implies Var(Y)=frac(9-3)^212=3, E(Y)=frac9+32=6implies E(Y^2)=Var(Y)+E(Y)^2=3+6^2=39.$
$implies Var(X)=39+3=42.$
The thing is, I'm not sure about the part I marked with (?).
I'm comfortable with saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y=y)=y, Var(X|Y=y)=y^2$ because it's just what it is.
But I don't quite feel right about saying that $(X|Y=y)sim N(y,y^2)implies E(X|Y)=Y, Var(X|Y)=Y^2$, because $y$ is just a number and $Y$ is a random variable. (and of course $E(X|Y=y)$ and $E(X|Y)$ are different things, I guess)
Actually my answer is correct, and it makes me feel more uncomfortable since I don't know what exactly I'm doing right now.
More specifically, I know by the definition that $E(X|Y=y)=int xfracf(x,y)f_Y(y)dx$, but not sure what $E(X|Y)$ means. Is $E(X|Y)=int xfracf(x,Y)f_Y(Y)dx$ a valid expression? But does $f(x,Y)$ make sense? And what's the relationship between $(X|Y=y)$ and $X|Y$? The right side of $|$ symbol only affects to the PDF?
I want to know what I'm doing. Any help would be appreciated.
probability probability-theory random-variables conditional-expectation conditional-probability
probability probability-theory random-variables conditional-expectation conditional-probability
asked Mar 20 at 7:48
user642721user642721
735
735
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Your calculation and reasoning are correct.
The conditional distribution of $X$ given $Y$ is normal with mean $Y$ and variance $Y^2$; so by construction, what this means is $$operatornameVar[X mid Y] = Y^2.$$ In fact, the property that $X mid Y$ is normally distributed is not relevant to the total variance calculation. So long as $X mid Y$ is a random variable whose mean is $Y$ and variance $Y^2$, you will get the same result for $operatornameVar[X]$.
I am a bit puzzled as to why you accept $operatornameE[X mid Y = y] = y$, yet not $operatornameE[X mid Y] = Y$. The latter has simply replaced a deterministic variable with a random one. The result is that the moment is itself a random variable. So when we write something like $operatornameVar[X mid Y]$, we are talking about a random variable that is a function of the random variable $Y$. For example, $W = Y^2$ is also a function of the random variable $Y$. I could even write something like $$int_x=0^infty Y x^2 e^-Y x , dx$$ and this is a random variable that is a function of $Y$. In fact, it is $$operatornameE[X^2 mid Y]$$ when $X mid Y sim operatornameExponential(Y)$ where $Y$ is a rate parameter. So long as $Y ge 0$ this integral and the resulting conditional expectation, is well-defined.
$endgroup$
add a comment |
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%2f3155137%2fxy-y-sim-ny-y2-y-sim-u3-9-find-varx%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$
Your calculation and reasoning are correct.
The conditional distribution of $X$ given $Y$ is normal with mean $Y$ and variance $Y^2$; so by construction, what this means is $$operatornameVar[X mid Y] = Y^2.$$ In fact, the property that $X mid Y$ is normally distributed is not relevant to the total variance calculation. So long as $X mid Y$ is a random variable whose mean is $Y$ and variance $Y^2$, you will get the same result for $operatornameVar[X]$.
I am a bit puzzled as to why you accept $operatornameE[X mid Y = y] = y$, yet not $operatornameE[X mid Y] = Y$. The latter has simply replaced a deterministic variable with a random one. The result is that the moment is itself a random variable. So when we write something like $operatornameVar[X mid Y]$, we are talking about a random variable that is a function of the random variable $Y$. For example, $W = Y^2$ is also a function of the random variable $Y$. I could even write something like $$int_x=0^infty Y x^2 e^-Y x , dx$$ and this is a random variable that is a function of $Y$. In fact, it is $$operatornameE[X^2 mid Y]$$ when $X mid Y sim operatornameExponential(Y)$ where $Y$ is a rate parameter. So long as $Y ge 0$ this integral and the resulting conditional expectation, is well-defined.
$endgroup$
add a comment |
$begingroup$
Your calculation and reasoning are correct.
The conditional distribution of $X$ given $Y$ is normal with mean $Y$ and variance $Y^2$; so by construction, what this means is $$operatornameVar[X mid Y] = Y^2.$$ In fact, the property that $X mid Y$ is normally distributed is not relevant to the total variance calculation. So long as $X mid Y$ is a random variable whose mean is $Y$ and variance $Y^2$, you will get the same result for $operatornameVar[X]$.
I am a bit puzzled as to why you accept $operatornameE[X mid Y = y] = y$, yet not $operatornameE[X mid Y] = Y$. The latter has simply replaced a deterministic variable with a random one. The result is that the moment is itself a random variable. So when we write something like $operatornameVar[X mid Y]$, we are talking about a random variable that is a function of the random variable $Y$. For example, $W = Y^2$ is also a function of the random variable $Y$. I could even write something like $$int_x=0^infty Y x^2 e^-Y x , dx$$ and this is a random variable that is a function of $Y$. In fact, it is $$operatornameE[X^2 mid Y]$$ when $X mid Y sim operatornameExponential(Y)$ where $Y$ is a rate parameter. So long as $Y ge 0$ this integral and the resulting conditional expectation, is well-defined.
$endgroup$
add a comment |
$begingroup$
Your calculation and reasoning are correct.
The conditional distribution of $X$ given $Y$ is normal with mean $Y$ and variance $Y^2$; so by construction, what this means is $$operatornameVar[X mid Y] = Y^2.$$ In fact, the property that $X mid Y$ is normally distributed is not relevant to the total variance calculation. So long as $X mid Y$ is a random variable whose mean is $Y$ and variance $Y^2$, you will get the same result for $operatornameVar[X]$.
I am a bit puzzled as to why you accept $operatornameE[X mid Y = y] = y$, yet not $operatornameE[X mid Y] = Y$. The latter has simply replaced a deterministic variable with a random one. The result is that the moment is itself a random variable. So when we write something like $operatornameVar[X mid Y]$, we are talking about a random variable that is a function of the random variable $Y$. For example, $W = Y^2$ is also a function of the random variable $Y$. I could even write something like $$int_x=0^infty Y x^2 e^-Y x , dx$$ and this is a random variable that is a function of $Y$. In fact, it is $$operatornameE[X^2 mid Y]$$ when $X mid Y sim operatornameExponential(Y)$ where $Y$ is a rate parameter. So long as $Y ge 0$ this integral and the resulting conditional expectation, is well-defined.
$endgroup$
Your calculation and reasoning are correct.
The conditional distribution of $X$ given $Y$ is normal with mean $Y$ and variance $Y^2$; so by construction, what this means is $$operatornameVar[X mid Y] = Y^2.$$ In fact, the property that $X mid Y$ is normally distributed is not relevant to the total variance calculation. So long as $X mid Y$ is a random variable whose mean is $Y$ and variance $Y^2$, you will get the same result for $operatornameVar[X]$.
I am a bit puzzled as to why you accept $operatornameE[X mid Y = y] = y$, yet not $operatornameE[X mid Y] = Y$. The latter has simply replaced a deterministic variable with a random one. The result is that the moment is itself a random variable. So when we write something like $operatornameVar[X mid Y]$, we are talking about a random variable that is a function of the random variable $Y$. For example, $W = Y^2$ is also a function of the random variable $Y$. I could even write something like $$int_x=0^infty Y x^2 e^-Y x , dx$$ and this is a random variable that is a function of $Y$. In fact, it is $$operatornameE[X^2 mid Y]$$ when $X mid Y sim operatornameExponential(Y)$ where $Y$ is a rate parameter. So long as $Y ge 0$ this integral and the resulting conditional expectation, is well-defined.
answered Mar 20 at 7:59
heropupheropup
64.8k764103
64.8k764103
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%2f3155137%2fxy-y-sim-ny-y2-y-sim-u3-9-find-varx%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
