Math Assignment Unit 2
Math Assignment Unit 2
Math Assignment Unit 2 - Hypothesis Testing and Inference for Categorical Data
13/02/2025
PART 1
The p-value is less than the typical significance level of 0.05, which indicates strong evidence
against the null hypothesis. We conclude that there is sufficient evidence to support the statement
that less than 50% of adults who decide not to attend college are because they cannot afford it.
Therefore, we reject the null hypothesis.
Part 2
Confidence Interval:
The pooled proportion is p̂ = (x1 + x2) / (n1 + n2) = (932 + 316) / (13,270 + 4,681) ≈ 0.0694.
The standard error is:
SE = √(p̂ \* (1 - p̂ ) \* (1 / n1 + 1 / n2)) ≈ 0.00434
The 95% confidence interval for the difference between the proportions is:
(p̂ 1 - p̂ 2) ± 1.96 \* SE = (0.070 - 0.068) ± 1.96 \* 0.00434 ≈ (-0.011, 0.021)
Interpretation:
The 95% confidence interval suggests that the true difference between the proportions of sleep-
deprived individuals in Texas and Dallas is likely between -1.1% and 2.1%. This interval
includes 0, indicating that the difference may not be statistically significant.
Hypotheses:
H0: p1 - p2 = 0 (The proportions of sleep-deprived individuals in Texas and Dallas are equal)
H1: p1 - p2 ≠ 0 (The proportions of sleep-deprived individuals in Texas and Dallas are not equal)
The p-value is greater than 0.05, indicating that there is not sufficient evidence to support the
statement that the rate of sleep deprivation is different for the two states. Therefore, we fail to
reject the null hypothesis.
REFERENCES
The Organic Chemistry Tutor. (2019a, October 28). Hypothesis testing - solving problems
with proportions. Retrieved from https://www.youtube.com/watch?v=76VruarGn2Q
The Organic Chemistry Tutor. (2019b, November 15). Hypothesis testing with two
proportions. Retrieved from https://www.youtube.com/watch?v=pCbNUnZ98oE
Introduction to Statistics at SLCC. (2021, June 18). Chapter 3.5 - lesson 1/3 - inference for a
single proportion. Retrieved from https://www.youtube.com/watch?v=VB8kttv9hoY