Question: Problem 1: (a)[12 pts) Write an R function called mmferp that generates :1 random numbers from Exp}, and: 1. it takes one actual (non-optional) argument

Problem 1: (a)[12 pts) Write an R function called mmferp that generates :1 random numbers from Exp}, and: 1. it takes one actual (non-optional) argument :1, 2. it takes one optional argument lamb with the default value 1, 3. it uses It function rum}: and 4. it does NOT use rexp nor any other H mction that generates exponentially distributed random numbers. (h)[8 p13) Use the R mction his: 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
