Question:
You buy a certain type of lottery ticket once a week for 4 weeks. What's the probability you win a cash prize exactly twice?
My attempt:
P(Success) = $1/4 $
P(Not Successful) =$ 3/4$
$$4 \ _nC^r \ 2 \times \bigg(\frac{1}{4}\bigg)^2 \times \bigg(\frac{3}{4}\bigg)^2 = 0.2109375$$
Is my answer correct?
dbinom. With appropriate parameters it becomes:dbinom(2, 4, 1/4), which returns 0.2109375. So Yes, correct. // Here is how you can make ${4 \choose 2}$ in MathJax:${4 \choose 2}$– BruceET Oct 16 '17 at 02:27