In: Statistics and Probability
Watch Lecture 04 on sampling binary populations before doing this one: Use R to calculate the probability distributions for Y = # of successes observed in n=5 draws from a binary population (i.e. having only successes and failures) under the following settings. In each case (i) make a probability histogram; (ii) identify the random variable Y by name, giving the values of all distributional parameters (i.e. values of n, p , N - if relevant); and (iii) compute the expected value mand standard deviation sfor Y using the formulas given in class.
a. sampling without replacement from a population with 80 successes and 20 failures.
b. same population as in (a), but sampling with replacement
c. sampling without replacement from a population with 800 successes and 200 failures.