Total probability of Conditional Probability












1












$begingroup$


Suppose that we have a conditional probability $P(x | y)$ and a partition $x'$ of the sample space. How can we apply the law of total probability to conclude that
$$P(x|y) = sumlimits_{x'}^{} P((x|y)cap x')?$$










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Suppose that we have a conditional probability $P(x | y)$ and a partition $x'$ of the sample space. How can we apply the law of total probability to conclude that
    $$P(x|y) = sumlimits_{x'}^{} P((x|y)cap x')?$$










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Suppose that we have a conditional probability $P(x | y)$ and a partition $x'$ of the sample space. How can we apply the law of total probability to conclude that
      $$P(x|y) = sumlimits_{x'}^{} P((x|y)cap x')?$$










      share|cite|improve this question











      $endgroup$




      Suppose that we have a conditional probability $P(x | y)$ and a partition $x'$ of the sample space. How can we apply the law of total probability to conclude that
      $$P(x|y) = sumlimits_{x'}^{} P((x|y)cap x')?$$







      probability






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited May 14 '15 at 10:59









      Tomek Kania

      12.3k11946




      12.3k11946










      asked May 14 '15 at 10:35









      XingdongXingdong

      97811524




      97811524






















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          It is rather straightforward, use the fact that for any events $A$ and $B$
          $$P( A cap B )= P(B)P(A|B).$$



          Thus $P((x|y) cap x^{prime}) = P((x|y)|x^{prime})P(x^{prime})$, so by the law of total probability



          $$P(x|y) = sum_{x^{prime} }P((x|y)|x^{prime})P(x^{prime})=sum_{x^{prime} } P((x|y) cap x^{prime}).$$



          Caution: Using $x^{prime}$ as the elements from the partition is not the best notation, $prime$ is often used to denote the complement of an event.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
            $endgroup$
            – Xingdong
            May 14 '15 at 11:22










          • $begingroup$
            $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
            $endgroup$
            – m_gnacik
            May 14 '15 at 12:39










          • $begingroup$
            So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
            $endgroup$
            – Xingdong
            May 14 '15 at 13:49










          • $begingroup$
            It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
            $endgroup$
            – m_gnacik
            May 14 '15 at 14:20



















          0












          $begingroup$

          In addition, I think this answer also provides a good view of what happens here.



          Proof of Total Probability Theorem for Conditional Probability



          I find it rather confusing to use condition with
          $$sum_{z}P((x|y)|z)P(z) \text{z here in place of x' in question}$$
          for the event space, $Omega$ for $Z$ here is not so clear. The space for $Z$, or the value of $P(Z)$ here should be defined over $Omega_y cap Omega_Z$.



          This makes the overall answer be either:
          $$P(x|y) = sum^{Omega_ycap Omega_Z}_zP(x|ycap z)P(z) = sum_zP(xcap z|y)$$



          Also, as mentioned by Graham Kemp in the comment:




          ∣ is not a set operation; it is the divider between the event being measured and the condition under which the measured. There can only be at most one such divider in a probability measure function.







          share|cite|improve this answer











          $endgroup$














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


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1281693%2ftotal-probability-of-conditional-probability%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2












            $begingroup$

            It is rather straightforward, use the fact that for any events $A$ and $B$
            $$P( A cap B )= P(B)P(A|B).$$



            Thus $P((x|y) cap x^{prime}) = P((x|y)|x^{prime})P(x^{prime})$, so by the law of total probability



            $$P(x|y) = sum_{x^{prime} }P((x|y)|x^{prime})P(x^{prime})=sum_{x^{prime} } P((x|y) cap x^{prime}).$$



            Caution: Using $x^{prime}$ as the elements from the partition is not the best notation, $prime$ is often used to denote the complement of an event.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
              $endgroup$
              – Xingdong
              May 14 '15 at 11:22










            • $begingroup$
              $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
              $endgroup$
              – m_gnacik
              May 14 '15 at 12:39










            • $begingroup$
              So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
              $endgroup$
              – Xingdong
              May 14 '15 at 13:49










            • $begingroup$
              It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
              $endgroup$
              – m_gnacik
              May 14 '15 at 14:20
















            2












            $begingroup$

            It is rather straightforward, use the fact that for any events $A$ and $B$
            $$P( A cap B )= P(B)P(A|B).$$



            Thus $P((x|y) cap x^{prime}) = P((x|y)|x^{prime})P(x^{prime})$, so by the law of total probability



            $$P(x|y) = sum_{x^{prime} }P((x|y)|x^{prime})P(x^{prime})=sum_{x^{prime} } P((x|y) cap x^{prime}).$$



            Caution: Using $x^{prime}$ as the elements from the partition is not the best notation, $prime$ is often used to denote the complement of an event.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
              $endgroup$
              – Xingdong
              May 14 '15 at 11:22










            • $begingroup$
              $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
              $endgroup$
              – m_gnacik
              May 14 '15 at 12:39










            • $begingroup$
              So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
              $endgroup$
              – Xingdong
              May 14 '15 at 13:49










            • $begingroup$
              It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
              $endgroup$
              – m_gnacik
              May 14 '15 at 14:20














            2












            2








            2





            $begingroup$

            It is rather straightforward, use the fact that for any events $A$ and $B$
            $$P( A cap B )= P(B)P(A|B).$$



            Thus $P((x|y) cap x^{prime}) = P((x|y)|x^{prime})P(x^{prime})$, so by the law of total probability



            $$P(x|y) = sum_{x^{prime} }P((x|y)|x^{prime})P(x^{prime})=sum_{x^{prime} } P((x|y) cap x^{prime}).$$



            Caution: Using $x^{prime}$ as the elements from the partition is not the best notation, $prime$ is often used to denote the complement of an event.






            share|cite|improve this answer











            $endgroup$



            It is rather straightforward, use the fact that for any events $A$ and $B$
            $$P( A cap B )= P(B)P(A|B).$$



            Thus $P((x|y) cap x^{prime}) = P((x|y)|x^{prime})P(x^{prime})$, so by the law of total probability



            $$P(x|y) = sum_{x^{prime} }P((x|y)|x^{prime})P(x^{prime})=sum_{x^{prime} } P((x|y) cap x^{prime}).$$



            Caution: Using $x^{prime}$ as the elements from the partition is not the best notation, $prime$ is often used to denote the complement of an event.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited May 14 '15 at 11:01

























            answered May 14 '15 at 10:54









            m_gnacikm_gnacik

            2,4381120




            2,4381120












            • $begingroup$
              $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
              $endgroup$
              – Xingdong
              May 14 '15 at 11:22










            • $begingroup$
              $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
              $endgroup$
              – m_gnacik
              May 14 '15 at 12:39










            • $begingroup$
              So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
              $endgroup$
              – Xingdong
              May 14 '15 at 13:49










            • $begingroup$
              It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
              $endgroup$
              – m_gnacik
              May 14 '15 at 14:20


















            • $begingroup$
              $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
              $endgroup$
              – Xingdong
              May 14 '15 at 11:22










            • $begingroup$
              $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
              $endgroup$
              – m_gnacik
              May 14 '15 at 12:39










            • $begingroup$
              So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
              $endgroup$
              – Xingdong
              May 14 '15 at 13:49










            • $begingroup$
              It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
              $endgroup$
              – m_gnacik
              May 14 '15 at 14:20
















            $begingroup$
            $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
            $endgroup$
            – Xingdong
            May 14 '15 at 11:22




            $begingroup$
            $P((x|y)|x') = P(x| y, x')$, by the way, is this true ?
            $endgroup$
            – Xingdong
            May 14 '15 at 11:22












            $begingroup$
            $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
            $endgroup$
            – m_gnacik
            May 14 '15 at 12:39




            $begingroup$
            $P(x|y, x^{prime}) = frac{P(x cap y|x^{prime} )}{P(y | x^{prime} )}$
            $endgroup$
            – m_gnacik
            May 14 '15 at 12:39












            $begingroup$
            So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
            $endgroup$
            – Xingdong
            May 14 '15 at 13:49




            $begingroup$
            So is there any alternative or equivalent representation of $P((x|y)|x')$ ?
            $endgroup$
            – Xingdong
            May 14 '15 at 13:49












            $begingroup$
            It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
            $endgroup$
            – m_gnacik
            May 14 '15 at 14:20




            $begingroup$
            It depends what would you like to get; you could apply Bayes' theorem and obtain $$ P( (x|y)|x^{prime}) = frac{P(x^{prime}|(x|y))P(x|y)}{P(x^{prime})}.$$ If you happy with my answer you can accept it. Cheers.
            $endgroup$
            – m_gnacik
            May 14 '15 at 14:20











            0












            $begingroup$

            In addition, I think this answer also provides a good view of what happens here.



            Proof of Total Probability Theorem for Conditional Probability



            I find it rather confusing to use condition with
            $$sum_{z}P((x|y)|z)P(z) \text{z here in place of x' in question}$$
            for the event space, $Omega$ for $Z$ here is not so clear. The space for $Z$, or the value of $P(Z)$ here should be defined over $Omega_y cap Omega_Z$.



            This makes the overall answer be either:
            $$P(x|y) = sum^{Omega_ycap Omega_Z}_zP(x|ycap z)P(z) = sum_zP(xcap z|y)$$



            Also, as mentioned by Graham Kemp in the comment:




            ∣ is not a set operation; it is the divider between the event being measured and the condition under which the measured. There can only be at most one such divider in a probability measure function.







            share|cite|improve this answer











            $endgroup$


















              0












              $begingroup$

              In addition, I think this answer also provides a good view of what happens here.



              Proof of Total Probability Theorem for Conditional Probability



              I find it rather confusing to use condition with
              $$sum_{z}P((x|y)|z)P(z) \text{z here in place of x' in question}$$
              for the event space, $Omega$ for $Z$ here is not so clear. The space for $Z$, or the value of $P(Z)$ here should be defined over $Omega_y cap Omega_Z$.



              This makes the overall answer be either:
              $$P(x|y) = sum^{Omega_ycap Omega_Z}_zP(x|ycap z)P(z) = sum_zP(xcap z|y)$$



              Also, as mentioned by Graham Kemp in the comment:




              ∣ is not a set operation; it is the divider between the event being measured and the condition under which the measured. There can only be at most one such divider in a probability measure function.







              share|cite|improve this answer











              $endgroup$
















                0












                0








                0





                $begingroup$

                In addition, I think this answer also provides a good view of what happens here.



                Proof of Total Probability Theorem for Conditional Probability



                I find it rather confusing to use condition with
                $$sum_{z}P((x|y)|z)P(z) \text{z here in place of x' in question}$$
                for the event space, $Omega$ for $Z$ here is not so clear. The space for $Z$, or the value of $P(Z)$ here should be defined over $Omega_y cap Omega_Z$.



                This makes the overall answer be either:
                $$P(x|y) = sum^{Omega_ycap Omega_Z}_zP(x|ycap z)P(z) = sum_zP(xcap z|y)$$



                Also, as mentioned by Graham Kemp in the comment:




                ∣ is not a set operation; it is the divider between the event being measured and the condition under which the measured. There can only be at most one such divider in a probability measure function.







                share|cite|improve this answer











                $endgroup$



                In addition, I think this answer also provides a good view of what happens here.



                Proof of Total Probability Theorem for Conditional Probability



                I find it rather confusing to use condition with
                $$sum_{z}P((x|y)|z)P(z) \text{z here in place of x' in question}$$
                for the event space, $Omega$ for $Z$ here is not so clear. The space for $Z$, or the value of $P(Z)$ here should be defined over $Omega_y cap Omega_Z$.



                This makes the overall answer be either:
                $$P(x|y) = sum^{Omega_ycap Omega_Z}_zP(x|ycap z)P(z) = sum_zP(xcap z|y)$$



                Also, as mentioned by Graham Kemp in the comment:




                ∣ is not a set operation; it is the divider between the event being measured and the condition under which the measured. There can only be at most one such divider in a probability measure function.








                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Jan 30 at 9:03

























                answered Jan 30 at 8:37









                DogemoreDogemore

                31




                31






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1281693%2ftotal-probability-of-conditional-probability%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

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith