Question: You can find useful code for CLT on this website. Also code from the discussion session of August 10 is helpful. Answer the following questions.

You can find useful code for CLT on this website. Also code from the discussion session of August 10 is helpful. Answer the following questions. a) Generate 100 samples of size n from Beta(2,4) distribution. For each sample, calculate the sample mean, create a histogram of the sample means and overlay the density function. Do this for different sample sizes such as n=5,10,50. Describe your findings and explain how the plots change with the sample size. b) Now generate 100 samples of size n from a Gamma(3,1) distribution. Again, consider samples of size n=S,10,50. How large do you think n has to be such the CLT has a reasonable performance. c) Now generate 100 samples of size n from a Uniform(0,1) distribution. Again, consider samples of size n=5,10,50. How large do you think n has to be such the CLT has a reasonable performance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
