Homework 6 solution.pdf - Stat 371 Fall 2017 2017...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Stat 371 Fall 2017 2017 Assignment #6 — Solutions 1. Consider the following data that represents a random sample out of a very large population: 0.43, 4.89, 5.29, 5.16, 0.59, 7.50, 4.48, 6.22 (a) Create a QQ plot of the data. Do you think it is reasonable to assume that the population distribution is normal? Explain your answer. The QQ plot is below: 1.5 1.0 0.5 0.0 0.5 1.0 1.5 1 2 3 4 5 6 7 QQ Plot of Data Theoretical Quantiles Sample Quantiles The plot is not very straight, so normality does not look like a good assumption. (b) Denote μ to be the population mean. Regardless of your answer to (a), use R to perform the bootstrap with 2000 resamplings to create a 90% CI for μ . Since answers will di er for this question, it is critical that you show your R code and output to get full credit. See the R Notes below for how to run a bootstrap in R. First, run the code to define the function bootest() that is found in the file, ’Estimation R Code V2.txt.’ Then the following code would create the interval: #enter data# dat <- c(0.43, 0.59, 4.89, 5.29, 5.16, 7.50, 4.48, 6.22) datboot <- bootest(dat, 2000) 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

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