A production line is making 4 color (red, blue,green,yellow) gumballs and dropping 7 balls in a small bottle and 24 balls in a large bottle. Both bottles are sold as a pack. All balls have equal probability and the production line is making a 10 thousand a day.
What is the probability that the smaller bottle has exactly one red ball, and the larger bottle has exactly 7 red balls.
Will the probability of smaller bottle be multiplied with larger bottle. How to calculate the cumulative probability ? Any ideas anyone please.
Well, if this is it, there are some ambiguities, or at least some issues to make more precise.
We need to assume that:
Under those circumstances, if we call $R_S$ and $R_L$ to the number of red balls in the small and the large bottle, respectively, then:
(The answer, at the end).
If you know that, then is easy to do the calculations since, as we said, we want $$P(R_S=1 \wedge R_L=7) = P(R_S=1) \cdot P(R_L=7).$$
But I don't quite get to which random variable you refer when you ask for the cumulative distribution. $R_S$? $R_L$? Their sum? Something else?
ANSWER: It's clear that $$R_S \sim Bin(7,0.25) \quad \text{and} \quad R_L \sim Bin(24,0.25).$$
UPDATE: That probability (the 1,7 combination) is the number you get in the previous calculations. Let's call that result $P(R_S=1 \wedge R_L=7):=p_*$.
Then, to discuss how many times will that haven among $n$ packs, has nothing to do with cumulative probabilities of the variables we've been defining. Now you are repeating $n$ independent times (n=1000, 5000, etc.) an experiment (preparing a pack and checking if it has the desired number of red balls); so the number of "successful" packages (say $X$) among $n$ is again a binomial r.v., now $X \sim Bin(n,p_*)$.
You can answer now any question about $X$. In particular, if you want the expected number of "successful" packages, remember that since it is a binomial distribution you will have $E(X)=np_*$ (and $Var(X)=np_*(1-p_*)$, in case you're wondering). And also remember that for 'large' $n$ you can answer questions about $X$ using an approximation with the normal distribution.