Demonstrate understanding of the Central Limit Theorem, using R, by showing how the distribution of the...

50.1K

Verified Solution

Question

Statistics

Demonstrate understanding of the Central Limit Theorem, using R,by showing how the distribution of the sample mean changesaccording to sample size.

Consider a Poisson distribution with λ = 1.5.

Generate samples of 10,000 means over different numbers ofobservations (eg give a matrix 1, 2,3...100) rows. For each ofthese samples of means, compute the mean of the means, the samplestandard deviation of the means, and the proportions of means thatare more than 1 standard deviation above the overall mean.

Generate plots of each of these quantities vs the number ofobservations contributing to the means (1, 2, 3, 4 etc.).

Write R code used to produce these data. Form conclusions aboutwhat is seen, based on the Central Limit Theorem.

**Note: need help with the R code that produces this. Pleasesupply that in your answer. Thanks!

Answer & Explanation Solved by verified expert
4.0 Ratings (728 Votes)
R code sampmean cproportion csampStddeviation cx cs c110000fori in sx rpoisn i lambda 15sampmeani meanxsampStddeviationi    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students