question archive There are six red balls and three green balls in a box
Subject:StatisticsPrice: Bought3
select 3 balls from the box with replacement, and let X be number of green balls selected. So, X ~ Binomial [n=3, p=1/3] Use R to find the following probabilities and answers. A) How likely do we observe exactly one green ball? B) Find P[X<=2]. C) Find the second Decile (the 20th percentile). D) Generating 30 random observations from Bin(n,p) distribution, where n=3 & p=1/3. Find the average and variance of 30 Generated random observations Hint: Check out the posted Lecture notes of Binomial Distribution for dbinom, pbinom, qbinom, and rbinom.