100 numbers chosen on unit interval












1












$begingroup$


100 numbers are chosen from the interval [0, 1], independently of each other. What is the probability that the 2nd largest # is <1/2? My reasoning was a) all 100 chosen are less then 1/2
b) 99 are less then 1/2 and one is more
This would give (1/2)^100 OR the probability of 99 less then 1/2 and one greater . Would i not need binomial theorem since im also factoring the number if ways to CHOOSE the 99 numbers ??










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    If the second largest number is less than $frac{1}{2}$ then you are looking for the probability that at most one number is greater than or equal to $frac{1}{2}$. This is equivalent to finding the probability that you toss at most $1$ head in $100$ tosses of a fair coin so yes, the binomial theorem is a good way to go.
    $endgroup$
    – John Douma
    Dec 31 '18 at 9:09


















1












$begingroup$


100 numbers are chosen from the interval [0, 1], independently of each other. What is the probability that the 2nd largest # is <1/2? My reasoning was a) all 100 chosen are less then 1/2
b) 99 are less then 1/2 and one is more
This would give (1/2)^100 OR the probability of 99 less then 1/2 and one greater . Would i not need binomial theorem since im also factoring the number if ways to CHOOSE the 99 numbers ??










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    If the second largest number is less than $frac{1}{2}$ then you are looking for the probability that at most one number is greater than or equal to $frac{1}{2}$. This is equivalent to finding the probability that you toss at most $1$ head in $100$ tosses of a fair coin so yes, the binomial theorem is a good way to go.
    $endgroup$
    – John Douma
    Dec 31 '18 at 9:09
















1












1








1


1



$begingroup$


100 numbers are chosen from the interval [0, 1], independently of each other. What is the probability that the 2nd largest # is <1/2? My reasoning was a) all 100 chosen are less then 1/2
b) 99 are less then 1/2 and one is more
This would give (1/2)^100 OR the probability of 99 less then 1/2 and one greater . Would i not need binomial theorem since im also factoring the number if ways to CHOOSE the 99 numbers ??










share|cite|improve this question









$endgroup$




100 numbers are chosen from the interval [0, 1], independently of each other. What is the probability that the 2nd largest # is <1/2? My reasoning was a) all 100 chosen are less then 1/2
b) 99 are less then 1/2 and one is more
This would give (1/2)^100 OR the probability of 99 less then 1/2 and one greater . Would i not need binomial theorem since im also factoring the number if ways to CHOOSE the 99 numbers ??







probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 31 '18 at 9:02









RandinRandin

347116




347116








  • 2




    $begingroup$
    If the second largest number is less than $frac{1}{2}$ then you are looking for the probability that at most one number is greater than or equal to $frac{1}{2}$. This is equivalent to finding the probability that you toss at most $1$ head in $100$ tosses of a fair coin so yes, the binomial theorem is a good way to go.
    $endgroup$
    – John Douma
    Dec 31 '18 at 9:09
















  • 2




    $begingroup$
    If the second largest number is less than $frac{1}{2}$ then you are looking for the probability that at most one number is greater than or equal to $frac{1}{2}$. This is equivalent to finding the probability that you toss at most $1$ head in $100$ tosses of a fair coin so yes, the binomial theorem is a good way to go.
    $endgroup$
    – John Douma
    Dec 31 '18 at 9:09










2




2




$begingroup$
If the second largest number is less than $frac{1}{2}$ then you are looking for the probability that at most one number is greater than or equal to $frac{1}{2}$. This is equivalent to finding the probability that you toss at most $1$ head in $100$ tosses of a fair coin so yes, the binomial theorem is a good way to go.
$endgroup$
– John Douma
Dec 31 '18 at 9:09






$begingroup$
If the second largest number is less than $frac{1}{2}$ then you are looking for the probability that at most one number is greater than or equal to $frac{1}{2}$. This is equivalent to finding the probability that you toss at most $1$ head in $100$ tosses of a fair coin so yes, the binomial theorem is a good way to go.
$endgroup$
– John Douma
Dec 31 '18 at 9:09












2 Answers
2






active

oldest

votes


















1












$begingroup$

I would go about it using order statistics. Let the 100 independent random variables are $X_1,,X_2,,cdots,,X_{100}$ where all are uniformly distributed in $[0,,1]$. Arrange them as $$X_{(1)}leq X_{(2)}leqcdotsleq X_{(99)}leq X_{(100)}$$ Then you need to find $$Prleft[X_{(99)}<frac{1}{2}right]=sum_{i=99}^{100}{100choose i}F_X^i(0.5)left[1-F_X(0.5)right]^{100-i}$$ where $F_X(x)$ is the CDF of the random variables.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    @greedoid What part?
    $endgroup$
    – BlackMath
    Jan 8 at 0:08



















2












$begingroup$

Indeed binomial distribution with parameters $n=100$ and $p=0.5$.



Let's say that there is a success if the chosen number does not exceed $0.5$.



The event that the second largest does not exceed $0.5$ is the same as the event that there are at least $99$ successes.



So to be found is: $$P(Xgeq99)=P(X=99)+P(X=100)=0.5^{100}left(binom{100}{99}+binom{100}{100}right)=0.5^{100}cdot101$$






share|cite|improve this answer









$endgroup$














    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%2f3057527%2f100-numbers-chosen-on-unit-interval%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









    1












    $begingroup$

    I would go about it using order statistics. Let the 100 independent random variables are $X_1,,X_2,,cdots,,X_{100}$ where all are uniformly distributed in $[0,,1]$. Arrange them as $$X_{(1)}leq X_{(2)}leqcdotsleq X_{(99)}leq X_{(100)}$$ Then you need to find $$Prleft[X_{(99)}<frac{1}{2}right]=sum_{i=99}^{100}{100choose i}F_X^i(0.5)left[1-F_X(0.5)right]^{100-i}$$ where $F_X(x)$ is the CDF of the random variables.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      @greedoid What part?
      $endgroup$
      – BlackMath
      Jan 8 at 0:08
















    1












    $begingroup$

    I would go about it using order statistics. Let the 100 independent random variables are $X_1,,X_2,,cdots,,X_{100}$ where all are uniformly distributed in $[0,,1]$. Arrange them as $$X_{(1)}leq X_{(2)}leqcdotsleq X_{(99)}leq X_{(100)}$$ Then you need to find $$Prleft[X_{(99)}<frac{1}{2}right]=sum_{i=99}^{100}{100choose i}F_X^i(0.5)left[1-F_X(0.5)right]^{100-i}$$ where $F_X(x)$ is the CDF of the random variables.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      @greedoid What part?
      $endgroup$
      – BlackMath
      Jan 8 at 0:08














    1












    1








    1





    $begingroup$

    I would go about it using order statistics. Let the 100 independent random variables are $X_1,,X_2,,cdots,,X_{100}$ where all are uniformly distributed in $[0,,1]$. Arrange them as $$X_{(1)}leq X_{(2)}leqcdotsleq X_{(99)}leq X_{(100)}$$ Then you need to find $$Prleft[X_{(99)}<frac{1}{2}right]=sum_{i=99}^{100}{100choose i}F_X^i(0.5)left[1-F_X(0.5)right]^{100-i}$$ where $F_X(x)$ is the CDF of the random variables.






    share|cite|improve this answer









    $endgroup$



    I would go about it using order statistics. Let the 100 independent random variables are $X_1,,X_2,,cdots,,X_{100}$ where all are uniformly distributed in $[0,,1]$. Arrange them as $$X_{(1)}leq X_{(2)}leqcdotsleq X_{(99)}leq X_{(100)}$$ Then you need to find $$Prleft[X_{(99)}<frac{1}{2}right]=sum_{i=99}^{100}{100choose i}F_X^i(0.5)left[1-F_X(0.5)right]^{100-i}$$ where $F_X(x)$ is the CDF of the random variables.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Dec 31 '18 at 10:10









    BlackMathBlackMath

    31518




    31518












    • $begingroup$
      @greedoid What part?
      $endgroup$
      – BlackMath
      Jan 8 at 0:08


















    • $begingroup$
      @greedoid What part?
      $endgroup$
      – BlackMath
      Jan 8 at 0:08
















    $begingroup$
    @greedoid What part?
    $endgroup$
    – BlackMath
    Jan 8 at 0:08




    $begingroup$
    @greedoid What part?
    $endgroup$
    – BlackMath
    Jan 8 at 0:08











    2












    $begingroup$

    Indeed binomial distribution with parameters $n=100$ and $p=0.5$.



    Let's say that there is a success if the chosen number does not exceed $0.5$.



    The event that the second largest does not exceed $0.5$ is the same as the event that there are at least $99$ successes.



    So to be found is: $$P(Xgeq99)=P(X=99)+P(X=100)=0.5^{100}left(binom{100}{99}+binom{100}{100}right)=0.5^{100}cdot101$$






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      Indeed binomial distribution with parameters $n=100$ and $p=0.5$.



      Let's say that there is a success if the chosen number does not exceed $0.5$.



      The event that the second largest does not exceed $0.5$ is the same as the event that there are at least $99$ successes.



      So to be found is: $$P(Xgeq99)=P(X=99)+P(X=100)=0.5^{100}left(binom{100}{99}+binom{100}{100}right)=0.5^{100}cdot101$$






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        Indeed binomial distribution with parameters $n=100$ and $p=0.5$.



        Let's say that there is a success if the chosen number does not exceed $0.5$.



        The event that the second largest does not exceed $0.5$ is the same as the event that there are at least $99$ successes.



        So to be found is: $$P(Xgeq99)=P(X=99)+P(X=100)=0.5^{100}left(binom{100}{99}+binom{100}{100}right)=0.5^{100}cdot101$$






        share|cite|improve this answer









        $endgroup$



        Indeed binomial distribution with parameters $n=100$ and $p=0.5$.



        Let's say that there is a success if the chosen number does not exceed $0.5$.



        The event that the second largest does not exceed $0.5$ is the same as the event that there are at least $99$ successes.



        So to be found is: $$P(Xgeq99)=P(X=99)+P(X=100)=0.5^{100}left(binom{100}{99}+binom{100}{100}right)=0.5^{100}cdot101$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 31 '18 at 9:11









        drhabdrhab

        104k545136




        104k545136






























            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%2f3057527%2f100-numbers-chosen-on-unit-interval%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?