Math Assignment Unit 2
Math Assignment Unit 2
Part 1
A group of 441 adults who did not have a college degree and were not currently enrolled in
school were randomly selected. 38% of them said they did not attend college because they could
not afford it.
a. Conduct a hypothesis test to determine if there is strong evidence supporting the statement
that less than 50% of adults who decide not to attend college are because they cannot afford it.
State the hypotheses and validate the independence and success-failure condition. Compute test
statistic, and p-value, interpret the data, and conclude if the null hypothesis needs to be rejected
or not.
Given Data:
Sample size (n) = 441
Proportion of adults who did not attend college due to affordability (p̂ ) = 0.38
Hypothesized proportion (p₀) = 0.50
Hypotheses
Null Hypothesis (H₀): p ≥ 0.50 (50% or more of adults do not attend college because
they cannot afford it)
Alternative Hypothesis (Hₐ): p < 0.50 (Less than 50% of adults do not attend college
because they cannot afford it)
Independence: The sample of 441 adults is assumed to be randomly selected, satisfying the
independence condition.
Success-Failure Condition: A minimum of ten anticipated successes and failures are required.
For the null hypothesis, p_0 = 0.50:
3
Test Statistic
p-value
Using a standard normal distribution table or calculator, find the p-value corresponding to z = -
5.04.
Given that the p-value is smaller than the significance level of 0.05, we reject the null
hypothesis. There is strong evidence that less than 50% of adults choose not to attend college due
to financial constraints (Goss-Sampson, 2022).
b. Suppose we wanted the margin of error for the 90% confidence level to be about 1.5%. How
large of a survey would you recommend?
Given:
E = Z × √ (p̂ (1 - p̂ ) / n)
Solving for n:
n = (Z × √ (p̂ (1 - p̂ )) / E)²
Using p̂ = 0.38:
≈ (0.7989 / 0.015)²
≈ 2837
Therefore, to obtain a 1.5% margin of error at a 90% confidence level, a sample size of roughly
2837 is suggested
Part 2
5
A random sample study was conducted on 13,270 Texas and 4,681 Dallas residents. It was found
that the proportion of residents who reported insufficient rest or sleep during each of the
preceding 31 days is 7.0% in Texas and 6.8% in Dallas.
a. Calculate a 95% confidence interval for the difference between the proportions of sleep-
deprived individuals among Texas residents and Dallas residents. Explain the validation of
independence and success-failure condition. Construct the interval and interpret it in the context
of this study.
Calculate Proportions
Check Conditions
Success-Failure Condition:
SE ≈ √(0.00000492 + 0.00001354)
SE ≈ 0.00435
Difference ± Z × SE
Using Z = 1.96:
0.002 ± 0.00853
Interpretation: The 95% confidence interval for the difference in sleep deprivation rates
between Texas and Dallas residents is [-0.00653, 0.01053]. This interval includes zero,
suggesting no significant difference in the proportions (Goss-Sampson, 2022).
b. Conduct a hypothesis test to determine if the provided data is strong evidence for the rate of
sleep deprivation is different for the two states given α = 0.05. Calculate the test statistics, and p-
value and provide a conclusion to support your observation.
p̂ ≈ 0.0696
SE ≈ 0.00434
z = (pₜ - p_d) / SE
z ≈ 0.46
Find p-value
Using the z-table, the p-value for z = 0.46 in a two-tailed test is about 0.645.
The null hypothesis cannot be rejected because the p-value (0.645) is significantly higher than
the significance level (α = 0.05). According to Diez et al. (2019), there is no convincing evidence
that the rates of sleep deprivation among residents of Texas and Dallas differ.
References
8
Diez, D., Cetinkaya-Rundel, M., Barr, C. D., & Barr, C. D. (2019). OpenIntro Statistics - Fourth
https://www.biostat.jhsph.edu/~iruczins/teaching/books/2019.openintro.statistics.pdf
Goss-Sampson, M. A. (2022). Statistical Analysis in JASP: A Guide for Students (5th ed., JASP
https://jasp-stats.org/wp-content/uploads/2022/04/Statistical-Analysis-in-JASP-A-
Students-Guide-v16.pdf