Question: 10 {R continued, large-sample hypothesis test} a. Given you NHIS sample you initially downloaded at the start of problem 8, drop observations where height is

10 {R continued, large-sample hypothesis test} a. Given you NHIS sample you initially downloaded at the start of problem 8, drop observations where height is missing, restrict the sample to men and draw a sample of size 200. (Please show your sample and your code) b. Compute the mean and the standard error of the mean for this sample. (Please show your results and your code). c. Use your sample from parts a 8?: b to conduct a signicance test at the 5 percent level to test the null hypothesis that the average height of men in the population is 68.5 inches. c1. State your null and alternative hypothesis, c2. Estimate the t-stat: c3. Conduct your signicance test (under the assumption that weight is distributed normally) Which distribution did you check your tstatistic against and Why? c4. What do you conclude about the null hypothesis? d. Calculate and interpret the p-value (twotailed)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
