Finding the Conditional Distribution of a Random Variable Given Another Random Variable of a Different...
up vote
3
down vote
favorite
This is the problem i'm currently tackling from my textbook:
Let $P$ have a uniform distribution on $[0,1]$, and, conditional on $P=p$, let $X$ have a Bernoulli distribution with parameter $p$. Find the conditional distribution of $P$ given $X$.
However, while I would be grateful for the solution to this question as a means to check when I (hopefully) finish the question. I'm more interested in the general approach to questions like these. Something of the sort: Let $X$ have a [distribution], conditional on $X=x$, let $Y$ have a [different distribution]. Find the conditional distribution of $X$ given $Y$.
Maybe i'm being too vague, but is there a general/systematic approach to these sort of questions? Like, I know that we can have it so that:
$f_{X|Y}(x|y)=frac{f_{X,Y}(x,y)}{f_Y(y)}$
but then what would you do afterwards and how would you get a solution from that? Would you just sub in the appropriate density into $f_Y(y)$, e.g. if $Y$ had an exponential distribution, would $f_Y(y)=λe^{-λy}$? And what would you do with the joint distribution?
I hope what i'm saying makes sense...please let me know if there's anything I should clarify.
probability probability-distributions conditional-probability
New contributor
add a comment |
up vote
3
down vote
favorite
This is the problem i'm currently tackling from my textbook:
Let $P$ have a uniform distribution on $[0,1]$, and, conditional on $P=p$, let $X$ have a Bernoulli distribution with parameter $p$. Find the conditional distribution of $P$ given $X$.
However, while I would be grateful for the solution to this question as a means to check when I (hopefully) finish the question. I'm more interested in the general approach to questions like these. Something of the sort: Let $X$ have a [distribution], conditional on $X=x$, let $Y$ have a [different distribution]. Find the conditional distribution of $X$ given $Y$.
Maybe i'm being too vague, but is there a general/systematic approach to these sort of questions? Like, I know that we can have it so that:
$f_{X|Y}(x|y)=frac{f_{X,Y}(x,y)}{f_Y(y)}$
but then what would you do afterwards and how would you get a solution from that? Would you just sub in the appropriate density into $f_Y(y)$, e.g. if $Y$ had an exponential distribution, would $f_Y(y)=λe^{-λy}$? And what would you do with the joint distribution?
I hope what i'm saying makes sense...please let me know if there's anything I should clarify.
probability probability-distributions conditional-probability
New contributor
This is a mix of continuous and discrete. $$f_{P|X=x}(p|X=x) = frac{P[X=x|P=p]f_P(p)}{P[X=x]}$$ and $P[X=x] = int_{-infty}^{infty} P[X=x|P=p]f_P(p)dp$
– Michael
yesterday
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
This is the problem i'm currently tackling from my textbook:
Let $P$ have a uniform distribution on $[0,1]$, and, conditional on $P=p$, let $X$ have a Bernoulli distribution with parameter $p$. Find the conditional distribution of $P$ given $X$.
However, while I would be grateful for the solution to this question as a means to check when I (hopefully) finish the question. I'm more interested in the general approach to questions like these. Something of the sort: Let $X$ have a [distribution], conditional on $X=x$, let $Y$ have a [different distribution]. Find the conditional distribution of $X$ given $Y$.
Maybe i'm being too vague, but is there a general/systematic approach to these sort of questions? Like, I know that we can have it so that:
$f_{X|Y}(x|y)=frac{f_{X,Y}(x,y)}{f_Y(y)}$
but then what would you do afterwards and how would you get a solution from that? Would you just sub in the appropriate density into $f_Y(y)$, e.g. if $Y$ had an exponential distribution, would $f_Y(y)=λe^{-λy}$? And what would you do with the joint distribution?
I hope what i'm saying makes sense...please let me know if there's anything I should clarify.
probability probability-distributions conditional-probability
New contributor
This is the problem i'm currently tackling from my textbook:
Let $P$ have a uniform distribution on $[0,1]$, and, conditional on $P=p$, let $X$ have a Bernoulli distribution with parameter $p$. Find the conditional distribution of $P$ given $X$.
However, while I would be grateful for the solution to this question as a means to check when I (hopefully) finish the question. I'm more interested in the general approach to questions like these. Something of the sort: Let $X$ have a [distribution], conditional on $X=x$, let $Y$ have a [different distribution]. Find the conditional distribution of $X$ given $Y$.
Maybe i'm being too vague, but is there a general/systematic approach to these sort of questions? Like, I know that we can have it so that:
$f_{X|Y}(x|y)=frac{f_{X,Y}(x,y)}{f_Y(y)}$
but then what would you do afterwards and how would you get a solution from that? Would you just sub in the appropriate density into $f_Y(y)$, e.g. if $Y$ had an exponential distribution, would $f_Y(y)=λe^{-λy}$? And what would you do with the joint distribution?
I hope what i'm saying makes sense...please let me know if there's anything I should clarify.
probability probability-distributions conditional-probability
probability probability-distributions conditional-probability
New contributor
New contributor
edited yesterday
user10354138
5,984522
5,984522
New contributor
asked yesterday
BoilingKettle
162
162
New contributor
New contributor
This is a mix of continuous and discrete. $$f_{P|X=x}(p|X=x) = frac{P[X=x|P=p]f_P(p)}{P[X=x]}$$ and $P[X=x] = int_{-infty}^{infty} P[X=x|P=p]f_P(p)dp$
– Michael
yesterday
add a comment |
This is a mix of continuous and discrete. $$f_{P|X=x}(p|X=x) = frac{P[X=x|P=p]f_P(p)}{P[X=x]}$$ and $P[X=x] = int_{-infty}^{infty} P[X=x|P=p]f_P(p)dp$
– Michael
yesterday
This is a mix of continuous and discrete. $$f_{P|X=x}(p|X=x) = frac{P[X=x|P=p]f_P(p)}{P[X=x]}$$ and $P[X=x] = int_{-infty}^{infty} P[X=x|P=p]f_P(p)dp$
– Michael
yesterday
This is a mix of continuous and discrete. $$f_{P|X=x}(p|X=x) = frac{P[X=x|P=p]f_P(p)}{P[X=x]}$$ and $P[X=x] = int_{-infty}^{infty} P[X=x|P=p]f_P(p)dp$
– Michael
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
We have
$$ Xsim f_X$$
and
$$ Y|X=x sim f_{Y|X}(cdot|x).$$
We want
$$ X|Y=ysim f_{X|Y}(cdot|y)=?$$We know
$$ f_{X|Y=y}(cdot|y)=frac{f_{X,Y}(cdot,y)}{f_Y(y)}.$$
It is enough to determine the joint distribution.Of (1) we have
$$ f_{X,Y}(x,cdot)= f_{Y|X=x}(cdot)f_X(x).$$
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
We have
$$ Xsim f_X$$
and
$$ Y|X=x sim f_{Y|X}(cdot|x).$$
We want
$$ X|Y=ysim f_{X|Y}(cdot|y)=?$$We know
$$ f_{X|Y=y}(cdot|y)=frac{f_{X,Y}(cdot,y)}{f_Y(y)}.$$
It is enough to determine the joint distribution.Of (1) we have
$$ f_{X,Y}(x,cdot)= f_{Y|X=x}(cdot)f_X(x).$$
add a comment |
up vote
0
down vote
We have
$$ Xsim f_X$$
and
$$ Y|X=x sim f_{Y|X}(cdot|x).$$
We want
$$ X|Y=ysim f_{X|Y}(cdot|y)=?$$We know
$$ f_{X|Y=y}(cdot|y)=frac{f_{X,Y}(cdot,y)}{f_Y(y)}.$$
It is enough to determine the joint distribution.Of (1) we have
$$ f_{X,Y}(x,cdot)= f_{Y|X=x}(cdot)f_X(x).$$
add a comment |
up vote
0
down vote
up vote
0
down vote
We have
$$ Xsim f_X$$
and
$$ Y|X=x sim f_{Y|X}(cdot|x).$$
We want
$$ X|Y=ysim f_{X|Y}(cdot|y)=?$$We know
$$ f_{X|Y=y}(cdot|y)=frac{f_{X,Y}(cdot,y)}{f_Y(y)}.$$
It is enough to determine the joint distribution.Of (1) we have
$$ f_{X,Y}(x,cdot)= f_{Y|X=x}(cdot)f_X(x).$$
We have
$$ Xsim f_X$$
and
$$ Y|X=x sim f_{Y|X}(cdot|x).$$
We want
$$ X|Y=ysim f_{X|Y}(cdot|y)=?$$We know
$$ f_{X|Y=y}(cdot|y)=frac{f_{X,Y}(cdot,y)}{f_Y(y)}.$$
It is enough to determine the joint distribution.Of (1) we have
$$ f_{X,Y}(x,cdot)= f_{Y|X=x}(cdot)f_X(x).$$
answered 1 hour ago
Daniel Camarena Perez
39718
39718
add a comment |
add a comment |
BoilingKettle is a new contributor. Be nice, and check out our Code of Conduct.
BoilingKettle is a new contributor. Be nice, and check out our Code of Conduct.
BoilingKettle is a new contributor. Be nice, and check out our Code of Conduct.
BoilingKettle is a new contributor. Be nice, and check out our Code of Conduct.
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%2f2993438%2ffinding-the-conditional-distribution-of-a-random-variable-given-another-random-v%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
This is a mix of continuous and discrete. $$f_{P|X=x}(p|X=x) = frac{P[X=x|P=p]f_P(p)}{P[X=x]}$$ and $P[X=x] = int_{-infty}^{infty} P[X=x|P=p]f_P(p)dp$
– Michael
yesterday