Math 152 - Statistical Theory - Homework 11
Important Note:
You should work to turn in assignments that are clear, communicative, and concise. Part of what you need to do is not print pages and pages of output. Additionally, you should remove these exact sentences and the information about HW scoring below.
Click on the Knit to PDF icon at the top of R Studio to run the R code and create a PDF document simultaneously. [PDF will only work if either (1) you are using R on the network, or (2) you have LaTeX installed on your computer. Lightweight LaTeX installation here: https://yihui.name/tinytex/]
Either use the college’s RStudio server (https://rstudio.pomona.edu/) or install R and R Studio on to your personal computer. See: https://m152-stat-theory.netlify.app/syllabus.html for resources.
Assignment
Goals:
In this assignment, the fun will include:
- size, power, and p-values
- simple vs simple test
- most powerful tests
Book problems
- Feel free to do the book problems with a pencil or in LaTeX (RMarkdown supports writing mathematics using LaTeX).
- If you use a pencil, you can take a picture of the problem(s), and include the image(s) using (remove the tick marks to make it work):

Note that myimage.jpeg needs to live in the same folder as the relevant .Rmd file (maybe you called the folder “math 152 hw” and put it on your desktop?)
Saving as jpg, jpeg, png, or pdf should work, but make sure to specify the exact name of the file.
If you have the 3rd edition of the book, the problems will be the same unless they don’t exist – that is, the 4th edition added problems but didn’t change the order of them. Ask me if you want to see the 4th edition problems.
Assignment
1: Community Q
Describe one thing you learned (not from lecture, maybe from working in pairs during class) from a member of the class (student, mentor, professor) – it could be: content, logistical help, background material, R information, etc. 1-3 sentences.
2. 9.3.3
Suppose that
3. 9.3.6
Suppose that
4. 9.5.12
Suppose that a random sample
Suppose also that the sample size
5. 9.5.13
Consider again the conditions of Exercise 12, but suppose now that the sample size
6. 9.5.17
Prove that the likelihood ratio test for hypotheses (9.5.7) is the two-sided t test that rejects H0 if
7. 10.1.9
The 50 values in Table 10.5 are intended to be a random sample from the standard normal distribution.
Carry out a
test of goodness-of-fit by dividing the real line into five intervals, each of which has probability 0.2 under the standard normal distribution.Carry out a
test of goodness-of-fit by dividing the real line into 10 intervals, each of which has probability 0.1 under the standard normal distribution.
Feel free to use R as a calculator and to get the quantiles of the normal distribution. You won’t use R to “do” the problem for you. Instead, you will actually count the number of the values in each bin. You might use the sort() function on the data to make counting easier.
data10.1.9 <- c(-1.28, -1.22, -0.45, -0.35, 0.72, -0.32, -0.80, -1.66,
1.39, 0.38, -1.38, -1.26, 0.49, -0.14, -0.85, 2.33, -0.34,
-1.96, -0.64, -1.32, -1.14, 0.64, 3.44, -1.67, 0.85, 0.41,
-0.01, 0.67, -1.13, -0.41, -0.49, 0.36, -1.24, -0.04, -0.11,
1.05, 0.04, 0.76, 0.61, -2.04, 0.35, 2.82, -0.46, -0.63,
-1.61, 0.64, 0.56, -0.11, 0.13, -1.81)