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

  1. 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.
    1. Calculate the mean and standard deviation statistics for this vector of random draws using the mean() and sd() commands.
    2. How do these numbers compare the mean and standard deviation of the binomial distribution when and ? If they are different, why?
    3. 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 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 Databases Questions!