Question: R language only 1. How to generate 50 random numbers with set.seed(200) from the normal distribution with = 0 and = 2 in R language
R language only
1. How to generate 50 random numbers with set.seed(200) from the normal distribution with = 0 and = 2 in R language
2. Given this synthetic data in (a), estimate and using the MLE. Use optim() or nlm() function. Check whether the estimated parameters are close to the actual ones.
3. Repeat this exercise with 5000 generated numbers instead of 50 numbers with set.seed(200). What would the difference be?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
