Question: Use the rbinom() function to create a vector of 10 random observations from the binomial distribution with in = 100$ and probability of success is

Use the "rbinom() function to create a vector of 10 random observations from the binomial distribution with in = 100$ and probability of success is equal to 0.4. In this situation, we'd like there to be 10 random draws from a binomial random variable that has 100 trials, meaning you flip a coin 100 times, 10 different times. Calculate the mean and standard deviation statistics for this vector of random draws using the "mean()' and 'sd()' commands. - How do these numbers compare with the population mean and standard deviation of the binomial distribution when $n = 100$ and $p = 0.4$? If they are different, why? Hint: if SX \\sim B(n,p)$, then $\\mu = mp$ and $\\sigma = \\sqet{np(1-p)}$
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
