Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started