Runs Application Probability Problem Feller

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Taken from a problem in Feller's Probability Theory Vol. 1 Chapter 2 Section 5:



Suppose that an observation yielded the following arrangement of empty and occupied seats along a lunch counter: EOEEOEEEOEEEOEOE. There are $11$ runs here, and Feller argues that the probability of eleven runs would be $0.0578...$ and so therefore it is unlikely that this arrangement is due to chance, and this excess of runs (with five occupied and eleven empty seats it is impossible to get more than eleven runs) points to intentional mixing (people not wanting to sit next to each other if possible). Feller grabs this number out the air, so does anyone know how he calculates $0.0578..$ and how one would do this in a more general case.



Thank you.







share|cite|improve this question























    up vote
    1
    down vote

    favorite












    Taken from a problem in Feller's Probability Theory Vol. 1 Chapter 2 Section 5:



    Suppose that an observation yielded the following arrangement of empty and occupied seats along a lunch counter: EOEEOEEEOEEEOEOE. There are $11$ runs here, and Feller argues that the probability of eleven runs would be $0.0578...$ and so therefore it is unlikely that this arrangement is due to chance, and this excess of runs (with five occupied and eleven empty seats it is impossible to get more than eleven runs) points to intentional mixing (people not wanting to sit next to each other if possible). Feller grabs this number out the air, so does anyone know how he calculates $0.0578..$ and how one would do this in a more general case.



    Thank you.







    share|cite|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Taken from a problem in Feller's Probability Theory Vol. 1 Chapter 2 Section 5:



      Suppose that an observation yielded the following arrangement of empty and occupied seats along a lunch counter: EOEEOEEEOEEEOEOE. There are $11$ runs here, and Feller argues that the probability of eleven runs would be $0.0578...$ and so therefore it is unlikely that this arrangement is due to chance, and this excess of runs (with five occupied and eleven empty seats it is impossible to get more than eleven runs) points to intentional mixing (people not wanting to sit next to each other if possible). Feller grabs this number out the air, so does anyone know how he calculates $0.0578..$ and how one would do this in a more general case.



      Thank you.







      share|cite|improve this question











      Taken from a problem in Feller's Probability Theory Vol. 1 Chapter 2 Section 5:



      Suppose that an observation yielded the following arrangement of empty and occupied seats along a lunch counter: EOEEOEEEOEEEOEOE. There are $11$ runs here, and Feller argues that the probability of eleven runs would be $0.0578...$ and so therefore it is unlikely that this arrangement is due to chance, and this excess of runs (with five occupied and eleven empty seats it is impossible to get more than eleven runs) points to intentional mixing (people not wanting to sit next to each other if possible). Feller grabs this number out the air, so does anyone know how he calculates $0.0578..$ and how one would do this in a more general case.



      Thank you.









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Aug 5 at 23:42









      Daniele1234

      716215




      716215




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          I think it is possible that Feller's calculator was off by 0.0001, since I am getting the answer to be 0.0577 after rounding. (It is 3/52).



          So, how do we go about calculating this? This is a simple counting argument: Assuming a length 16 string with 6 Es and 10 Os, how do we count the probability of getting a string that has 11 "runs" (by a run, we refer to a contiguous sequence of Es or Os)?



          We quickly note that (like OP noted) that 11 is indeed the maximum, and the only way that that can happen is if we start and with an E, and between each E there is at least one E. This reduces the problem to a stars and bars problem, since any string we have must be of the form:



          E $B_1$ O E $B_2$ O E $B_3$ O E $B_4$ O E $B_5$ O E $B_6$ where $B_i$ contains some number of Es and the sum of all Es in all those buckets is 5 (we used 6 of them to guarantee that we have 11 runs). Now, by using a stars and bars argument, you can count the number of such strings is $binom105$ (to count, just note that permutations of 5 stars and 5 bars corresponds to filling 6 buckets with 5 Es).



          Now, just count the total number of options, which is $binom165$, and thus the ratio is indeed $fracbinom105binom165$ which is approximately 0.0577.






          share|cite|improve this answer





















            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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f2873439%2fruns-application-probability-problem-feller%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            I think it is possible that Feller's calculator was off by 0.0001, since I am getting the answer to be 0.0577 after rounding. (It is 3/52).



            So, how do we go about calculating this? This is a simple counting argument: Assuming a length 16 string with 6 Es and 10 Os, how do we count the probability of getting a string that has 11 "runs" (by a run, we refer to a contiguous sequence of Es or Os)?



            We quickly note that (like OP noted) that 11 is indeed the maximum, and the only way that that can happen is if we start and with an E, and between each E there is at least one E. This reduces the problem to a stars and bars problem, since any string we have must be of the form:



            E $B_1$ O E $B_2$ O E $B_3$ O E $B_4$ O E $B_5$ O E $B_6$ where $B_i$ contains some number of Es and the sum of all Es in all those buckets is 5 (we used 6 of them to guarantee that we have 11 runs). Now, by using a stars and bars argument, you can count the number of such strings is $binom105$ (to count, just note that permutations of 5 stars and 5 bars corresponds to filling 6 buckets with 5 Es).



            Now, just count the total number of options, which is $binom165$, and thus the ratio is indeed $fracbinom105binom165$ which is approximately 0.0577.






            share|cite|improve this answer

























              up vote
              1
              down vote



              accepted










              I think it is possible that Feller's calculator was off by 0.0001, since I am getting the answer to be 0.0577 after rounding. (It is 3/52).



              So, how do we go about calculating this? This is a simple counting argument: Assuming a length 16 string with 6 Es and 10 Os, how do we count the probability of getting a string that has 11 "runs" (by a run, we refer to a contiguous sequence of Es or Os)?



              We quickly note that (like OP noted) that 11 is indeed the maximum, and the only way that that can happen is if we start and with an E, and between each E there is at least one E. This reduces the problem to a stars and bars problem, since any string we have must be of the form:



              E $B_1$ O E $B_2$ O E $B_3$ O E $B_4$ O E $B_5$ O E $B_6$ where $B_i$ contains some number of Es and the sum of all Es in all those buckets is 5 (we used 6 of them to guarantee that we have 11 runs). Now, by using a stars and bars argument, you can count the number of such strings is $binom105$ (to count, just note that permutations of 5 stars and 5 bars corresponds to filling 6 buckets with 5 Es).



              Now, just count the total number of options, which is $binom165$, and thus the ratio is indeed $fracbinom105binom165$ which is approximately 0.0577.






              share|cite|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                I think it is possible that Feller's calculator was off by 0.0001, since I am getting the answer to be 0.0577 after rounding. (It is 3/52).



                So, how do we go about calculating this? This is a simple counting argument: Assuming a length 16 string with 6 Es and 10 Os, how do we count the probability of getting a string that has 11 "runs" (by a run, we refer to a contiguous sequence of Es or Os)?



                We quickly note that (like OP noted) that 11 is indeed the maximum, and the only way that that can happen is if we start and with an E, and between each E there is at least one E. This reduces the problem to a stars and bars problem, since any string we have must be of the form:



                E $B_1$ O E $B_2$ O E $B_3$ O E $B_4$ O E $B_5$ O E $B_6$ where $B_i$ contains some number of Es and the sum of all Es in all those buckets is 5 (we used 6 of them to guarantee that we have 11 runs). Now, by using a stars and bars argument, you can count the number of such strings is $binom105$ (to count, just note that permutations of 5 stars and 5 bars corresponds to filling 6 buckets with 5 Es).



                Now, just count the total number of options, which is $binom165$, and thus the ratio is indeed $fracbinom105binom165$ which is approximately 0.0577.






                share|cite|improve this answer













                I think it is possible that Feller's calculator was off by 0.0001, since I am getting the answer to be 0.0577 after rounding. (It is 3/52).



                So, how do we go about calculating this? This is a simple counting argument: Assuming a length 16 string with 6 Es and 10 Os, how do we count the probability of getting a string that has 11 "runs" (by a run, we refer to a contiguous sequence of Es or Os)?



                We quickly note that (like OP noted) that 11 is indeed the maximum, and the only way that that can happen is if we start and with an E, and between each E there is at least one E. This reduces the problem to a stars and bars problem, since any string we have must be of the form:



                E $B_1$ O E $B_2$ O E $B_3$ O E $B_4$ O E $B_5$ O E $B_6$ where $B_i$ contains some number of Es and the sum of all Es in all those buckets is 5 (we used 6 of them to guarantee that we have 11 runs). Now, by using a stars and bars argument, you can count the number of such strings is $binom105$ (to count, just note that permutations of 5 stars and 5 bars corresponds to filling 6 buckets with 5 Es).



                Now, just count the total number of options, which is $binom165$, and thus the ratio is indeed $fracbinom105binom165$ which is approximately 0.0577.







                share|cite|improve this answer













                share|cite|improve this answer



                share|cite|improve this answer











                answered Aug 6 at 0:05









                E-A

                1,8101312




                1,8101312






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2873439%2fruns-application-probability-problem-feller%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What is the equation of a 3D cone with generalised tilt?

                    Relationship between determinant of matrix and determinant of adjoint?

                    Color the edges and diagonals of a regular polygon