Computer Lab 3 – Inference
STAT 2020
Confidence Interval: Average Number of States Visited
Step 1: Sample Statistics
Sample size (n): 40
Sample mean (x̄ ): 12.95
Sample standard deviation (s): 7.87
Confidence level: 95%
α = 0.05
Step 2: Margin of Error
Margin of Error (E): 2.52
Step 3: Confidence Interval
Lower bound: 10.43
Upper bound: 15.47
Final Confidence Interval: (10.43, 15.47)
Interpretation:
We are 95% confident that the true mean number of states college students at Clarion have
visited is between 10.43 and 15.47 states.
Hypothesis Test: States Visited (< 15 States)
H₀: μ = 15
H₁: μ < 15
Test Statistic: t = -1.65
df = 39
p-value = 0.054
Decision:
Fail to reject H₀
Conclusion:
There is not sufficient evidence at the 5% significance level to conclude that college
students have visited fewer than 15 states on average.
Confidence Interval: Sleep Before First Day of Classes (99%)
Sample size (n): 40
Sample mean (x̄ ): 7.68
Sample standard deviation (s): 1.89
Confidence level: 99%
α = 0.01
Margin of Error (E): 0.80
Confidence Interval: (6.88, 8.48)
Interpretation:
We are 99% confident that the true mean number of hours of sleep college students get
before the first day of classes is between 6.88 and 8.48 hours.
Hypothesis Test: Sleep (> 7 Hours)
H₀: μ = 7
H₁: μ > 7
Test Statistic: t = 2.27
df = 39
p-value = 0.014
Decision:
Fail to reject H₀
Conclusion:
There is not sufficient evidence at the 1% significance level to conclude that students get
more than 7 hours of sleep on average before the first day of classes.