Write the R code that would illustrate the effects of the central limit theorem. Start with an exponential distribution from which you draw 1,000,000 values. These values would form the population to be sampled. Then take 1,000 samples of different sizes: n = 4, 16, 100. Plot the sampling distributions obtained in each case. Calculate the population mean, µ, and the means of each of the sampling distributions. Calculate the population variance, σ 2 , and the variances of each of the sampling populations. What is to be expected? How do the results match your expectations?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here