Answered step by step
Verified Expert Solution
Question
1 Approved Answer
R programming Let X1,82, ..., Xn are independent and identically distributed random variables from the PDF given in the table. Estimate one parameter which is
R programming
Let X1,82, ..., Xn are independent and identically distributed random variables from the PDF given in the table. Estimate one parameter which is s the one in BOLD. The other parameter is simply a constant with values given. rnorm(sample size, mean = u = 3, sd = 0 = 2) (x-4)2 PDF Normal: f(x) = 20- 2 i) Using f(x), simulate n = 30, 50, 80, and 100 random samples. Using f(x) create a histogram of the simulated random samples and comment ii) Find the maximum likelihood estimate (MLE) of the parameter in BOLD, let say 6. Repeat this for N = 1000 times and obtain the MLE of 6 1, 2, ..., 1000. Find the bias, standard error and root mean square error (RMSE) of using these 1000 estimates at different sample sizes. Summarized your results in a table and comments. Your table should be presented as in Table 1 below. Table 1: Results Bias Std. error n ECO RMSE 30 50 80 100 Use the help in R to obtain information on how to simulate data from specific distribution and understand certain built-in features in RStep 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