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

How well known and how commonly used was Huffman coding in 1979?

Is my Rep in Stack-Exchange Form?

Is there any set of 2-6 notes that doesn't have a chord name?

Why isn’t the tax system continuous rather than bracketed?

Counting occurrence of words in table is slow

Why is C++ initial allocation so much larger than C's?

Do French speakers not use the subjunctive informally?

STM Microcontroller burns every time

Why would people reject a god's purely beneficial blessing?

How can I convince my reader that I will not use a certain trope?

Layout of complex table

Calculating the partial sum of a expl3 sequence

Syntax Error with 'if'

Symbolic equivalent of chmod 400

What is this opening trap called, and how should I play afterwards? How can I refute the gambit, and play if I accept it?

What determines the "strength of impact" of a falling object on the ground, momentum or energy?

How to append a matrix element by element?

Is this one of the engines from the 9/11 aircraft?

What is this particular type of chord progression, common in classical music, called?

Averting Real Women Don’t Wear Dresses

Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?

How could mana leakage be dangerous to a elf?

Are Finite Automata Turing Complete?

Can a US president have someone sent to prison?



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






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








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(textlive rounds ) = 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(textlive rounds ) = 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(textlive rounds ) = 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(textlive rounds ) = 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,1051 gold badge13 silver badges36 bronze badges




2,1051 gold badge13 silver badges36 bronze badges










asked Jun 8 at 22:57









MoronicMoronic

523 bronze badges




523 bronze badges







  • 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,3604 silver badges15 bronze badges




        5,3604 silver badges15 bronze badges























            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

            9451 silver badge11 bronze badges




            9451 silver badge11 bronze badges











            • $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

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company