Week 2 - Hypothesis Testing Solutions
Week 2 - Hypothesis Testing Solutions
Problem 1.
Consider the following hypothesis test:
H0: mu ≤ 50
Ha: mu > 50
A sample of 60 is used and the population standard deviation is 8. Use the critical value
approach to state your conclusion for each of the following sample results. Use α = .05.
a. 𝑥 =52.5
One-Sample Z
Test of µ = 50 vs > 50
The assumed standard deviation = 8
b. 𝑥 = 51
One-Sample Z
c. 𝑥 = 51.8
One-Sample Z
Suppose a new production method will be implemented if a hypothesis test supports the
conclusion that the new method reduces the mean operating cost per hour.
a. State the appropriate null and alternative hypotheses if the mean cost for the
current production method is $220 per hour.
H0: mu ≥ 220
Ha: mu < 220
b. What is the Type I error in this situation? What are the consequences of making this
error? (incorrect rejection of true null hypothesis)
Discussion in class
c. What is the Type II error in this situation? What are the consequences of making
this error? (not rejecting, “accepting” null hypothesis when it is not true)
Discussion in class
d. Assume that the during the research study the mean cost of the production of 100
items was $218. Assume that the standard deviation is known to be $8. Perform the
hypothesis test at alpha = 0.05. What is your conclusion?
One-Sample Z
b. What is the p-value for a sample of 40 undergraduate students with a sample mean
credit card balance of $2,825?
One-Sample Z
a. Formulate hypotheses that can be used to determine whether the population mean
annual administrator salary in Ohio differs from the national mean of $90.000.
H₀: μ = 90000
H₁: μ ≠ 90000
b. The sample data for 25 Ohio administrators in contained in the file named
Administrator. What is the p-value for your hypothesis in part a?
P-value = 0.043
One-Sample T: Salary
Descriptive Statistics
N Mean StDev SE Mean 95% CI for μ
25 85272 11039 2208 (80715, 89829)
d. μ: mean of Salary
Test
Null hypothesis H₀: μ = 90000
Alternative hypothesis H₁: μ ≠ 90000
T-Value P-Value
-2.14 0.043
Discussion in class
Problem 5.
At Western University the historical mean of scholarship examination scores for freshman
applications is 900. A historical population standard deviation σ =180 is assumed known.
Each year, the assistant dean uses a sample of applications to determine whether the mean
examination score for the new freshman applications has changed.
H₀: μ = 900
H₁: μ ≠ 900
b. What is the 95% confidence interval estimate of the population mean examination
score if a sample of 200 applications provided a sample mean 𝑥 = 935?
One-Sample Z
d. Using α = .05 and the information from (c) conduct a hypothesis test. What is your
conclusion?
Discussion in class
Problem 6. (webfile WeeklyPay)
A recent issue of the AARP Bulletin reported that the average weekly pay for a woman with
a high school degree is $520 (AARP Bulletin, January–February, 2016). Suppose you would
like to determine if the average weekly pay for all working women is significantly greater
than that for women with a high school degree. Data providing the weekly pay for a sample
of 50 working women are available in the file named WeeklyPay. These data are consistent
with the findings reported in the AARP article.
a. State the hypotheses that should be used to test whether the mean weekly pay
for all women is significantly greater than the mean weekly pay for women with
a high school degree.
H₀: μ = 520
H₁: μ > 520
b. Use the data in the file named WeeklyPay to compute the sample mean, the test
statistic, and the p-value.
Test
Null hypothesis H₀: μ = 520
Alternative hypothesis H₁: μ > 520
T-Value P-Value
5.62 0.000
Discussion in class
Problem 7.
Will improving customer service result in higher stock prices for the companies providing
the better service? “When a company’s satisfaction score has improved over the prior
year’s results and is above the national average (currently 75.7), studies show its shares
have a good chance of outperforming the broad stock market in the long run”
(BusinessWeek, 2015). The following satisfaction scores of three companies for the 4th
quarters of 2014 and 2015 were obtained from the American Customer Satisfaction Index.
Assume that the scores are based on a poll of 60 customers from each company. Because
the polling has been done for several years, the standard deviation can be assumed to
equal 6 points in each case.
b. Can you conclude that the 2015 score for Rite Aid is above the national average of
75.7? Use α = .05.
One-Sample Z
d. Perform a hypothesis test to check whether the difference for J.C. Penney
satisfaction score is statistically significant.
Discussion in class
Student’s Parents
College Grads High School Grads
485 487 442 492
534 533 580 478
650 526 479 425
554 410 486 485
550 515 528 390
572 578 524 535
497 448
592 469
a. Formulate the hypotheses that can be used to determine whether the sample data
support the hypothesis that students show a higher population mean math score on
the SAT if their parents attained a higher level of education.
b. What is the point estimate of the difference between the means for the two
populations?
D=38
P value = 0.042
Discussion in class
Descriptive Statistics
SE
Sample N Mean StDev Mean
Test