Interpretation of Bayes Theorem ExampleWhy does using the probability of the complementary event in the following question yield incorrect resultsBayes' Theorem problem - Enough information?Bayes' theorem and total probability problem.Probability using Bayes formulaApplication of Bayes-theoremIs this application of Bayes' theorem correct?Proabability Bayes theorem cancer questionWhen to use Bayes' theorem to calculate conditional probability?Bayes theorem algebra questionMaximum bound using Bayes Theorem

What does "^L" mean in C?

두음법칙 - When did North and South diverge in pronunciation of initial ㄹ?

Deletion of copy-ctor & copy-assignment - public, private or protected?

What does Jesus mean regarding "Raca," and "you fool?" - is he contrasting them?

Describing a chess game in a novel

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

Is it insecure to send a password in a `curl` command?

What does "Four-F." mean?

Do I need to be arrogant to get ahead?

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Print a physical multiplication table

PTIJ: Why do we blow Shofar on Rosh Hashana and use a Lulav on Sukkos?

Unfrosted light bulb

Hausdorff dimension of the boundary of fibres of Lipschitz maps

HP P840 HDD RAID 5 many strange drive failures

In what cases must I use 了 and in what cases not?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

How to terminate ping <dest> &

Does .bashrc contain syntax errors?

PTIJ: Do Irish Jews have "the luck of the Irish"?

If "dar" means "to give", what does "daros" mean?

When did antialiasing start being available?

A Ri-diddley-iley Riddle

Why didn't Héctor fade away after this character died in the movie Coco?



Interpretation of Bayes Theorem Example


Why does using the probability of the complementary event in the following question yield incorrect resultsBayes' Theorem problem - Enough information?Bayes' theorem and total probability problem.Probability using Bayes formulaApplication of Bayes-theoremIs this application of Bayes' theorem correct?Proabability Bayes theorem cancer questionWhen to use Bayes' theorem to calculate conditional probability?Bayes theorem algebra questionMaximum bound using Bayes Theorem













2












$begingroup$


A protein that has the objective of assisting pig growth is given to pigs in their lunch.
A researcher observes that few pigs may have developed tumours as a result of their eating which comprises the protein.
The researcher who added the protein discovers that for a random pig that gets tumours - there is a probability ranging from p=$frac110$, when a pig has a standard lunch
to p=$frac12$ when given the lunch that has the protein present.
The researchers' investigation has 100 pigs, where the number of pigs that are given the lunch with the protein present is unknown (I refer to this as n).



A second researcher randomly chooses a pig from the 100 pig cohort. If the pig has tumours, find the probability that the pig had been given lunch where the protein is present.



Event A = Has tumours



Event B = lunch with protein



P(B) = $fracn100$.
P(B') = $frac100-n100$.
P(A|B) = $frac12$. P(A|B') = $frac110$
P(B|A) = $frac0.5n/100((0.5n/100) + (100-n)/(1000)$ = $frac5n4n+100$



Question: Find the largest number of pigs that ought to be given the lunch with the protein present if the second researcher wants the above probability to be smaller than 0.5.



$frac5n4n+100$ < 0.5



n < $frac503$ = 16.7



And so n=16.



The difficulty that I have is to evaluate and explain the probability of the first scenario using the largest number of pigs found in the second scenario.



My comment on this is that:



For an upper bound of 16, the lower the the number of pigs given the lunch the smaller the probability of the pig being given the lunch.



I have provided my working out for the various stages of this question. However I am having real difficulty with the explanation part of the question - can anyone provide with their thoughts, am I missing something here?



Thanks in advance.










share|cite|improve this question









$endgroup$
















    2












    $begingroup$


    A protein that has the objective of assisting pig growth is given to pigs in their lunch.
    A researcher observes that few pigs may have developed tumours as a result of their eating which comprises the protein.
    The researcher who added the protein discovers that for a random pig that gets tumours - there is a probability ranging from p=$frac110$, when a pig has a standard lunch
    to p=$frac12$ when given the lunch that has the protein present.
    The researchers' investigation has 100 pigs, where the number of pigs that are given the lunch with the protein present is unknown (I refer to this as n).



    A second researcher randomly chooses a pig from the 100 pig cohort. If the pig has tumours, find the probability that the pig had been given lunch where the protein is present.



    Event A = Has tumours



    Event B = lunch with protein



    P(B) = $fracn100$.
    P(B') = $frac100-n100$.
    P(A|B) = $frac12$. P(A|B') = $frac110$
    P(B|A) = $frac0.5n/100((0.5n/100) + (100-n)/(1000)$ = $frac5n4n+100$



    Question: Find the largest number of pigs that ought to be given the lunch with the protein present if the second researcher wants the above probability to be smaller than 0.5.



    $frac5n4n+100$ < 0.5



    n < $frac503$ = 16.7



    And so n=16.



    The difficulty that I have is to evaluate and explain the probability of the first scenario using the largest number of pigs found in the second scenario.



    My comment on this is that:



    For an upper bound of 16, the lower the the number of pigs given the lunch the smaller the probability of the pig being given the lunch.



    I have provided my working out for the various stages of this question. However I am having real difficulty with the explanation part of the question - can anyone provide with their thoughts, am I missing something here?



    Thanks in advance.










    share|cite|improve this question









    $endgroup$














      2












      2








      2


      5



      $begingroup$


      A protein that has the objective of assisting pig growth is given to pigs in their lunch.
      A researcher observes that few pigs may have developed tumours as a result of their eating which comprises the protein.
      The researcher who added the protein discovers that for a random pig that gets tumours - there is a probability ranging from p=$frac110$, when a pig has a standard lunch
      to p=$frac12$ when given the lunch that has the protein present.
      The researchers' investigation has 100 pigs, where the number of pigs that are given the lunch with the protein present is unknown (I refer to this as n).



      A second researcher randomly chooses a pig from the 100 pig cohort. If the pig has tumours, find the probability that the pig had been given lunch where the protein is present.



      Event A = Has tumours



      Event B = lunch with protein



      P(B) = $fracn100$.
      P(B') = $frac100-n100$.
      P(A|B) = $frac12$. P(A|B') = $frac110$
      P(B|A) = $frac0.5n/100((0.5n/100) + (100-n)/(1000)$ = $frac5n4n+100$



      Question: Find the largest number of pigs that ought to be given the lunch with the protein present if the second researcher wants the above probability to be smaller than 0.5.



      $frac5n4n+100$ < 0.5



      n < $frac503$ = 16.7



      And so n=16.



      The difficulty that I have is to evaluate and explain the probability of the first scenario using the largest number of pigs found in the second scenario.



      My comment on this is that:



      For an upper bound of 16, the lower the the number of pigs given the lunch the smaller the probability of the pig being given the lunch.



      I have provided my working out for the various stages of this question. However I am having real difficulty with the explanation part of the question - can anyone provide with their thoughts, am I missing something here?



      Thanks in advance.










      share|cite|improve this question









      $endgroup$




      A protein that has the objective of assisting pig growth is given to pigs in their lunch.
      A researcher observes that few pigs may have developed tumours as a result of their eating which comprises the protein.
      The researcher who added the protein discovers that for a random pig that gets tumours - there is a probability ranging from p=$frac110$, when a pig has a standard lunch
      to p=$frac12$ when given the lunch that has the protein present.
      The researchers' investigation has 100 pigs, where the number of pigs that are given the lunch with the protein present is unknown (I refer to this as n).



      A second researcher randomly chooses a pig from the 100 pig cohort. If the pig has tumours, find the probability that the pig had been given lunch where the protein is present.



      Event A = Has tumours



      Event B = lunch with protein



      P(B) = $fracn100$.
      P(B') = $frac100-n100$.
      P(A|B) = $frac12$. P(A|B') = $frac110$
      P(B|A) = $frac0.5n/100((0.5n/100) + (100-n)/(1000)$ = $frac5n4n+100$



      Question: Find the largest number of pigs that ought to be given the lunch with the protein present if the second researcher wants the above probability to be smaller than 0.5.



      $frac5n4n+100$ < 0.5



      n < $frac503$ = 16.7



      And so n=16.



      The difficulty that I have is to evaluate and explain the probability of the first scenario using the largest number of pigs found in the second scenario.



      My comment on this is that:



      For an upper bound of 16, the lower the the number of pigs given the lunch the smaller the probability of the pig being given the lunch.



      I have provided my working out for the various stages of this question. However I am having real difficulty with the explanation part of the question - can anyone provide with their thoughts, am I missing something here?



      Thanks in advance.







      probability proof-verification probability-distributions bayesian bayes-theorem






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 12 at 21:20









      princetongirl818princetongirl818

      1268




      1268




















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          In the case $n=16$, we could think about the the expected number of pigs with tumours for each of the lunches:



          • Of the $16$ pigs that ate the protein lunch, we expect $8$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.5$).

          • Of the $84$ pigs that ate the normal lunch, we expect $8.4$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.1$).

          This gives some intuition for why a pig with a tumour is more likely to have had the normal lunch (in the case $n = 16$): We expect there to be $16.4$ pigs with tumours, and we expect $8$ of them to have eaten the protein lunch.



          If $n < 16$ then



          • Of the $n$ pigs that ate the protein lunch, we expect $n/2$ (less than $8$) of them to get tumours.

          • Of the $100 - n$ pigs that ate the normal lunch, we expect $(100 - n)/10$ (greater than $8.4$) to get tumours.

          And this gives us an intuition for why, when $n < 16$, the probability that a pig with tumours ate the protein lunch is still less than $0.5$.



          And in the case $n = 17$ we expect to see $8.5$ pigs who both ate the protein lunch and got tumours. We expect to see $8.3$ pigs who both ate the normal lunch and got tumours.






          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%2f3145697%2finterpretation-of-bayes-theorem-example%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









            0












            $begingroup$

            In the case $n=16$, we could think about the the expected number of pigs with tumours for each of the lunches:



            • Of the $16$ pigs that ate the protein lunch, we expect $8$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.5$).

            • Of the $84$ pigs that ate the normal lunch, we expect $8.4$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.1$).

            This gives some intuition for why a pig with a tumour is more likely to have had the normal lunch (in the case $n = 16$): We expect there to be $16.4$ pigs with tumours, and we expect $8$ of them to have eaten the protein lunch.



            If $n < 16$ then



            • Of the $n$ pigs that ate the protein lunch, we expect $n/2$ (less than $8$) of them to get tumours.

            • Of the $100 - n$ pigs that ate the normal lunch, we expect $(100 - n)/10$ (greater than $8.4$) to get tumours.

            And this gives us an intuition for why, when $n < 16$, the probability that a pig with tumours ate the protein lunch is still less than $0.5$.



            And in the case $n = 17$ we expect to see $8.5$ pigs who both ate the protein lunch and got tumours. We expect to see $8.3$ pigs who both ate the normal lunch and got tumours.






            share|cite|improve this answer









            $endgroup$

















              0












              $begingroup$

              In the case $n=16$, we could think about the the expected number of pigs with tumours for each of the lunches:



              • Of the $16$ pigs that ate the protein lunch, we expect $8$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.5$).

              • Of the $84$ pigs that ate the normal lunch, we expect $8.4$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.1$).

              This gives some intuition for why a pig with a tumour is more likely to have had the normal lunch (in the case $n = 16$): We expect there to be $16.4$ pigs with tumours, and we expect $8$ of them to have eaten the protein lunch.



              If $n < 16$ then



              • Of the $n$ pigs that ate the protein lunch, we expect $n/2$ (less than $8$) of them to get tumours.

              • Of the $100 - n$ pigs that ate the normal lunch, we expect $(100 - n)/10$ (greater than $8.4$) to get tumours.

              And this gives us an intuition for why, when $n < 16$, the probability that a pig with tumours ate the protein lunch is still less than $0.5$.



              And in the case $n = 17$ we expect to see $8.5$ pigs who both ate the protein lunch and got tumours. We expect to see $8.3$ pigs who both ate the normal lunch and got tumours.






              share|cite|improve this answer









              $endgroup$















                0












                0








                0





                $begingroup$

                In the case $n=16$, we could think about the the expected number of pigs with tumours for each of the lunches:



                • Of the $16$ pigs that ate the protein lunch, we expect $8$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.5$).

                • Of the $84$ pigs that ate the normal lunch, we expect $8.4$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.1$).

                This gives some intuition for why a pig with a tumour is more likely to have had the normal lunch (in the case $n = 16$): We expect there to be $16.4$ pigs with tumours, and we expect $8$ of them to have eaten the protein lunch.



                If $n < 16$ then



                • Of the $n$ pigs that ate the protein lunch, we expect $n/2$ (less than $8$) of them to get tumours.

                • Of the $100 - n$ pigs that ate the normal lunch, we expect $(100 - n)/10$ (greater than $8.4$) to get tumours.

                And this gives us an intuition for why, when $n < 16$, the probability that a pig with tumours ate the protein lunch is still less than $0.5$.



                And in the case $n = 17$ we expect to see $8.5$ pigs who both ate the protein lunch and got tumours. We expect to see $8.3$ pigs who both ate the normal lunch and got tumours.






                share|cite|improve this answer









                $endgroup$



                In the case $n=16$, we could think about the the expected number of pigs with tumours for each of the lunches:



                • Of the $16$ pigs that ate the protein lunch, we expect $8$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.5$).

                • Of the $84$ pigs that ate the normal lunch, we expect $8.4$ of them to get tumours (because the probability of a pig in this group getting a tumour is $0.1$).

                This gives some intuition for why a pig with a tumour is more likely to have had the normal lunch (in the case $n = 16$): We expect there to be $16.4$ pigs with tumours, and we expect $8$ of them to have eaten the protein lunch.



                If $n < 16$ then



                • Of the $n$ pigs that ate the protein lunch, we expect $n/2$ (less than $8$) of them to get tumours.

                • Of the $100 - n$ pigs that ate the normal lunch, we expect $(100 - n)/10$ (greater than $8.4$) to get tumours.

                And this gives us an intuition for why, when $n < 16$, the probability that a pig with tumours ate the protein lunch is still less than $0.5$.



                And in the case $n = 17$ we expect to see $8.5$ pigs who both ate the protein lunch and got tumours. We expect to see $8.3$ pigs who both ate the normal lunch and got tumours.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered 11 hours ago









                AlexAlex

                709412




                709412



























                    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%2f3145697%2finterpretation-of-bayes-theorem-example%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

                    Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

                    random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

                    How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer