i am trying to solve some probability question. Here are they
poll found that 73% of households own digital cameras. A random sample of 9 households is selected
A. What is the probability that 2 of the households own a digital camera?
B.What is the probability that at most 1 of households owns a digital camera?
C. What is the probability that at least 1 household owns a digital camera?
D. Now suppose a random sample of 450 households is selected. Use R to find the probability that at least 350 own a digital camera
I have answered A, B and C using R
P0<-(factorial(9))/((factorial(0)*factorial(9-0))) * (0.73^0) * ((1-0.73)^(9-0))
P1<-(factorial(9))/((factorial(1)*factorial(9-1))) * (0.73^1) * ((1-0.73)^(9-1))
P2<-(factorial(9))/((factorial(2)*factorial(9-2))) * (0.73^2) * ((1-0.73)^(9-2))
list("Number11A" = P2, "Number11B" = P0+P1, "Number11C" = 1-P0,"Number11D Mean" = 9*0.73,"Number11D Standard Deviation"= sqrt(9*0.73*(1-0.73))) #Number_11A
I found that A , B and C will be ( 0.002006756
,0.0001931818
, 0.9999924
)
However, I cannot understand question D as this question has a sample . Thank you very much for your help.
[self-study]
tag & read its wiki. $\endgroup$ – gung - Reinstate Monica♦ Oct 23 '15 at 4:49value out of range in 'gamma'
$\endgroup$ – user3292755 Oct 23 '15 at 14:32