Why is this method incorrect?Why is this Poisson distribution incorrect?Angular distribution of lines passing through two squares.Multiple Anihilating Random Walks in a Ring (cycle)Population exercise with Markov chainsFind the probability that a duel ends after the $n^th$ round of shots.Relation between: Likelihood, conditional probability and failure rateThe Three-Cornered DuelA variation of the balls-and-bins problem, with additional constraintsProbability two people will meet within 10 minutes of each other?Calculating the probability of winning a game of Rainbow Six Siege

Basic power tool set for Home repair and simple projects

What is the precise meaning of "подсел на мак"?

what is "dot" sign in the •NO?

Why can't I craft scaffolding in Minecraft 1.14?

Why can't we feel the Earth's revolution?

What is the context for Napoleon's quote "[the Austrians] did not know the value of five minutes"?

What is this plant I saw for sale at a Romanian farmer's market?

High-end PC graphics circa 1990?

Explicit direct #include vs. Non-contractual transitive #include

What are the mechanical differences between Adapt and Monstrosity?

TiKZ won't graph 1/sqrt(x)

Why does my system use more RAM after an hour of usage?

Leaving job close to major deadlines

How would Japanese people react to someone refusing to say “itadakimasu” for religious reasons?

Leveraging cash for buying car

How to know whether to write accidentals as sharps or flats?

Schedule Batch Apex too many rows

How do I gain the trust of other PCs?

Using roof rails to set up hammock

Is there any effect in D&D 5e that cannot be undone?

How do credit card companies know what type of business I'm paying for?

1960s sci-fi anthology with a Viking fighting a U.S. army MP on the cover

How can this shape perfectly cover a cube?

Someone who is granted access to information but not expected to read it



Why is this method incorrect?


Why is this Poisson distribution incorrect?Angular distribution of lines passing through two squares.Multiple Anihilating Random Walks in a Ring (cycle)Population exercise with Markov chainsFind the probability that a duel ends after the $n^th$ round of shots.Relation between: Likelihood, conditional probability and failure rateThe Three-Cornered DuelA variation of the balls-and-bins problem, with additional constraintsProbability two people will meet within 10 minutes of each other?Calculating the probability of winning a game of Rainbow Six Siege













5












$begingroup$



A man is to be executed at random time between 00:00 and 01:00. The
firing squad's accuracy decreases linearly, so that at 00:00 they
shoot perfectly, at 00:30 miss half the time, and at 01:00 miss
always. Also, with probability 1/2, a blank round of shots will be
used.



Given that the man survived, what is the probability that he faced a
live round?





At first I drew a diagram with time on x-axis, a horizontal line at $y=1/2$ with "blind round" above it and "live round" below. Then I divided that lower region with a diagonal to represent the falling accuracy, and got the answer $frac14 / (frac14+frac12) = frac13$ which a simulation seems to confirm.



I'm not sure why the following method gives an incorrect answer: at time $theta$, $P_theta (textsurvived)=theta/2 + 1/2$ and $P_theta(textlive rounds and survived) = theta/2$. Therefore $P_theta(text survived) = fracthetatheta+1$. Now integrate to get $int_0^1 P_theta dtheta = int_0^1 fracdtheta . thetatheta+1 = 1-log 2 approx 0.3069$.










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    Nice background story for the question. Looks taken from Games of Thrones...
    $endgroup$
    – DonAntonio
    Jun 8 at 23:22















5












$begingroup$



A man is to be executed at random time between 00:00 and 01:00. The
firing squad's accuracy decreases linearly, so that at 00:00 they
shoot perfectly, at 00:30 miss half the time, and at 01:00 miss
always. Also, with probability 1/2, a blank round of shots will be
used.



Given that the man survived, what is the probability that he faced a
live round?





At first I drew a diagram with time on x-axis, a horizontal line at $y=1/2$ with "blind round" above it and "live round" below. Then I divided that lower region with a diagonal to represent the falling accuracy, and got the answer $frac14 / (frac14+frac12) = frac13$ which a simulation seems to confirm.



I'm not sure why the following method gives an incorrect answer: at time $theta$, $P_theta (textsurvived)=theta/2 + 1/2$ and $P_theta(textlive rounds and survived) = theta/2$. Therefore $P_theta(text survived) = fracthetatheta+1$. Now integrate to get $int_0^1 P_theta dtheta = int_0^1 fracdtheta . thetatheta+1 = 1-log 2 approx 0.3069$.










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    Nice background story for the question. Looks taken from Games of Thrones...
    $endgroup$
    – DonAntonio
    Jun 8 at 23:22













5












5








5


5



$begingroup$



A man is to be executed at random time between 00:00 and 01:00. The
firing squad's accuracy decreases linearly, so that at 00:00 they
shoot perfectly, at 00:30 miss half the time, and at 01:00 miss
always. Also, with probability 1/2, a blank round of shots will be
used.



Given that the man survived, what is the probability that he faced a
live round?





At first I drew a diagram with time on x-axis, a horizontal line at $y=1/2$ with "blind round" above it and "live round" below. Then I divided that lower region with a diagonal to represent the falling accuracy, and got the answer $frac14 / (frac14+frac12) = frac13$ which a simulation seems to confirm.



I'm not sure why the following method gives an incorrect answer: at time $theta$, $P_theta (textsurvived)=theta/2 + 1/2$ and $P_theta(textlive rounds and survived) = theta/2$. Therefore $P_theta(text survived) = fracthetatheta+1$. Now integrate to get $int_0^1 P_theta dtheta = int_0^1 fracdtheta . thetatheta+1 = 1-log 2 approx 0.3069$.










share|cite|improve this question











$endgroup$





A man is to be executed at random time between 00:00 and 01:00. The
firing squad's accuracy decreases linearly, so that at 00:00 they
shoot perfectly, at 00:30 miss half the time, and at 01:00 miss
always. Also, with probability 1/2, a blank round of shots will be
used.



Given that the man survived, what is the probability that he faced a
live round?





At first I drew a diagram with time on x-axis, a horizontal line at $y=1/2$ with "blind round" above it and "live round" below. Then I divided that lower region with a diagonal to represent the falling accuracy, and got the answer $frac14 / (frac14+frac12) = frac13$ which a simulation seems to confirm.



I'm not sure why the following method gives an incorrect answer: at time $theta$, $P_theta (textsurvived)=theta/2 + 1/2$ and $P_theta(textlive rounds and survived) = theta/2$. Therefore $P_theta(text survived) = fracthetatheta+1$. Now integrate to get $int_0^1 P_theta dtheta = int_0^1 fracdtheta . thetatheta+1 = 1-log 2 approx 0.3069$.







probability probability-distributions






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jun 9 at 10:18









Klangen

2,08411336




2,08411336










asked Jun 8 at 22:57









MoronicMoronic

523




523







  • 2




    $begingroup$
    Nice background story for the question. Looks taken from Games of Thrones...
    $endgroup$
    – DonAntonio
    Jun 8 at 23:22












  • 2




    $begingroup$
    Nice background story for the question. Looks taken from Games of Thrones...
    $endgroup$
    – DonAntonio
    Jun 8 at 23:22







2




2




$begingroup$
Nice background story for the question. Looks taken from Games of Thrones...
$endgroup$
– DonAntonio
Jun 8 at 23:22




$begingroup$
Nice background story for the question. Looks taken from Games of Thrones...
$endgroup$
– DonAntonio
Jun 8 at 23:22










2 Answers
2






active

oldest

votes


















2












$begingroup$

The answer by @paulinho is excellent, but here's another way to explain why your second answer is wrong.



Let $L=$ live rounds, and $S =$ survive. I will use $P()$ for probability and $p()$ for pdf.



Your $theta over theta + 1 = P(L | theta, S)$. So if you integrate $int_0^1 theta over theta + 1; dtheta = int_0^1 P(L | theta, S); d theta$, since $theta$ is time, you are assuming that every moment is equally likely. However, when conditioned on survival, every moment is not equally likely!



You needed something akin to the pdf of $theta$, conditioned on $S$, shown in red below:



  • $P(L|S) = int_0^1 p(L, theta | S); d theta = int_0^1 P(L | theta, S) colorredp(theta ; d theta$

Frankly, finding $p(theta | S)$ requires basically solving the entire problem, so this is not a good way to proceed. Instead:



  • $p(L, theta | S) = p(L, theta, S) / P(S)$


  • $p(L, theta, S) = theta / 2$


  • So, $P(L|S) = int_0^1 theta / 2 over P(S) ; dtheta = int_0^1 (theta /2) dtheta over P(S)$ and you are back to the answer by @paulinho






share|cite|improve this answer











$endgroup$




















    6












    $begingroup$

    This is similar to the question, "does $displaystyle int fracf(x)g(x) dx= fracint f(x) dxint g(x) dx?$" The answer is no, and this will resolve your issue. We know that the probability of surviving given that he faced blank rounds is the probability of both divided by the probability of surviving. So the expression we're really looking for here is $$p = fracint_0^1 (theta/2)dthetaint_0^1 (theta/2 + 1/2)d theta=frac1/21 + 1/2 = boxed1/3.$$






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      Yes (+1), that pinpoints the error.
      $endgroup$
      – quasi
      Jun 8 at 23:45











    • $begingroup$
      I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
      $endgroup$
      – Moronic
      Jun 9 at 0:02












    Your Answer








    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%2f3255686%2fwhy-is-this-method-incorrect%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$

    The answer by @paulinho is excellent, but here's another way to explain why your second answer is wrong.



    Let $L=$ live rounds, and $S =$ survive. I will use $P()$ for probability and $p()$ for pdf.



    Your $theta over theta + 1 = P(L | theta, S)$. So if you integrate $int_0^1 theta over theta + 1; dtheta = int_0^1 P(L | theta, S); d theta$, since $theta$ is time, you are assuming that every moment is equally likely. However, when conditioned on survival, every moment is not equally likely!



    You needed something akin to the pdf of $theta$, conditioned on $S$, shown in red below:



    • $P(L|S) = int_0^1 p(L, theta | S); d theta = int_0^1 P(L | theta, S) colorredp(theta ; d theta$

    Frankly, finding $p(theta | S)$ requires basically solving the entire problem, so this is not a good way to proceed. Instead:



    • $p(L, theta | S) = p(L, theta, S) / P(S)$


    • $p(L, theta, S) = theta / 2$


    • So, $P(L|S) = int_0^1 theta / 2 over P(S) ; dtheta = int_0^1 (theta /2) dtheta over P(S)$ and you are back to the answer by @paulinho






    share|cite|improve this answer











    $endgroup$

















      2












      $begingroup$

      The answer by @paulinho is excellent, but here's another way to explain why your second answer is wrong.



      Let $L=$ live rounds, and $S =$ survive. I will use $P()$ for probability and $p()$ for pdf.



      Your $theta over theta + 1 = P(L | theta, S)$. So if you integrate $int_0^1 theta over theta + 1; dtheta = int_0^1 P(L | theta, S); d theta$, since $theta$ is time, you are assuming that every moment is equally likely. However, when conditioned on survival, every moment is not equally likely!



      You needed something akin to the pdf of $theta$, conditioned on $S$, shown in red below:



      • $P(L|S) = int_0^1 p(L, theta | S); d theta = int_0^1 P(L | theta, S) colorredp(theta ; d theta$

      Frankly, finding $p(theta | S)$ requires basically solving the entire problem, so this is not a good way to proceed. Instead:



      • $p(L, theta | S) = p(L, theta, S) / P(S)$


      • $p(L, theta, S) = theta / 2$


      • So, $P(L|S) = int_0^1 theta / 2 over P(S) ; dtheta = int_0^1 (theta /2) dtheta over P(S)$ and you are back to the answer by @paulinho






      share|cite|improve this answer











      $endgroup$















        2












        2








        2





        $begingroup$

        The answer by @paulinho is excellent, but here's another way to explain why your second answer is wrong.



        Let $L=$ live rounds, and $S =$ survive. I will use $P()$ for probability and $p()$ for pdf.



        Your $theta over theta + 1 = P(L | theta, S)$. So if you integrate $int_0^1 theta over theta + 1; dtheta = int_0^1 P(L | theta, S); d theta$, since $theta$ is time, you are assuming that every moment is equally likely. However, when conditioned on survival, every moment is not equally likely!



        You needed something akin to the pdf of $theta$, conditioned on $S$, shown in red below:



        • $P(L|S) = int_0^1 p(L, theta | S); d theta = int_0^1 P(L | theta, S) colorredp(theta ; d theta$

        Frankly, finding $p(theta | S)$ requires basically solving the entire problem, so this is not a good way to proceed. Instead:



        • $p(L, theta | S) = p(L, theta, S) / P(S)$


        • $p(L, theta, S) = theta / 2$


        • So, $P(L|S) = int_0^1 theta / 2 over P(S) ; dtheta = int_0^1 (theta /2) dtheta over P(S)$ and you are back to the answer by @paulinho






        share|cite|improve this answer











        $endgroup$



        The answer by @paulinho is excellent, but here's another way to explain why your second answer is wrong.



        Let $L=$ live rounds, and $S =$ survive. I will use $P()$ for probability and $p()$ for pdf.



        Your $theta over theta + 1 = P(L | theta, S)$. So if you integrate $int_0^1 theta over theta + 1; dtheta = int_0^1 P(L | theta, S); d theta$, since $theta$ is time, you are assuming that every moment is equally likely. However, when conditioned on survival, every moment is not equally likely!



        You needed something akin to the pdf of $theta$, conditioned on $S$, shown in red below:



        • $P(L|S) = int_0^1 p(L, theta | S); d theta = int_0^1 P(L | theta, S) colorredp(theta ; d theta$

        Frankly, finding $p(theta | S)$ requires basically solving the entire problem, so this is not a good way to proceed. Instead:



        • $p(L, theta | S) = p(L, theta, S) / P(S)$


        • $p(L, theta, S) = theta / 2$


        • So, $P(L|S) = int_0^1 theta / 2 over P(S) ; dtheta = int_0^1 (theta /2) dtheta over P(S)$ and you are back to the answer by @paulinho







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jun 9 at 7:27

























        answered Jun 9 at 6:58









        antkamantkam

        5,344415




        5,344415





















            6












            $begingroup$

            This is similar to the question, "does $displaystyle int fracf(x)g(x) dx= fracint f(x) dxint g(x) dx?$" The answer is no, and this will resolve your issue. We know that the probability of surviving given that he faced blank rounds is the probability of both divided by the probability of surviving. So the expression we're really looking for here is $$p = fracint_0^1 (theta/2)dthetaint_0^1 (theta/2 + 1/2)d theta=frac1/21 + 1/2 = boxed1/3.$$






            share|cite|improve this answer









            $endgroup$












            • $begingroup$
              Yes (+1), that pinpoints the error.
              $endgroup$
              – quasi
              Jun 8 at 23:45











            • $begingroup$
              I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
              $endgroup$
              – Moronic
              Jun 9 at 0:02
















            6












            $begingroup$

            This is similar to the question, "does $displaystyle int fracf(x)g(x) dx= fracint f(x) dxint g(x) dx?$" The answer is no, and this will resolve your issue. We know that the probability of surviving given that he faced blank rounds is the probability of both divided by the probability of surviving. So the expression we're really looking for here is $$p = fracint_0^1 (theta/2)dthetaint_0^1 (theta/2 + 1/2)d theta=frac1/21 + 1/2 = boxed1/3.$$






            share|cite|improve this answer









            $endgroup$












            • $begingroup$
              Yes (+1), that pinpoints the error.
              $endgroup$
              – quasi
              Jun 8 at 23:45











            • $begingroup$
              I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
              $endgroup$
              – Moronic
              Jun 9 at 0:02














            6












            6








            6





            $begingroup$

            This is similar to the question, "does $displaystyle int fracf(x)g(x) dx= fracint f(x) dxint g(x) dx?$" The answer is no, and this will resolve your issue. We know that the probability of surviving given that he faced blank rounds is the probability of both divided by the probability of surviving. So the expression we're really looking for here is $$p = fracint_0^1 (theta/2)dthetaint_0^1 (theta/2 + 1/2)d theta=frac1/21 + 1/2 = boxed1/3.$$






            share|cite|improve this answer









            $endgroup$



            This is similar to the question, "does $displaystyle int fracf(x)g(x) dx= fracint f(x) dxint g(x) dx?$" The answer is no, and this will resolve your issue. We know that the probability of surviving given that he faced blank rounds is the probability of both divided by the probability of surviving. So the expression we're really looking for here is $$p = fracint_0^1 (theta/2)dthetaint_0^1 (theta/2 + 1/2)d theta=frac1/21 + 1/2 = boxed1/3.$$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jun 8 at 23:38









            paulinhopaulinho

            851111




            851111











            • $begingroup$
              Yes (+1), that pinpoints the error.
              $endgroup$
              – quasi
              Jun 8 at 23:45











            • $begingroup$
              I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
              $endgroup$
              – Moronic
              Jun 9 at 0:02

















            • $begingroup$
              Yes (+1), that pinpoints the error.
              $endgroup$
              – quasi
              Jun 8 at 23:45











            • $begingroup$
              I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
              $endgroup$
              – Moronic
              Jun 9 at 0:02
















            $begingroup$
            Yes (+1), that pinpoints the error.
            $endgroup$
            – quasi
            Jun 8 at 23:45





            $begingroup$
            Yes (+1), that pinpoints the error.
            $endgroup$
            – quasi
            Jun 8 at 23:45













            $begingroup$
            I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
            $endgroup$
            – Moronic
            Jun 9 at 0:02





            $begingroup$
            I understand why these integrals aren't equal, but I don't understand why "$int_0^1 fracx.dxx+1$" does not define the correct answer. What is this value?
            $endgroup$
            – Moronic
            Jun 9 at 0:02


















            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%2f3255686%2fwhy-is-this-method-incorrect%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

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?