expected value of Consecutive numbers [duplicate]












4












$begingroup$



This question already has an answer here:




  • Probability and expectancy problem [closed]

    2 answers




We choose randomly a subset $mathit S$ of size 25 from the set ${ 1,2,...,100}$ , what is the expected value of number of Consecutive numbers in $mathit S$?



Consecutive numbers in $mathit S$: is a pair ${ i,i+1}$ where i$in$$mathit S$ and i+1$in$$mathit S$.










share|cite|improve this question











$endgroup$



marked as duplicate by StubbornAtom, amWhy, A. Pongrácz, Did, Leucippus Dec 11 '18 at 0:03


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • $begingroup$
    Hint: What is the probability that both $1$ and $2$ are in your randomly chosen subset?
    $endgroup$
    – JMoravitz
    Dec 8 '18 at 16:52










  • $begingroup$
    it is:$frac{binom{98}{23}}{binom{100}{25}}$ as Parcly mentioned below,that is the probability of any consecutive pairs not only 1 and 2.If we multiply that by number of possible consecutive pairs we will get the expected value we are looking for.@JMoravitz
    $endgroup$
    – MathStudent
    Dec 8 '18 at 17:17


















4












$begingroup$



This question already has an answer here:




  • Probability and expectancy problem [closed]

    2 answers




We choose randomly a subset $mathit S$ of size 25 from the set ${ 1,2,...,100}$ , what is the expected value of number of Consecutive numbers in $mathit S$?



Consecutive numbers in $mathit S$: is a pair ${ i,i+1}$ where i$in$$mathit S$ and i+1$in$$mathit S$.










share|cite|improve this question











$endgroup$



marked as duplicate by StubbornAtom, amWhy, A. Pongrácz, Did, Leucippus Dec 11 '18 at 0:03


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • $begingroup$
    Hint: What is the probability that both $1$ and $2$ are in your randomly chosen subset?
    $endgroup$
    – JMoravitz
    Dec 8 '18 at 16:52










  • $begingroup$
    it is:$frac{binom{98}{23}}{binom{100}{25}}$ as Parcly mentioned below,that is the probability of any consecutive pairs not only 1 and 2.If we multiply that by number of possible consecutive pairs we will get the expected value we are looking for.@JMoravitz
    $endgroup$
    – MathStudent
    Dec 8 '18 at 17:17
















4












4








4





$begingroup$



This question already has an answer here:




  • Probability and expectancy problem [closed]

    2 answers




We choose randomly a subset $mathit S$ of size 25 from the set ${ 1,2,...,100}$ , what is the expected value of number of Consecutive numbers in $mathit S$?



Consecutive numbers in $mathit S$: is a pair ${ i,i+1}$ where i$in$$mathit S$ and i+1$in$$mathit S$.










share|cite|improve this question











$endgroup$





This question already has an answer here:




  • Probability and expectancy problem [closed]

    2 answers




We choose randomly a subset $mathit S$ of size 25 from the set ${ 1,2,...,100}$ , what is the expected value of number of Consecutive numbers in $mathit S$?



Consecutive numbers in $mathit S$: is a pair ${ i,i+1}$ where i$in$$mathit S$ and i+1$in$$mathit S$.





This question already has an answer here:




  • Probability and expectancy problem [closed]

    2 answers








probability expected-value






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 8 '18 at 17:07







MathStudent

















asked Dec 8 '18 at 16:42









MathStudentMathStudent

284




284




marked as duplicate by StubbornAtom, amWhy, A. Pongrácz, Did, Leucippus Dec 11 '18 at 0:03


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by StubbornAtom, amWhy, A. Pongrácz, Did, Leucippus Dec 11 '18 at 0:03


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • $begingroup$
    Hint: What is the probability that both $1$ and $2$ are in your randomly chosen subset?
    $endgroup$
    – JMoravitz
    Dec 8 '18 at 16:52










  • $begingroup$
    it is:$frac{binom{98}{23}}{binom{100}{25}}$ as Parcly mentioned below,that is the probability of any consecutive pairs not only 1 and 2.If we multiply that by number of possible consecutive pairs we will get the expected value we are looking for.@JMoravitz
    $endgroup$
    – MathStudent
    Dec 8 '18 at 17:17




















  • $begingroup$
    Hint: What is the probability that both $1$ and $2$ are in your randomly chosen subset?
    $endgroup$
    – JMoravitz
    Dec 8 '18 at 16:52










  • $begingroup$
    it is:$frac{binom{98}{23}}{binom{100}{25}}$ as Parcly mentioned below,that is the probability of any consecutive pairs not only 1 and 2.If we multiply that by number of possible consecutive pairs we will get the expected value we are looking for.@JMoravitz
    $endgroup$
    – MathStudent
    Dec 8 '18 at 17:17


















$begingroup$
Hint: What is the probability that both $1$ and $2$ are in your randomly chosen subset?
$endgroup$
– JMoravitz
Dec 8 '18 at 16:52




$begingroup$
Hint: What is the probability that both $1$ and $2$ are in your randomly chosen subset?
$endgroup$
– JMoravitz
Dec 8 '18 at 16:52












$begingroup$
it is:$frac{binom{98}{23}}{binom{100}{25}}$ as Parcly mentioned below,that is the probability of any consecutive pairs not only 1 and 2.If we multiply that by number of possible consecutive pairs we will get the expected value we are looking for.@JMoravitz
$endgroup$
– MathStudent
Dec 8 '18 at 17:17






$begingroup$
it is:$frac{binom{98}{23}}{binom{100}{25}}$ as Parcly mentioned below,that is the probability of any consecutive pairs not only 1 and 2.If we multiply that by number of possible consecutive pairs we will get the expected value we are looking for.@JMoravitz
$endgroup$
– MathStudent
Dec 8 '18 at 17:17












1 Answer
1






active

oldest

votes


















3












$begingroup$

Linearity of expectation is the key. There are 99 consecutive pairs, each one having a $frac{binom{98}{23}}{binom{100}{25}}=frac{25×24}{100×99}$ chance of being selected. Thus the expected number of consecutive pairs is $frac{25×24×99}{100×99}=6$.






share|cite|improve this answer









$endgroup$




















    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3












    $begingroup$

    Linearity of expectation is the key. There are 99 consecutive pairs, each one having a $frac{binom{98}{23}}{binom{100}{25}}=frac{25×24}{100×99}$ chance of being selected. Thus the expected number of consecutive pairs is $frac{25×24×99}{100×99}=6$.






    share|cite|improve this answer









    $endgroup$


















      3












      $begingroup$

      Linearity of expectation is the key. There are 99 consecutive pairs, each one having a $frac{binom{98}{23}}{binom{100}{25}}=frac{25×24}{100×99}$ chance of being selected. Thus the expected number of consecutive pairs is $frac{25×24×99}{100×99}=6$.






      share|cite|improve this answer









      $endgroup$
















        3












        3








        3





        $begingroup$

        Linearity of expectation is the key. There are 99 consecutive pairs, each one having a $frac{binom{98}{23}}{binom{100}{25}}=frac{25×24}{100×99}$ chance of being selected. Thus the expected number of consecutive pairs is $frac{25×24×99}{100×99}=6$.






        share|cite|improve this answer









        $endgroup$



        Linearity of expectation is the key. There are 99 consecutive pairs, each one having a $frac{binom{98}{23}}{binom{100}{25}}=frac{25×24}{100×99}$ chance of being selected. Thus the expected number of consecutive pairs is $frac{25×24×99}{100×99}=6$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 8 '18 at 17:07









        Parcly TaxelParcly Taxel

        41.8k1372101




        41.8k1372101















            Popular posts from this blog

            Plaza Victoria

            How to extract passwords from Mobaxterm Free Version

            IC on Digikey is 5x more expensive than board containing same IC on Alibaba: How? [on hold]