Question: Problem 6: (a)(12 pts) Write an R function called mmrorm that generates 3-: random numbers from N01, 02), and: 1. it takes one actual (non-optional)

Problem 6: (a)(12 pts) Write an R function called mmrorm that generates 3-: random numbers from N01, 02), and: 1. it takes one actual (non-optional) argument n, 2. it takes two optional arguments: nm and sigm, with the default values 0 and 1= respectively, 3. it uses R function \"my, and 4. it does NOT use rnorm nor any other R function that generates normally distributed random numbers. (b)(8 pts) Use the R function km to plot the histogram of the obtained vector of random numbers for n = 100,000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
