Conditional probability integration
$begingroup$
Suppose I would like to compute the probability
$hat{p} :=P(max{XY-1,0} > 0, Y in [3,5])$ where $X sim U(-1,1)$ and $Y sim U(-5,5)$ are independent.
To do this first, I considered
$$
hat{p} = P(max{XY-1,0} > 0 | Y in [3, 5])P(Yin [3,5])
$$
Note that $P(Yin [3,5]) = 2/10 = 1/5$.
However, the resulting probability is a function of $Y$, not a number;
$$
P(max{XY-1,0} > 0 | Y in [3, 5]) = P(X > 1/Y | Y in [3, 5]) = (1-1/Y)cdot mathcal{I}_{[3,5]}(Y)
$$
where $mathcal{I}_A(x)$ is an indicator function.
It seems that I can obtain the answer by integrating $Y$, i.e,
$$
hat{p} = P(Yin [3,5]) E_Y[P(max{XY-1,0} > 0 | Y in [3, 5])]
$$
which gives
$$
hat{p} = frac{1}{5}int_{3}^5 (1-1/Y)frac{dy}{10}.
$$
However this seems strange to me as the conditional probability should satisfy
$$
P(Acap B) = P(A|B)P(B)
$$
without integration.
I know that the conditional expectation satisfies
$$
E_Y[E[XY|Y=y]] = E_Y[yE[X|Y=y]] = E[XY].
$$
and it seems that it is highly related to the answer for my question.
However, I am sure how exactly these are related.
Any comments/suggestions/answers will be very appreciated. Thank you.
probability conditional-expectation conditional-probability
$endgroup$
add a comment |
$begingroup$
Suppose I would like to compute the probability
$hat{p} :=P(max{XY-1,0} > 0, Y in [3,5])$ where $X sim U(-1,1)$ and $Y sim U(-5,5)$ are independent.
To do this first, I considered
$$
hat{p} = P(max{XY-1,0} > 0 | Y in [3, 5])P(Yin [3,5])
$$
Note that $P(Yin [3,5]) = 2/10 = 1/5$.
However, the resulting probability is a function of $Y$, not a number;
$$
P(max{XY-1,0} > 0 | Y in [3, 5]) = P(X > 1/Y | Y in [3, 5]) = (1-1/Y)cdot mathcal{I}_{[3,5]}(Y)
$$
where $mathcal{I}_A(x)$ is an indicator function.
It seems that I can obtain the answer by integrating $Y$, i.e,
$$
hat{p} = P(Yin [3,5]) E_Y[P(max{XY-1,0} > 0 | Y in [3, 5])]
$$
which gives
$$
hat{p} = frac{1}{5}int_{3}^5 (1-1/Y)frac{dy}{10}.
$$
However this seems strange to me as the conditional probability should satisfy
$$
P(Acap B) = P(A|B)P(B)
$$
without integration.
I know that the conditional expectation satisfies
$$
E_Y[E[XY|Y=y]] = E_Y[yE[X|Y=y]] = E[XY].
$$
and it seems that it is highly related to the answer for my question.
However, I am sure how exactly these are related.
Any comments/suggestions/answers will be very appreciated. Thank you.
probability conditional-expectation conditional-probability
$endgroup$
$begingroup$
Your expression for $hat p$ is precisely $mathbb P(Acap B) = mathbb P(Amid B)mathbb P(B)$ where the event $A$ is $XY gt 1$ i.e. $max{XY-1,0} > 0$, and the event $B$ is $Yin [3,5]$. You will not be able to avoid integrating the $frac1y$ term when finding $mathbb P(Amid B)$
$endgroup$
– Henry
Dec 14 '18 at 23:05
add a comment |
$begingroup$
Suppose I would like to compute the probability
$hat{p} :=P(max{XY-1,0} > 0, Y in [3,5])$ where $X sim U(-1,1)$ and $Y sim U(-5,5)$ are independent.
To do this first, I considered
$$
hat{p} = P(max{XY-1,0} > 0 | Y in [3, 5])P(Yin [3,5])
$$
Note that $P(Yin [3,5]) = 2/10 = 1/5$.
However, the resulting probability is a function of $Y$, not a number;
$$
P(max{XY-1,0} > 0 | Y in [3, 5]) = P(X > 1/Y | Y in [3, 5]) = (1-1/Y)cdot mathcal{I}_{[3,5]}(Y)
$$
where $mathcal{I}_A(x)$ is an indicator function.
It seems that I can obtain the answer by integrating $Y$, i.e,
$$
hat{p} = P(Yin [3,5]) E_Y[P(max{XY-1,0} > 0 | Y in [3, 5])]
$$
which gives
$$
hat{p} = frac{1}{5}int_{3}^5 (1-1/Y)frac{dy}{10}.
$$
However this seems strange to me as the conditional probability should satisfy
$$
P(Acap B) = P(A|B)P(B)
$$
without integration.
I know that the conditional expectation satisfies
$$
E_Y[E[XY|Y=y]] = E_Y[yE[X|Y=y]] = E[XY].
$$
and it seems that it is highly related to the answer for my question.
However, I am sure how exactly these are related.
Any comments/suggestions/answers will be very appreciated. Thank you.
probability conditional-expectation conditional-probability
$endgroup$
Suppose I would like to compute the probability
$hat{p} :=P(max{XY-1,0} > 0, Y in [3,5])$ where $X sim U(-1,1)$ and $Y sim U(-5,5)$ are independent.
To do this first, I considered
$$
hat{p} = P(max{XY-1,0} > 0 | Y in [3, 5])P(Yin [3,5])
$$
Note that $P(Yin [3,5]) = 2/10 = 1/5$.
However, the resulting probability is a function of $Y$, not a number;
$$
P(max{XY-1,0} > 0 | Y in [3, 5]) = P(X > 1/Y | Y in [3, 5]) = (1-1/Y)cdot mathcal{I}_{[3,5]}(Y)
$$
where $mathcal{I}_A(x)$ is an indicator function.
It seems that I can obtain the answer by integrating $Y$, i.e,
$$
hat{p} = P(Yin [3,5]) E_Y[P(max{XY-1,0} > 0 | Y in [3, 5])]
$$
which gives
$$
hat{p} = frac{1}{5}int_{3}^5 (1-1/Y)frac{dy}{10}.
$$
However this seems strange to me as the conditional probability should satisfy
$$
P(Acap B) = P(A|B)P(B)
$$
without integration.
I know that the conditional expectation satisfies
$$
E_Y[E[XY|Y=y]] = E_Y[yE[X|Y=y]] = E[XY].
$$
and it seems that it is highly related to the answer for my question.
However, I am sure how exactly these are related.
Any comments/suggestions/answers will be very appreciated. Thank you.
probability conditional-expectation conditional-probability
probability conditional-expectation conditional-probability
edited Dec 16 '18 at 23:32
induction601
asked Dec 14 '18 at 21:48
induction601induction601
1,295314
1,295314
$begingroup$
Your expression for $hat p$ is precisely $mathbb P(Acap B) = mathbb P(Amid B)mathbb P(B)$ where the event $A$ is $XY gt 1$ i.e. $max{XY-1,0} > 0$, and the event $B$ is $Yin [3,5]$. You will not be able to avoid integrating the $frac1y$ term when finding $mathbb P(Amid B)$
$endgroup$
– Henry
Dec 14 '18 at 23:05
add a comment |
$begingroup$
Your expression for $hat p$ is precisely $mathbb P(Acap B) = mathbb P(Amid B)mathbb P(B)$ where the event $A$ is $XY gt 1$ i.e. $max{XY-1,0} > 0$, and the event $B$ is $Yin [3,5]$. You will not be able to avoid integrating the $frac1y$ term when finding $mathbb P(Amid B)$
$endgroup$
– Henry
Dec 14 '18 at 23:05
$begingroup$
Your expression for $hat p$ is precisely $mathbb P(Acap B) = mathbb P(Amid B)mathbb P(B)$ where the event $A$ is $XY gt 1$ i.e. $max{XY-1,0} > 0$, and the event $B$ is $Yin [3,5]$. You will not be able to avoid integrating the $frac1y$ term when finding $mathbb P(Amid B)$
$endgroup$
– Henry
Dec 14 '18 at 23:05
$begingroup$
Your expression for $hat p$ is precisely $mathbb P(Acap B) = mathbb P(Amid B)mathbb P(B)$ where the event $A$ is $XY gt 1$ i.e. $max{XY-1,0} > 0$, and the event $B$ is $Yin [3,5]$. You will not be able to avoid integrating the $frac1y$ term when finding $mathbb P(Amid B)$
$endgroup$
– Henry
Dec 14 '18 at 23:05
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
It seems all these conditioning/deconditioning/reconditioning steps only serve to muddy the waters for you.
To compute the probability of an event depending on $(X,Y)$, all that is needed is the joint distribution of $(X,Y)$, and we have it, hence we can simply write $$p=P(XY>1,3leqslant Yleqslant 5)=iint_{mathbb R^2}mathbf 1_{xy>1,3leqslant yleqslant5},f_{X,Y}(x,y),dxdy$$ Using $$f_{X,Y}(x,y)=frac1{20},mathbf 1_{-1<x<1,-5<y<5}$$ this yields $$20p=int_3^5int_{1/y}^1dxdy=int_3^5left(1-frac1yright)dy=left.(y-log y)right|_{y=3}^{y=5}$$ Thus, finally, $$p=frac1{20}left(2-logfrac53right)$$
$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%2f3039917%2fconditional-probability-integration%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$
It seems all these conditioning/deconditioning/reconditioning steps only serve to muddy the waters for you.
To compute the probability of an event depending on $(X,Y)$, all that is needed is the joint distribution of $(X,Y)$, and we have it, hence we can simply write $$p=P(XY>1,3leqslant Yleqslant 5)=iint_{mathbb R^2}mathbf 1_{xy>1,3leqslant yleqslant5},f_{X,Y}(x,y),dxdy$$ Using $$f_{X,Y}(x,y)=frac1{20},mathbf 1_{-1<x<1,-5<y<5}$$ this yields $$20p=int_3^5int_{1/y}^1dxdy=int_3^5left(1-frac1yright)dy=left.(y-log y)right|_{y=3}^{y=5}$$ Thus, finally, $$p=frac1{20}left(2-logfrac53right)$$
$endgroup$
add a comment |
$begingroup$
It seems all these conditioning/deconditioning/reconditioning steps only serve to muddy the waters for you.
To compute the probability of an event depending on $(X,Y)$, all that is needed is the joint distribution of $(X,Y)$, and we have it, hence we can simply write $$p=P(XY>1,3leqslant Yleqslant 5)=iint_{mathbb R^2}mathbf 1_{xy>1,3leqslant yleqslant5},f_{X,Y}(x,y),dxdy$$ Using $$f_{X,Y}(x,y)=frac1{20},mathbf 1_{-1<x<1,-5<y<5}$$ this yields $$20p=int_3^5int_{1/y}^1dxdy=int_3^5left(1-frac1yright)dy=left.(y-log y)right|_{y=3}^{y=5}$$ Thus, finally, $$p=frac1{20}left(2-logfrac53right)$$
$endgroup$
add a comment |
$begingroup$
It seems all these conditioning/deconditioning/reconditioning steps only serve to muddy the waters for you.
To compute the probability of an event depending on $(X,Y)$, all that is needed is the joint distribution of $(X,Y)$, and we have it, hence we can simply write $$p=P(XY>1,3leqslant Yleqslant 5)=iint_{mathbb R^2}mathbf 1_{xy>1,3leqslant yleqslant5},f_{X,Y}(x,y),dxdy$$ Using $$f_{X,Y}(x,y)=frac1{20},mathbf 1_{-1<x<1,-5<y<5}$$ this yields $$20p=int_3^5int_{1/y}^1dxdy=int_3^5left(1-frac1yright)dy=left.(y-log y)right|_{y=3}^{y=5}$$ Thus, finally, $$p=frac1{20}left(2-logfrac53right)$$
$endgroup$
It seems all these conditioning/deconditioning/reconditioning steps only serve to muddy the waters for you.
To compute the probability of an event depending on $(X,Y)$, all that is needed is the joint distribution of $(X,Y)$, and we have it, hence we can simply write $$p=P(XY>1,3leqslant Yleqslant 5)=iint_{mathbb R^2}mathbf 1_{xy>1,3leqslant yleqslant5},f_{X,Y}(x,y),dxdy$$ Using $$f_{X,Y}(x,y)=frac1{20},mathbf 1_{-1<x<1,-5<y<5}$$ this yields $$20p=int_3^5int_{1/y}^1dxdy=int_3^5left(1-frac1yright)dy=left.(y-log y)right|_{y=3}^{y=5}$$ Thus, finally, $$p=frac1{20}left(2-logfrac53right)$$
answered Dec 16 '18 at 23:59
DidDid
248k23225463
248k23225463
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%2f3039917%2fconditional-probability-integration%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
$begingroup$
Your expression for $hat p$ is precisely $mathbb P(Acap B) = mathbb P(Amid B)mathbb P(B)$ where the event $A$ is $XY gt 1$ i.e. $max{XY-1,0} > 0$, and the event $B$ is $Yin [3,5]$. You will not be able to avoid integrating the $frac1y$ term when finding $mathbb P(Amid B)$
$endgroup$
– Henry
Dec 14 '18 at 23:05