Question
1. Create a stemplot for the variable height. Comment on the use of t procedures for this sample based on the book's guidelines. 2. I
1. Create a stemplot for the variable height. Comment on the use of t procedures for this sample based on the book's guidelines. 2. I want you to create a 95% confidence interval for the population mean using this data and R. First find the sample mean using the mean() command and sample standard deviation using the sd() command. Now find t* using the qt() function. Look up help for this function to learn how to use it. Remember that for a 95% CI value, t* you want to find the value t for which P(T14 < t) = .975. Construct the margin of error using the R math functions. Now find the upper and lower ends of the confidence interval. 3. Now go to R help and look up the t.test function. Use the t.test to conduct the hypothesis test H0 : = 62.5 with Ha : 62.5. For this application, use women$height in place of x, mu=62.5 for the second argument, and alternative="two.sided" for the third. Interpret the p-value in terms of your typical test sizes. 4. Does the null hypothesis value H0 : = 62.5 fall in the confidence interval you constructed earlier? Now pick any value that falls inside the confidence interval you constructed. Conduct the t-test on that as the null value and report the p-value. Try other null values that fall inside your CI and conduct the t-test on these. What is the relationship between a 95% CI and a two-sided hypothesis test with = .05
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started