Re: Probability problem - couting number of distinct elements



> Hi all, i have the following problem: suppose we have
> a bag with N
> balls with different colors. Randomly, i take one
> ball from the bag,
> record the color, and put it back in the bag. Now,
> the question is:
> after taking k balls from the bag, what's the
> expected number of
> different colors i have seen? Any suggestion? Thanks!
> --Ricardo
>

What's the probability that the red ball has been chosen?
Think of that as the expected value of a variable which
is 1 when the ball is chosen, 0 when not.
Then use linearity of expectation:
expected value of sum of two random variables is
the sum of their individual expected values.
.



Relevant Pages

  • Looper Lore
    ... I've seen guys play cards with the Caddy Master from 7:00 AM till Noon ... who has made over a quarter million bucks caddying for Duval. ... He shows up with this big-ass Titleist Staff bag. ... all the extra practice shots the previous day so he stuck to one ball ...
    (rec.sport.golf)
  • Re: prepositions
    ... Here the adverb _before_ seems to qualify the whole clause. ... I put the pen in the bag. ... I threw the ball to Peter. ...
    (sci.lang)
  • Re: My Experience as a Caddy
    ... >If you think being a caddie is all that great, ... I've seen guys play cards with the Caddy Master from 7:00 AM till Noon ... He shows up with this big-ass Titleist Staff bag. ... all the extra practice shots the previous day so he stuck to one ball ...
    (rec.sport.golf)
  • Negative information (was: Help support non-crazy scientist?)
    ... Back the non-ironic point though, yes, I think negative information is ... Now, clearly, the bag contains information about the color of the ball ... Here the bag with the ball here is analogous to an undisturbed quantum ...
    (rec.arts.sf.composition)
  • Re: Probability problem - couting number of distinct elements
    ... >> ball from the bag, ... >What's the probability that the red ball has been chosen? ... >Then use linearity of expectation: ... >the sum of their individual expected values. ...
    (sci.math)