A2.pdf - STAT 359\/563 A01(Spring 2018 Assignment 2 Due 1:00pm February 19 1(14 marks Use R to 500 samples of 60 from the following two distributions(i

A2.pdf - STAT 359/563 A01(Spring 2018 Assignment 2 Due...

This preview shows page 1 - 2 out of 2 pages.

STAT 359/563 A01 (Spring 2018) Assignment 2: Due 1:00pm, February 19 1. (14 marks) Use R to take 10, 100, 500 samples of size 10, 30, 60 from the following two distributions: (i) Binomial(1, 0.85), (ii) t distribution with df=3. (a) (8 marks) Investigate how the Central Limit Theorem works when sampling from the above distributions, and for each sample size. — Write an R function to simulate the distribution of the sample mean. The R function has three arguments, the number of samples (N), the sample size (n), and the distribution. In the function, you generate N samples from the given distribution and each sample has size n. Then you compute N sample means. The output of the function includes a histogram of the sample means and the normality test for the sample means. — Use histograms to illustrate the distributions of the sample mean for each sample size, number of samples, and distribution. — Organize the 18 (3x3x2) histograms into 2 pages for your solution.
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors