Finding probability with Law of Total Probability and Bayes Theorem











up vote
1
down vote

favorite












The problem is as such below



enter image description here



I will try solve (i) with total probability:



$A -$ car fail test



$B_1-$ emit excessive pollutants that fail



$B_2-$ 17% not emit excessive pollutants that fail



Then $P(A)=P(B_1)P(A|B_1)+P(B_2)P(A|B_2)=(.25)(.99)+(.25)(.17)=0.29$



and (ii): $P(B_1|A)=frac{P(B_1)P(A|B_1)}{P(A)}=frac{(.25)(.99)}{0.29}=0.85$(2 decimal places)



My first answer of 0.29 seems about right as if 99% of some population makes up close to 25% then the remaining 17% of those that fail but shouldn't fail would make the probability go a bit higher. And if a car were to fail the test than it is likely that it is from $B_i$ so a probability of 0.85 makes sense. Did I make any mistakes?










share|cite|improve this question


























    up vote
    1
    down vote

    favorite












    The problem is as such below



    enter image description here



    I will try solve (i) with total probability:



    $A -$ car fail test



    $B_1-$ emit excessive pollutants that fail



    $B_2-$ 17% not emit excessive pollutants that fail



    Then $P(A)=P(B_1)P(A|B_1)+P(B_2)P(A|B_2)=(.25)(.99)+(.25)(.17)=0.29$



    and (ii): $P(B_1|A)=frac{P(B_1)P(A|B_1)}{P(A)}=frac{(.25)(.99)}{0.29}=0.85$(2 decimal places)



    My first answer of 0.29 seems about right as if 99% of some population makes up close to 25% then the remaining 17% of those that fail but shouldn't fail would make the probability go a bit higher. And if a car were to fail the test than it is likely that it is from $B_i$ so a probability of 0.85 makes sense. Did I make any mistakes?










    share|cite|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      The problem is as such below



      enter image description here



      I will try solve (i) with total probability:



      $A -$ car fail test



      $B_1-$ emit excessive pollutants that fail



      $B_2-$ 17% not emit excessive pollutants that fail



      Then $P(A)=P(B_1)P(A|B_1)+P(B_2)P(A|B_2)=(.25)(.99)+(.25)(.17)=0.29$



      and (ii): $P(B_1|A)=frac{P(B_1)P(A|B_1)}{P(A)}=frac{(.25)(.99)}{0.29}=0.85$(2 decimal places)



      My first answer of 0.29 seems about right as if 99% of some population makes up close to 25% then the remaining 17% of those that fail but shouldn't fail would make the probability go a bit higher. And if a car were to fail the test than it is likely that it is from $B_i$ so a probability of 0.85 makes sense. Did I make any mistakes?










      share|cite|improve this question













      The problem is as such below



      enter image description here



      I will try solve (i) with total probability:



      $A -$ car fail test



      $B_1-$ emit excessive pollutants that fail



      $B_2-$ 17% not emit excessive pollutants that fail



      Then $P(A)=P(B_1)P(A|B_1)+P(B_2)P(A|B_2)=(.25)(.99)+(.25)(.17)=0.29$



      and (ii): $P(B_1|A)=frac{P(B_1)P(A|B_1)}{P(A)}=frac{(.25)(.99)}{0.29}=0.85$(2 decimal places)



      My first answer of 0.29 seems about right as if 99% of some population makes up close to 25% then the remaining 17% of those that fail but shouldn't fail would make the probability go a bit higher. And if a car were to fail the test than it is likely that it is from $B_i$ so a probability of 0.85 makes sense. Did I make any mistakes?







      probability proof-verification






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked 8 hours ago









      glockm15

      32518




      32518






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          In (i) it should have been $mathbb{P}(A) = dots = 0.25 times 0.99 + 0.75 times 0.17 = 0.375$. This results a minor mistake in (ii):
          $$
          mathbb{P}(B_1 ~|~ A) = dots = frac{0.25 times 0.99}{0.375} = 0.66.
          $$






          share|cite|improve this answer





















          • I see, but how did you get 0.75?
            – glockm15
            8 hours ago










          • the portion of cars that do not emit excessive amounts
            – pointguard0
            8 hours ago










          • Oh I see now thanks!
            – glockm15
            8 hours ago











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


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2999431%2ffinding-probability-with-law-of-total-probability-and-bayes-theorem%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








          up vote
          0
          down vote



          accepted










          In (i) it should have been $mathbb{P}(A) = dots = 0.25 times 0.99 + 0.75 times 0.17 = 0.375$. This results a minor mistake in (ii):
          $$
          mathbb{P}(B_1 ~|~ A) = dots = frac{0.25 times 0.99}{0.375} = 0.66.
          $$






          share|cite|improve this answer





















          • I see, but how did you get 0.75?
            – glockm15
            8 hours ago










          • the portion of cars that do not emit excessive amounts
            – pointguard0
            8 hours ago










          • Oh I see now thanks!
            – glockm15
            8 hours ago















          up vote
          0
          down vote



          accepted










          In (i) it should have been $mathbb{P}(A) = dots = 0.25 times 0.99 + 0.75 times 0.17 = 0.375$. This results a minor mistake in (ii):
          $$
          mathbb{P}(B_1 ~|~ A) = dots = frac{0.25 times 0.99}{0.375} = 0.66.
          $$






          share|cite|improve this answer





















          • I see, but how did you get 0.75?
            – glockm15
            8 hours ago










          • the portion of cars that do not emit excessive amounts
            – pointguard0
            8 hours ago










          • Oh I see now thanks!
            – glockm15
            8 hours ago













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          In (i) it should have been $mathbb{P}(A) = dots = 0.25 times 0.99 + 0.75 times 0.17 = 0.375$. This results a minor mistake in (ii):
          $$
          mathbb{P}(B_1 ~|~ A) = dots = frac{0.25 times 0.99}{0.375} = 0.66.
          $$






          share|cite|improve this answer












          In (i) it should have been $mathbb{P}(A) = dots = 0.25 times 0.99 + 0.75 times 0.17 = 0.375$. This results a minor mistake in (ii):
          $$
          mathbb{P}(B_1 ~|~ A) = dots = frac{0.25 times 0.99}{0.375} = 0.66.
          $$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 8 hours ago









          pointguard0

          1,277821




          1,277821












          • I see, but how did you get 0.75?
            – glockm15
            8 hours ago










          • the portion of cars that do not emit excessive amounts
            – pointguard0
            8 hours ago










          • Oh I see now thanks!
            – glockm15
            8 hours ago


















          • I see, but how did you get 0.75?
            – glockm15
            8 hours ago










          • the portion of cars that do not emit excessive amounts
            – pointguard0
            8 hours ago










          • Oh I see now thanks!
            – glockm15
            8 hours ago
















          I see, but how did you get 0.75?
          – glockm15
          8 hours ago




          I see, but how did you get 0.75?
          – glockm15
          8 hours ago












          the portion of cars that do not emit excessive amounts
          – pointguard0
          8 hours ago




          the portion of cars that do not emit excessive amounts
          – pointguard0
          8 hours ago












          Oh I see now thanks!
          – glockm15
          8 hours ago




          Oh I see now thanks!
          – glockm15
          8 hours ago


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2999431%2ffinding-probability-with-law-of-total-probability-and-bayes-theorem%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

          Mont Emei

          Province de Neuquén

          Journaliste