Math Assignment Unit 2
Math Assignment Unit 2
a. Hypothesis Test:
Null Hypothesis (H0): The proportion of adults who do not attend college because they cannot
afford it is greater than or equal to 50%.
Alternative Hypothesis (H1): The proportion of adults who do not attend college because they
cannot afford it is less than 50%.
We need to validate the independence and success-failure condition. Since the sample size is
large (441 adults) and both np (number of successes) and n(1-p) (number of failures) are greater
than 10 (38% of 441 and 62% of 441), we can proceed with the hypothesis test using a z-test.
Where:
Now, we need to find the p-value associated with this test statistic. Since the alternative
hypothesis is one-tailed (less than), we look for the area to the left of -4.191 under the standard
normal distribution.
Given that the p-value is significantly smaller than the significance level (α), we can reject the
null hypothesis.
Interpretation:
With a p-value much smaller than α (assuming α = 0.05), there is strong evidence to reject the
null hypothesis. The data provides strong support for the claim that less than 50% of adults who
do not attend college do so because they cannot afford it.
b. Margin of Error:
To find the sample size necessary for a 90% confidence level with a margin of error of 1.5%, we
can use the formula for the margin of error:
Where:
n = 2833.50885
Part 2
a. Confidence Interval:
To calculate the 95% confidence interval for the difference between the proportions of sleep-
deprived individuals among Texas residents and Dallas residents, we'll use the formula for the
confidence interval for the difference between two proportions:
Confidence Interval =
We also need to validate the independence and success-failure condition, which we'll assume is
satisfied given the large sample sizes.
Constructing the interval and interpreting it in the context of the study will involve plugging in
these values into the formula to find the confidence interval.
b. Hypothesis Test:
For this part, we conduct a hypothesis test to determine if the provided data is strong evidence
for the rate of sleep deprivation being different for the two states. We'll use a z-test for the
difference between two proportions.
Null Hypothesis (H0): The proportion of sleep-deprived individuals in Texas is equal to the
proportion in Dallas.
Alternative Hypothesis (H1): The proportion of sleep-deprived individuals in Texas is not equal
to the proportion in Dallas.