Question: R programming language. Please show the code for the problem. Need help on this. Thank you R.3 In this exercise we are going to analyze
R programming language. Please show the code for the problem. Need help on this. Thank you

R.3 In this exercise we are going to analyze the sample variance estimator through simulations. We are going to consider two estimators: .2 ZiJLKXiX')? A2 ZidXX)? \":' 8: Nl N a) Generate a ctitious population of size 10000 from a normal distribution with mean u = 10 and variance 0'2 = 30. Plot a histogram of the population distribution. b) Fix the sample size to N = 10 and plot the sampling distribution of both estimators with a histogram (use enough samples so that the distribution looks smooth enough). Which estimator is closer to the true population value? Is this related to consistency or unbiasedness of the estimator? c) Now x the sample size to N : 9500 and plot the sampling distribution of both estima- tors with a histogram (use enough samples so that the distribution looks smooth enough). Which estimator is closer to the true population value? Is this related to consistency or unbiasedness of the estimator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
