$\renewcommand{\Bg}[1]{ \Bigl( #1 \Bigr) }$Suppose I have a jar with $10$ blue balls and $20$ red balls. What I do is, I pick up the balls at random ( with replacement ) and find the probability of getting a certain number of blue or red balls.
This can be modelled using a binomial distribution. Let $r$ be the number of blue balls (success) and $n$ be the total number of trials. Now suppose I have this friend who doesn't know the number of blue or red balls inside the jar. So, essentially he doesn't know the probability of success or failure. However, I don't tell him, the number of balls or anything. The only thing he knows is the total number of balls. What he does is picks up a ball at random from the jar, and notes it's colour. He repeats this experiment many many times, and comes to the conclusion that $\frac{1}{3}$ of the time, the colour blue appears. From this, he concludes, the probability of obtaining a blue ball must be $1/3$
This friend of mine now wants to check each ball, and find the probability of getting a certain number of blue balls. Since there are $30$ balls, he's going to pick a ball at random $30$ times, and find the probability of getting a certain number of blues. For example, the probability of $r$ blue balls would be modelled by :
$$ P(r)={\sideset{^{30}}{_r}C}\space p_i^r(1-p_i)^{1-r} = {\sideset{^{30}}{_r}C}\space \Bg{\frac{1}{3}}^r \Bg{1-\frac{1}{3}}^{1-r}$$
Now, according to him, the mean of this distribution is given by $\mu=30p_i=10$
My question is, how would my friend interpret this mean value? Would this represent the expected number of blue balls inside the bag ( I say expected, because he's not sure, and according to him the number of blue balls is given by this distribution ) ?
If the bag has $30$ balls, and you draw a single ball at random $30$ times, and find the expectation value for the number of blue balls to be $10$, does this mean that if you repeat this experiment infinite times, you expect to get $10$ out of $30$ blue balls more times than any other number of blue balls ( I'm not comparing no. of times you get $10$ blue balls vs no. of times you don't. Instead I'm comparing no. of times you get $10$ vs no. of times you get $8$ or say $23$ i.e. individual probabilities. )
Hence, if you pick a random ball from the jar $30$ times, you expect to find $10$ blue ones. Does this also mean that the 'expected' number of blue balls inside the jar is also $30$ ? Is the mean value of the no. of blue balls inside the jar, the same as the mean value of the number of blue balls you get when you pick a ball at random, $30$ times from the jar ? Are these equivalent ?