Question: Use the rbinom() function to create a vector of 10 random observations from the binomial distribution with n=100 and probability of success is equal to
- Use the rbinom() function to create a vector of 10 random observations from the binomial distribution with n=100 and probability of success is equal to 0.4.
- Calculate the mean and standard deviation statistics for this vector of random draws using the mean() and sd() commands.
- How do these numbers compare the mean and standard deviation of the binomial distribution when and ? If they are different, why?
- Make a histogram of this vector using the hist() command.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
