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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!