How to evaluate the total probability using conditional probabilities?











up vote
0
down vote

favorite












Suppose we have 2 events $C_1$ and $C_2$ so that $C_1$, $C_2$, $C_1'$ and $C_2'$ partition the probability space. Let the event I'm interested in be denoted by $X$. $C_1$ and $C_2$ and their complements are conditionally independent given $X$. The probability of $X$ is given by,
begin{equation*}
P(X)=P(X|C_1,C_2)P(C_1,C_2)+P(X|C_1',C_2)P(C_1',C_2)+P(X|C_1,C_2')P(C_1',C_2)+P(X|C_1',C_2')P(C_1',C_2')
end{equation*}

Using conditional independence, we evaluate this as follows,
begin{equation*}
P(X) =P(C_1|X)P(C_2|X)P(X)+P(C_1'|X)P(C_2|X)P(X)+P(C_1|X)P(C_2'|X)P(X)+P(C_1'|X)P(C_2'|X)P(X)
end{equation*}

But then I have $P(X)$ on both side of the equality in the second equation. Is there a difference between these two (are the ones on the RHS the prior probability and the $P(X)$ on the LHS the posterior)? Any clarification would be appreciated.



In my case $P(X)$ is unknown, and I'm trying to solve for it. Would I go about this by guessing values of $P(X)$ for those on the RHS and evaluate this for the value of $P(X)$ on the LHS?










share|cite|improve this question









New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • What if you divide both sides by $P(X)?$
    – saulspatz
    Nov 20 at 15:07










  • Then I get $1$ on the LHS.
    – user617643
    Nov 20 at 15:08










  • Yes, but look at the right-hand side.
    – saulspatz
    Nov 20 at 15:15










  • That is the sum of the probabilities of the possible outcomes.
    – user617643
    Nov 20 at 15:16












  • Doesn't that answer you question?
    – saulspatz
    Nov 20 at 15:17















up vote
0
down vote

favorite












Suppose we have 2 events $C_1$ and $C_2$ so that $C_1$, $C_2$, $C_1'$ and $C_2'$ partition the probability space. Let the event I'm interested in be denoted by $X$. $C_1$ and $C_2$ and their complements are conditionally independent given $X$. The probability of $X$ is given by,
begin{equation*}
P(X)=P(X|C_1,C_2)P(C_1,C_2)+P(X|C_1',C_2)P(C_1',C_2)+P(X|C_1,C_2')P(C_1',C_2)+P(X|C_1',C_2')P(C_1',C_2')
end{equation*}

Using conditional independence, we evaluate this as follows,
begin{equation*}
P(X) =P(C_1|X)P(C_2|X)P(X)+P(C_1'|X)P(C_2|X)P(X)+P(C_1|X)P(C_2'|X)P(X)+P(C_1'|X)P(C_2'|X)P(X)
end{equation*}

But then I have $P(X)$ on both side of the equality in the second equation. Is there a difference between these two (are the ones on the RHS the prior probability and the $P(X)$ on the LHS the posterior)? Any clarification would be appreciated.



In my case $P(X)$ is unknown, and I'm trying to solve for it. Would I go about this by guessing values of $P(X)$ for those on the RHS and evaluate this for the value of $P(X)$ on the LHS?










share|cite|improve this question









New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • What if you divide both sides by $P(X)?$
    – saulspatz
    Nov 20 at 15:07










  • Then I get $1$ on the LHS.
    – user617643
    Nov 20 at 15:08










  • Yes, but look at the right-hand side.
    – saulspatz
    Nov 20 at 15:15










  • That is the sum of the probabilities of the possible outcomes.
    – user617643
    Nov 20 at 15:16












  • Doesn't that answer you question?
    – saulspatz
    Nov 20 at 15:17













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Suppose we have 2 events $C_1$ and $C_2$ so that $C_1$, $C_2$, $C_1'$ and $C_2'$ partition the probability space. Let the event I'm interested in be denoted by $X$. $C_1$ and $C_2$ and their complements are conditionally independent given $X$. The probability of $X$ is given by,
begin{equation*}
P(X)=P(X|C_1,C_2)P(C_1,C_2)+P(X|C_1',C_2)P(C_1',C_2)+P(X|C_1,C_2')P(C_1',C_2)+P(X|C_1',C_2')P(C_1',C_2')
end{equation*}

Using conditional independence, we evaluate this as follows,
begin{equation*}
P(X) =P(C_1|X)P(C_2|X)P(X)+P(C_1'|X)P(C_2|X)P(X)+P(C_1|X)P(C_2'|X)P(X)+P(C_1'|X)P(C_2'|X)P(X)
end{equation*}

But then I have $P(X)$ on both side of the equality in the second equation. Is there a difference between these two (are the ones on the RHS the prior probability and the $P(X)$ on the LHS the posterior)? Any clarification would be appreciated.



In my case $P(X)$ is unknown, and I'm trying to solve for it. Would I go about this by guessing values of $P(X)$ for those on the RHS and evaluate this for the value of $P(X)$ on the LHS?










share|cite|improve this question









New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Suppose we have 2 events $C_1$ and $C_2$ so that $C_1$, $C_2$, $C_1'$ and $C_2'$ partition the probability space. Let the event I'm interested in be denoted by $X$. $C_1$ and $C_2$ and their complements are conditionally independent given $X$. The probability of $X$ is given by,
begin{equation*}
P(X)=P(X|C_1,C_2)P(C_1,C_2)+P(X|C_1',C_2)P(C_1',C_2)+P(X|C_1,C_2')P(C_1',C_2)+P(X|C_1',C_2')P(C_1',C_2')
end{equation*}

Using conditional independence, we evaluate this as follows,
begin{equation*}
P(X) =P(C_1|X)P(C_2|X)P(X)+P(C_1'|X)P(C_2|X)P(X)+P(C_1|X)P(C_2'|X)P(X)+P(C_1'|X)P(C_2'|X)P(X)
end{equation*}

But then I have $P(X)$ on both side of the equality in the second equation. Is there a difference between these two (are the ones on the RHS the prior probability and the $P(X)$ on the LHS the posterior)? Any clarification would be appreciated.



In my case $P(X)$ is unknown, and I'm trying to solve for it. Would I go about this by guessing values of $P(X)$ for those on the RHS and evaluate this for the value of $P(X)$ on the LHS?







probability probability-theory bayesian






share|cite|improve this question









New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited Nov 20 at 15:15





















New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 20 at 15:01









user617643

226




226




New contributor




user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user617643 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • What if you divide both sides by $P(X)?$
    – saulspatz
    Nov 20 at 15:07










  • Then I get $1$ on the LHS.
    – user617643
    Nov 20 at 15:08










  • Yes, but look at the right-hand side.
    – saulspatz
    Nov 20 at 15:15










  • That is the sum of the probabilities of the possible outcomes.
    – user617643
    Nov 20 at 15:16












  • Doesn't that answer you question?
    – saulspatz
    Nov 20 at 15:17


















  • What if you divide both sides by $P(X)?$
    – saulspatz
    Nov 20 at 15:07










  • Then I get $1$ on the LHS.
    – user617643
    Nov 20 at 15:08










  • Yes, but look at the right-hand side.
    – saulspatz
    Nov 20 at 15:15










  • That is the sum of the probabilities of the possible outcomes.
    – user617643
    Nov 20 at 15:16












  • Doesn't that answer you question?
    – saulspatz
    Nov 20 at 15:17
















What if you divide both sides by $P(X)?$
– saulspatz
Nov 20 at 15:07




What if you divide both sides by $P(X)?$
– saulspatz
Nov 20 at 15:07












Then I get $1$ on the LHS.
– user617643
Nov 20 at 15:08




Then I get $1$ on the LHS.
– user617643
Nov 20 at 15:08












Yes, but look at the right-hand side.
– saulspatz
Nov 20 at 15:15




Yes, but look at the right-hand side.
– saulspatz
Nov 20 at 15:15












That is the sum of the probabilities of the possible outcomes.
– user617643
Nov 20 at 15:16






That is the sum of the probabilities of the possible outcomes.
– user617643
Nov 20 at 15:16














Doesn't that answer you question?
– saulspatz
Nov 20 at 15:17




Doesn't that answer you question?
– saulspatz
Nov 20 at 15:17















active

oldest

votes











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',
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
});


}
});






user617643 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006420%2fhow-to-evaluate-the-total-probability-using-conditional-probabilities%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








user617643 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















user617643 is a new contributor. Be nice, and check out our Code of Conduct.













user617643 is a new contributor. Be nice, and check out our Code of Conduct.












user617643 is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006420%2fhow-to-evaluate-the-total-probability-using-conditional-probabilities%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Wiesbaden

Marschland

Dieringhausen