Question: Problem 1: (10 pts each) Write an R command that plots the histogram of: (a) a random vector of 100 thousand random numbers generated from

Problem 1: (10 pts each) Write an R command that plots the histogram of: (a) a random vector of 100 thousand random numbers generated from B(30,0.6) distribution. (b) a random vector of 100 thousand random numbers generated from M(3,2-) distribution. (c) a sum of two random vectors of 100 thousand random numbers generated from Uni (0,1) distribution. Note: For problem (a) specify breaks in such a way that that each possible outcome lands into precisely one bin. For problems (b) and (c) specify breaks so that the number of bins is exactly 100. The sequence of break points must be reasonably chosen so that the resulting histogram depicts the underlying distribution; experiment with various choices of breaks until you find a good choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
