Math 115 Test 3 Practice Exercises

Topic 11: Inference for a Single Mean

1. A phone manufacturer tests a random sample of 36 phones of a new model and records how long the battery lasts on a full charge. A 95% confidence interval for the true mean battery life of all phones of this model is (17.2, 19.6) hours.

(a) What does the “95% confidence” mean here? Circle one.

  1. There is a 0.95 probability that the true mean battery life is between 17.2 and 19.6 hours.

  2. 95% of all phones of this model have a battery life between 17.2 and 19.6 hours.

  3. The method we used captures the true mean in the long run: if we repeated the random sampling of 36 phones over and over and built an interval each time, about 95% of those intervals would capture the true mean battery life.

  4. 95% of the 36 sampled phones have a battery life between 17.2 and 19.6 hours.

(b) An advertisement says the phone’s battery lasts 20 hours on average. Based on the interval, is this claim believable? Circle one.

  1. Yes, because 20 is close to the interval.

  2. No, because 20 is not inside the interval, so the data give evidence that the true mean is not 20 hours.

  3. Yes, because a confidence interval cannot be used to check a claim.

  4. No, because the sample mean is not exactly 20.

(c) A competitor claims the true mean battery life is 18 hours. Is there evidence against this claim at the \(\alpha = 0.05\) level? Circle one.

  1. Yes, because 18 is inside the interval.

  2. No, because 18 is inside the interval, so 18 is a plausible value of the true mean.


2. A coffee shop advertises that its “large” cup holds 12 ounces of coffee on average. A customer suspects that large cups are under-filled. She measures a random sample of 30 large cups and tests

\[H_0: \mu = 12 \quad \text{vs.} \quad H_A: \mu < 12,\]

where \(\mu\) is the true mean amount of coffee in all large cups. Her sample mean is 11.8 ounces and the p-value is 0.04. Which statement correctly describes this p-value? Circle one.

  1. Assuming the true mean fill of all large cups really is 12 ounces, there is a 0.04 chance that a random sample of 30 cups would have a mean of 11.8 ounces or less.

  2. Assuming the true mean fill of all large cups is less than 12 ounces, there is a 0.04 chance that a random sample of 30 cups would have a mean of 11.8 ounces or less.

  3. There is a 0.04 chance that the true mean fill of all large cups is 12 ounces.

  4. Assuming the true mean fill is 12 ounces, there is a 0.04 chance that a random sample of 30 cups would have a mean of exactly 11.8 ounces.


3. A cereal company states that its boxes contain 16 ounces of cereal. A consumer group selects a random sample of 18 boxes and weighs the contents. The sample mean is 15.82 ounces and the standard deviation is 0.35 ounces. The data are not strongly skewed. Is there evidence that the average weight of all boxes is different from 16 ounces?

(a) Which pair of hypotheses is appropriate? Circle one.

  1. Null: The average weight of the 18 sampled boxes is 16 ounces. Alternative: The average weight of the 18 sampled boxes is not 16 ounces.

  2. Null: The average weight of all boxes is 16 ounces. Alternative: The average weight of all boxes is less than 16 ounces.

  3. Null: The average weight of all boxes is 16 ounces. Alternative: The average weight of all boxes is different from 16 ounces.

  4. Null: The average weight of all boxes is different from 16 ounces. Alternative: The average weight of all boxes is 16 ounces.

(b) Calculate the standard error of the sample mean. (Round to four decimal places.)

Answer: _________

(c) Calculate the T-score. (Round to three decimal places.)

Answer: _________

(d) What are the degrees of freedom?

Answer: _________

(e) Use Jamovi to find the p-value. (Round to three decimal places.)

Answer: _________

(f) Use Jamovi to find \(t^*\) for a 95% confidence interval. (Round to three decimal places.)

Answer: _________

(g) Calculate the lower and upper bounds of the 95% confidence interval for the true mean weight. (Round to three decimal places.)

Lower: _________ Upper: _________

(h) Do the confidence interval and the p-value lead to the same conclusion at \(\alpha = 0.05\)? Circle one.

  1. Yes. The p-value is below 0.05, and 16 is not inside the interval.

  2. No. The p-value is below 0.05, but 16 is inside the interval.

  3. No. A confidence interval and a hypothesis test can never be compared.

(i) In the context of this problem, what would a Type I error be? Circle one.

  1. The true mean weight of all boxes is 16 ounces, and we conclude that it is 16 ounces.

  2. The true mean weight of all boxes is 16 ounces, but we conclude that it is different from 16 ounces.

  3. The true mean weight of all boxes is different from 16 ounces, but we fail to find evidence of that.

  4. The true mean weight of all boxes is different from 16 ounces, and we conclude that it is different.

(j) In the context of this problem, what would a Type II error be? Circle one from the same list in part (i).


Topic 12: Inference for a Difference in Two Means

4. A company wants to know whether office layout affects employee productivity. The company randomly assigns 60 of its employees: 28 to an open-plan office and 32 to private offices. After three months, productivity is measured on a 0–100 scale. The results are summarized below.

Open-Plan Private
Sample size (\(n\)) 28 32
Sample mean (\(\bar{x}\)) 68.5 74.2
Sample SD (\(s\)) 9.0 8.5

Assume conditions for inference with a t-distribution are met and that the populations have equal variances. Use the order “Open-Plan − Private.”

(a) Which pair of hypotheses is appropriate for testing whether there is a difference in mean productivity? Circle one.

  1. \(H_0: \mu_1 - \mu_2 = 0\) vs. \(H_A: \mu_1 - \mu_2 \neq 0\)

  2. \(H_0: \mu_1 - \mu_2 = 0\) vs. \(H_A: \mu_1 - \mu_2 < 0\)

  3. \(H_0: \bar{x}_1 - \bar{x}_2 = 0\) vs. \(H_A: \bar{x}_1 - \bar{x}_2 \neq 0\)

  4. \(H_0: \mu_1 - \mu_2 \neq 0\) vs. \(H_A: \mu_1 - \mu_2 = 0\)

(b) What is the observed difference in sample means, \(\bar{x}_1 - \bar{x}_2\)?

Answer: _________

(c) Calculate the pooled standard deviation (\(s_p\)). (Round to three decimal places.)

Answer: _________

(d) Calculate the standard error. (Round to three decimal places.)

Answer: _________

(e) What are the degrees of freedom?

Answer: _________

(f) Calculate the T-statistic. (Round to two decimal places.)

Answer: _________

(g) Use Jamovi to find the p-value. (Round to three decimal places.)

Answer: _________

(h) What is the full conclusion at \(\alpha = 0.05\)? Circle one.

  1. There is convincing evidence that office layout affects mean productivity. Because employees were randomly assigned, we can conclude cause and effect, but because these are the company’s own employees and not a random sample, we cannot generalize to a larger population.

  2. There is convincing evidence that office layout affects mean productivity. We can generalize to all office workers, but we cannot conclude cause and effect.

  3. There is not convincing evidence that office layout affects mean productivity.

  4. We accept \(H_0\): office layout has no effect on productivity.


5. A college wants to estimate the difference in weekly part-time work hours between nursing majors and business majors. Random samples of 35 nursing majors and 35 business majors are surveyed.

Nursing Business
Sample size (\(n\)) 35 35
Sample mean (\(\bar{x}\)) 12.6 9.8
Sample SD (\(s\)) 5.4 5.9

Construct a 95% confidence interval for \(\mu_{\text{Nursing}} - \mu_{\text{Business}}\). Assume conditions for inference with a t-distribution are met and that the populations have equal variances.

(a) What is the observed difference in sample means (Nursing − Business)?

Answer: _________

(b) Calculate the pooled standard deviation (\(s_p\)). (Round to three decimal places.)

Answer: _________

(c) Calculate the standard error. (Round to three decimal places.)

Answer: _________

(d) What are the degrees of freedom?

Answer: _________

(e) What is \(t^*\) for a 95% confidence interval? Use Jamovi. (Round to three decimal places.)

Answer: _________

(f) Calculate the lower and upper bounds of the 95% confidence interval. (Round to two decimal places.)

Lower: _________ Upper: _________

(g) Does the interval give evidence of a difference in mean work hours? Circle one.

  1. Yes, because the whole interval is above 0.
  2. No, because the interval contains 0.
  3. Yes, because 12.6 is larger than 9.8.

Topic 13: Paired Data

6. For each scenario, decide whether the data should be analyzed using a paired or independent samples approach. Circle one for each.

(a) 20 runners each run a timed mile at sea level and then at high altitude, and the two times are compared.
Paired / Independent

(b) A researcher compares the commute times of 40 randomly chosen workers in Chicago with those of 40 randomly chosen workers in Denver.
Paired / Independent

(c) 30 sets of identical twins take part in a study. In each set, one twin is randomly assigned to a new reading program and the other to the usual program, and reading scores are compared.
Paired / Independent

(d) A professor compares final exam scores from two different sections of the same course taught in different semesters.
Paired / Independent

(e) A trainer measures the grip strength of the left hand and of the right hand for each of 25 athletes.
Paired / Independent


7. A sports scientist wants to know whether a new pair of running shoes changes sprint times. Each of 22 sprinters runs a 100-meter dash in their old shoes and, on another day, in the new shoes. The scientist compares each sprinter’s two times.

(a) What type of design is used? Circle one.

  1. Paired
  2. Independent

(b) Which reason(s) justify your answer? Circle all that apply.

  1. The same sprinter is measured twice, once under each condition.
  2. The two groups of times come from different people.
  3. Each time in the “new shoes” group has a natural partner in the “old shoes” group.
  4. Every experiment uses paired data.

(c) Suppose an assistant forgets that the times come in pairs and analyzes them as two separate groups with a two-sample t-test. Compared with the correct paired t-test, which result is most likely? Circle one.

  1. The two-sample test gives a smaller standard error and a smaller p-value, because it uses all 44 times.

  2. The two-sample test gives a larger standard error and a larger p-value, because the natural speed differences between sprinters stay in the data instead of cancelling out in the differences.

  3. Both tests give the same p-value, because the difference in average times is the same.

  4. The two-sample test changes the average difference in times, so the two results cannot be compared.


8. An airline tests a fatigue management training program for pilots. 25 pilots have their reaction time measured before and after the training. The differences are computed as \(d\) = After − Before.

\(n\) \(\bar{x}_d\) \(s_d\)
25 −8.4 ms 15 ms

Construct a 95% confidence interval for the true mean difference in reaction time (\(\mu_d\)). Assume conditions for inference with a t-distribution are met.

(a) Calculate the standard error. (Round to one decimal place.)

Answer: _________

(b) What are the degrees of freedom?

Answer: _________

(c) What is \(t^*\) for a 95% confidence interval? Use Jamovi. (Round to three decimal places.)

Answer: _________

(d) Calculate the lower and upper bounds of the 95% confidence interval. (Round to two decimal places.)

Lower: _________ Upper: _________

(e) Based on this confidence interval, is there evidence that the training changed pilots’ reaction time? Circle one.

  1. Yes. The interval does not contain 0, so there is evidence the training changed reaction time.

  2. No. The interval contains 0, so there is not sufficient evidence of a change.

  3. Yes. The sample mean difference (−8.4) is not 0, so there is evidence of a change.

  4. No. A confidence interval only estimates the mean difference and cannot be used to decide whether there was a change.


9. A math department wants to know whether an online homework system improves final exam scores. Forty student volunteers are formed into 20 matched pairs with similar GPAs and placement scores. In each pair, one student is randomly assigned to the online homework system and the other to traditional paper homework. The differences are computed as \(d\) = Online − Paper.

Group Mean SD \(n\)
Online 78.6 10.9 20
Paper 74.4 11.8 20
Difference (Online − Paper) 4.2 7.5 20

(a) Which pair of hypotheses is appropriate? Circle one.

  1. \(H_0: \mu_d = 0\) vs. \(H_A: \mu_d \neq 0\)

  2. \(H_0: \mu_d = 0\) vs. \(H_A: \mu_d > 0\)

  3. \(H_0: \bar{x}_d = 0\) vs. \(H_A: \bar{x}_d > 0\)

  4. \(H_0: \mu_1 - \mu_2 = 0\) vs. \(H_A: \mu_1 - \mu_2 > 0\) (two independent samples)

(b) What is the observed value of the statistic, \(\bar{x}_d\)?

Answer: _________

(c) Calculate the standard error of the mean difference. (Round to three decimal places.)

Answer: _________

(d) Calculate the T-score. (Round to two decimal places.)

Answer: _________

(e) What are the degrees of freedom?

Answer: _________

(f) Use Jamovi to find the p-value. (Round to three decimal places.)

Answer: _________

Below is a dotplot of the 20 differences.

(g) Is it reasonable to use the t-distribution for this paired test? Circle one.

  1. Yes. The differences look roughly symmetric with no extreme outliers, so the nearly normal condition is reasonable for 20 pairs.

  2. No. Paired data can never be analyzed with a t-test.

  3. No. The two groups must each have at least 30 students.

  4. Yes, because the two groups have similar standard deviations.

(h) At \(\alpha = 0.05\), what is the full conclusion? Circle one.

  1. Reject \(H_0\). There is evidence that the online homework system raises mean exam scores. Because of random assignment we can conclude cause and effect, but because the students were volunteers we cannot generalize to a larger population.

  2. Reject \(H_0\). There is evidence that online homework raises mean exam scores, and the result applies to all college students.

  3. Fail to reject \(H_0\). There is not enough evidence that online homework raises exam scores.

  4. Accept \(H_0\). Online homework has no effect on exam scores.

(i) Use Jamovi to find \(t^*\) for a 95% confidence interval for \(\mu_d\). (Round to three decimal places.)

Answer: _________

(j) Calculate the lower and upper bounds of the 95% confidence interval. (Round to two decimal places.)

Lower: _________ Upper: _________

(k) Do the interval and the test agree? Circle one.

  1. Yes, because the interval does not contain 0.
  2. Yes, because the interval contains 4.2.
  3. No, because the interval does not contain 0.

Scope of Conclusions, Conditions and Choosing a Procedure

10. For each study design below, suppose the hypothesis test found a statistically significant result. Select the strongest valid conclusion. Circle one for each.

(a) A pharmaceutical company randomly selects patients from hospital records across the country and randomly assigns them to receive either a new drug or a placebo.

  1. There is an association between the treatment and the outcome, and this result can be generalized to the broader population.

  2. The treatment causes a difference in the outcome, and this result can be generalized to the broader population.

  3. The treatment causes a difference in the outcome, but only for the participants in this study.

  4. There is an association between the treatment and the outcome, but only for the participants in this study.

(b) A university randomly selects students from enrollment records and surveys them about their sleep habits and GPA. (No random assignment to groups.)

  1. There is an association between sleep habits and GPA, and this result can be generalized to the broader student population.

  2. Sleep habits cause a difference in GPA, and this result can be generalized to the broader student population.

  3. Sleep habits cause a difference in GPA, but only for the participants in this study.

  4. There is an association between sleep habits and GPA, but only for the participants in this study.

(c) A fitness instructor recruits volunteers from her gym and randomly assigns half to a new workout program and half to the standard program.

  1. There is an association between the workout program and the outcome, and this result can be generalized to the broader population.

  2. The workout program causes a difference in the outcome, and this result can be generalized to the broader population.

  3. The workout program causes a difference in the outcome, but only for the participants in this study.

  4. There is an association between the workout program and the outcome, but only for the participants in this study.


11. For each scenario, identify the condition for inference that is most clearly a concern. Circle one for each.

(a) A researcher conducts a paired t-test on the differences from \(n = 10\) paired observations. A histogram of the differences shows strong left skew.

  1. Independence (ii) Normality (nearly normal condition) (iii) Equal variance (iv) Randomization

(b) A researcher conducts a pooled two-sample t-test comparing two groups. One group has standard deviation \(s_1 = 3.2\) and the other has \(s_2 = 11.8\).

  1. Independence (ii) Normality (nearly normal condition) (iii) Equal variance (iv) Randomization

(c) An economist wants to run a theory-based ANOVA test comparing the average household income in three cities, using random samples from each city. Which condition must be checked? Circle one.

  1. Every count in the two-way table must be at least 10.

  2. The three sample sizes must be exactly equal.

  3. The largest sample mean must be no more than twice the smallest sample mean.

  4. The largest sample standard deviation must be no more than twice the smallest sample standard deviation.

(d) In part (c), the sample standard deviations of income turn out to be $8,000, $9,500 and $21,000. Is the condition you chose in part (c) satisfied? Circle one.

  1. Yes
  2. No

12. Answer the following questions about how changing one thing (while keeping everything else the same) affects the results. Circle one for each.

(a) In a one-sample t-test, the sample size (\(n\)) increases while the sample mean and standard deviation stay the same. What happens to the p-value?

Smaller (stronger evidence against \(H_0\)) / Larger (weaker evidence against \(H_0\)) / It stays the same

(b) In a two-sample t-test, both sample sizes are tripled while the sample means and standard deviations stay the same. What happens to the strength of the evidence against \(H_0\)?

It gets stronger / It gets weaker / It stays the same

(c) In a two-sample t confidence interval, the confidence level is increased from 90% to 99%. What happens to the width of the interval?

Wider / Narrower / It stays the same

(d) In a paired t-test, a second study has the same \(n\) and the same \(s_d\), but the mean of the differences \(\bar{x}_d\) is farther from 0. How does the new p-value compare to the original?

Smaller / Larger / The same

(e) In a paired t-test, the standard deviation of the differences (\(s_d\)) decreases. What happens to the p-value?

Smaller / Larger / It stays the same

(f) An ANOVA gives \(F = 7.2\). More data are collected. The group means stay the same, so the variability between groups does not change, but the variability within each group gets larger. What happens to the F-statistic?

It increases / It decreases / It stays the same

(g) In an ANOVA, the group means move farther apart from each other while the variability within each group stays the same. What happens to the F-statistic?

It increases / It decreases / It stays the same


13. Match each scenario to the most appropriate inference procedure. Circle one for each.

(a) A researcher randomly assigns 80 participants to Diet A or Diet B and compares their mean weight loss after 12 weeks.

One-sample t-test / Paired t-test / Two-sample t-test / Two-proportion Z-test

(b) A city planner wants to test whether the average commute time in her city differs from the national average of 25 minutes.

One-sample t-test / Paired t-test / Two-sample t-test / Two-proportion Z-test

(c) A doctor measures each patient’s cholesterol before and after prescribing a new medication and wants to estimate the mean change.

One-sample t interval / Paired t interval / Two-sample t interval / Two-proportion interval

(d) A researcher compares the mean resting heart rate of people in four different age groups.

Two-sample t-test / Paired t-test / ANOVA / Chi-squared test

(e) A dean wants to know whether a student’s class year (first-year, sophomore, junior, senior) is associated with where they prefer to study (library, dorm, coffee shop).

Two-sample t-test / Paired t-test / ANOVA / Chi-squared test


14. A researcher wants to compare the means of 5 groups. Instead of one ANOVA test, a friend suggests running a two-sample t-test for each of the 10 pairs of groups. What is the main reason to run ANOVA instead? Circle one.

  1. Running many separate tests at \(\alpha = 0.05\) makes the chance of at least one false “significant” result (a Type I error) much larger than 0.05.

  2. Running many separate tests makes the chance of a Type II error much larger.

  3. ANOVA tells us exactly which pairs of groups are different.

  4. A two-sample t-test cannot be used when there are more than two groups in a study.

The same idea explains why we use one chi-squared test instead of many separate two-proportion tests.


Topic 14: Chi-Squared Test of Independence

15. A public health researcher surveys a random sample of 360 adults about their preferred source of health information, broken down by education level:

Education Doctor/Clinic Internet Social Media Row Total
High School 40 30 50 120
Bachelor’s 55 35 30 120
Graduate 65 30 25 120
Column Total 160 95 105 360

The researcher wants to test whether there is an association between education level and preferred health information source.

(a) State the null and alternative hypotheses.



(b) Calculate the expected count for the “High School / Doctor” cell. (Round to two decimals.)

Answer: _________

(c) Calculate the expected count for the “Graduate / Social Media” cell. (Round to two decimals.)

Answer: _________

(d) Using your answer from part (b), calculate that cell’s contribution to the chi-squared statistic. (Round to three decimals.)

Answer: _________

(e) What are the degrees of freedom for this chi-squared test?

Answer: _________

(f) The smallest expected count in the table is 31.67. Are the conditions for using the chi-squared distribution met? Circle one.

  1. Yes, all expected counts are at least 5.
  2. No, some observed counts are less than 50.

(g) The chi-squared statistic is \(\chi^2 = 21.45\) and the p-value is 0.0003. At \(\alpha = 0.05\), what is the conclusion? Circle one.

  1. Reject \(H_0\). There is convincing evidence of an association between education level and preferred health information source.

  2. Fail to reject \(H_0\). There is not enough evidence of an association.

(h) Can we conclude that education level causes people to prefer a particular source? Circle one.

  1. Yes, because the sample was random.
  2. No, because this is an observational study (no random assignment).

16. A store wants to know whether the chance a shopper uses a coupon depends on the coupon’s design. Volunteers from the store’s mailing list are randomly assigned to receive one of three coupon designs (A, B or C). The store records whether each shopper redeemed the coupon.

Coupon Redeemed Not Redeemed Total
A 21 59 80
B 8 52 60
C 1 19 20
Total 30 130 160

(a) Which pair of hypotheses is appropriate? Circle one.

  1. \(H_0\): The redemption rates in the three samples are equal. \(H_A\): The redemption rates in the three samples are different.

  2. \(H_0\): The population redemption rate is the same for all three coupon designs. \(H_A\): The population redemption rate is not the same for all three designs.

  3. \(H_0\): All expected counts are at least 5. \(H_A\): At least one expected count is less than 5.

  4. \(H_0\): The population redemption rates are different for the three designs. \(H_A\): The population redemption rates are the same.

(b) Assuming coupon design and redemption are independent, what is the expected count for “Coupon C / Redeemed”? (Round to three decimals.)

Answer: _________

(c) Compute that cell’s contribution to the chi-squared statistic. (Round to three decimals.)

Answer: _________

(d) Which statement about the conditions for using the chi-squared distribution is correct? Circle one.

  1. Conditions are met because all observed counts are at least 1.

  2. Conditions are not met because at least one expected count is below 5.

  3. Conditions are not met because at least one observed count is below 5.

  4. Conditions are met because the total sample size is more than 100.

Because of part (d), the store uses a simulation instead. The histogram below shows 1000 simulated chi-squared statistics under the null hypothesis. The observed statistic, \(\chi^2 =\) 6.59, is marked by the dashed line.

(e) Based on the histogram, which is the best description of the p-value? Circle one.

  1. Less than 0.01
  2. Between 0.01 and 0.10
  3. Between 0.10 and 0.30
  4. More than 0.30

(f) At \(\alpha = 0.05\), what is the appropriate conclusion? Circle one.

  1. Reject \(H_0\); there is evidence of an association between coupon design and redemption.

  2. Fail to reject \(H_0\); there is no evidence of any association.

  3. Reject \(H_0\); coupon A is better than both B and C.

  4. Fail to reject \(H_0\); the observed differences are due to chance with probability 0.95.

(g) Can the result be generalized to all of the store’s shoppers? Circle one.

  1. Yes, because it was a randomized experiment.
  2. No, because the shoppers were volunteers, not a random sample.

(h) Can we draw a cause-and-effect conclusion? Circle one.

  1. Yes, because the coupon designs were randomly assigned.
  2. No, because it was not a random sample.

17. A test of independence between two categorical variables gives a chi-squared statistic of \(\chi^2 = 9.4\). The histogram below shows 100 simulated chi-squared statistics under the null hypothesis. The number above each bar is the count of simulations in that bar, and the bars at or beyond the observed value are shaded.

Find the p-value of the test exactly (as a decimal).

Answer: _________


18. Determine whether each statement about the chi-squared test is true or false. Circle one for each.

(a) The chi-squared test can only be used for 2×2 contingency tables.
True / False

(b) If even one expected count is smaller than 5, the chi-squared distribution should not be used to find the p-value.
True / False

(c) A large chi-squared statistic provides evidence against independence.
True / False

(d) The chi-squared statistic adds up how far the observed counts are from the counts we would expect if the two variables were independent.
True / False

(e) In an observational study, a very small p-value from a chi-squared test shows that one variable causes changes in the other.
True / False

(f) The chi-squared distribution can take negative values.
True / False


Topics 15 and 16: ANOVA and Post-Hoc Analysis

19. A food scientist randomly assigns 60 batches of potato chips to be fried at one of three temperatures (Low, Medium, High), 20 batches per temperature, and rates the crunchiness of each batch (1–100 scale). The ANOVA table below summarizes the results, with the F-statistic missing.

Source df Sum of Squares Mean Square F-statistic p-value
Temperature 2 1240.8 620.4 ? 0.003
Residuals 57 5472.0 96.0

(a) Verify the calculation of Mean Square for Groups (MSG). Show your work.



(b) Compute the missing F-statistic. (Round to two decimals.)

Answer: _________

(c) Which pair of hypotheses is appropriate? Circle one.

  1. \(H_0\): There is no association between temperature and the proportion of crunchy batches. \(H_A\): There is an association.

  2. \(H_0\): The long-run mean crunchiness is the same for all three temperatures. \(H_A\): At least one temperature has a different long-run mean crunchiness.

  3. \(H_0: \mu_L = \mu_M = \mu_H\). \(H_A: \mu_L \neq \mu_M \neq \mu_H\).

  4. \(H_0\): The sample mean crunchiness ratings are equal. \(H_A\): The sample mean crunchiness ratings are all different.

(d) At \(\alpha = 0.05\), what is the appropriate decision? Circle one.

Reject \(H_0\) / Fail to reject \(H_0\)

(e) Does a significant ANOVA result tell us which specific temperatures differ from each other? Circle one.

Yes / No

(f) How many pairwise comparisons are there for three groups?

Answer: _________

(g) Using the Bonferroni correction with \(\alpha = 0.05\), what significance level should be used for each pairwise test? (Round to four decimals.) Give your answer as a decimal, not a percentage (for example, 0.0125, not 1.25%).

Answer: _________

Instead of adjusting the significance level, the scientist uses Bonferroni-adjusted p-values (each p-value has already been multiplied by the number of comparisons), so each one can be compared directly to \(\alpha = 0.05\):

Comparison Mean Difference SE df t \(p_{\text{bonferroni}}\)
Low − Medium −2.0 3.10 57 −0.65 1.000
Low − High −10.5 3.10 57 −3.39 0.004
Medium − High −8.5 3.10 57 −2.74 0.024

(h) Which statement is correct? Circle one.

  1. High temperature gives significantly higher mean crunchiness than both Low and Medium, but Low and Medium are not significantly different.

  2. Low temperature gives significantly higher mean crunchiness than both Medium and High.

  3. All three temperatures give significantly different mean crunchiness.

  4. None of the temperatures are significantly different, because one adjusted p-value equals 1.

(i) What is the full conclusion of the ANOVA test in this study? Circle one.

  1. There is strong evidence that frying temperature affects mean crunchiness. Because batches were randomly assigned to temperatures, we can conclude cause and effect.

  2. There is strong evidence of an association between temperature and crunchiness, but we cannot conclude cause and effect because this is an observational study.

  3. There is not enough evidence that temperature matters.


20. Determine whether each statement about ANOVA is true or false. Circle one for each.

(a) A significant ANOVA result means all group means are different from each other.
True / False

(b) The F-statistic is always non-negative.
True / False

(c) If the F-statistic is close to 1, the between-group variability is similar to the within-group variability.
True / False

(d) One of the conditions for ANOVA is that the populations should have roughly equal variances.
True / False


21. After finding a significant ANOVA result comparing customer satisfaction scores across 4 restaurant locations (A, B, C, D), a manager performs pairwise t-tests. The unadjusted p-values are:

Comparison Unadjusted p-value
A vs. B 0.234
A vs. C 0.003
A vs. D 0.087
B vs. C 0.018
B vs. D 0.412
C vs. D 0.006

She uses the Bonferroni method with \(\alpha = 0.05\).

(a) How many pairwise comparisons are there?

Answer: _________

(b) What is the Bonferroni-adjusted significance level \(\alpha^*\) for each individual test? (Round to four decimals.) Give your answer as a decimal, not a percentage (for example, 0.0125, not 1.25%).

Answer: _________

(c) Using the Bonferroni method, for which comparisons should the manager reject the null hypothesis? Circle all that apply.

  1. A vs. B (ii) A vs. C (iii) A vs. D (iv) B vs. C (v) B vs. D (vi) C vs. D

(d) Find the Bonferroni-adjusted p-value for “B vs. C”.

Answer: _________

(e) True or false: If ANOVA finds a significant result, that guarantees all pairwise comparisons will also be significant after Bonferroni adjustment.
True / False


22. Researchers compare mean 30-day recovery scores for patients assigned to one of four post-discharge care programs: Standard Care, Telehealth Follow-up, Nurse Coaching and Intensive Rehab. Higher scores indicate better health after discharge. A one-way ANOVA was run in Jamovi:

Cases Sum of Squares df Mean Square F p
Care Program 1284.6 3 428.2 9.84 < 0.001
Residuals 6789.4 156 43.52

(a) How many pairwise comparisons are needed to compare all four care programs?

Answer: _________

(b) Which of the following gives the correct hypotheses for the ANOVA test? Circle one.

  1. \(H_0\): All sample mean recovery scores are equal; \(H_A\): All sample mean recovery scores are different

  2. \(H_0\): All population mean recovery scores are equal; \(H_A\): At least one population mean recovery score differs

  3. \(H_0\): At least one population mean recovery score differs; \(H_A\): All population mean recovery scores are equal

  4. \(H_0\): The population standard deviations are equal; \(H_A\): At least one population standard deviation differs

(c) Based on the ANOVA output, is there evidence that mean recovery score differs across care programs at \(\alpha = 0.05\)? Circle one.

Yes / No

Because the ANOVA is statistically significant, the researchers perform a Tukey follow-up procedure:

Comparison Mean Difference SE df t \(p_{\text{Tukey}}\)
Standard Care vs Telehealth Follow-up −1.10 1.48 156 −0.74 0.879
Standard Care vs Nurse Coaching −5.90 1.48 156 −3.99 < 0.001
Standard Care vs Intensive Rehab −8.20 1.48 156 −5.54 < 0.001
Telehealth Follow-up vs Nurse Coaching −4.80 1.48 156 −3.24 0.007
Telehealth Follow-up vs Intensive Rehab −7.10 1.48 156 −4.80 < 0.001
Nurse Coaching vs Intensive Rehab −2.30 1.48 156 −1.55 0.410

(d) List all pairs that are significantly different according to Tukey’s method.





Additional Practice

23. A bakery advertises that its sourdough loaves weigh 500 grams on average. A customer suspects the loaves are lighter than advertised. She weighs a random sample of 15 loaves and finds a mean of 493.6 grams with a standard deviation of 11.2 grams. A dotplot of the weights shows no strong skewness or outliers.

(a) Which pair of hypotheses is appropriate? Circle one.

  1. \(H_0: \mu = 500\) vs. \(H_A: \mu \neq 500\)

  2. \(H_0: \mu = 500\) vs. \(H_A: \mu < 500\)

  3. \(H_0: \bar{x} = 500\) vs. \(H_A: \bar{x} < 500\)

  4. \(H_0: \mu = 493.6\) vs. \(H_A: \mu < 493.6\)

(b) Calculate the standard error. (Round to three decimal places.)

Answer: _________

(c) Calculate the T-score. (Round to three decimal places.)

Answer: _________

(d) What are the degrees of freedom?

Answer: _________

(e) Use Jamovi to find the p-value. (Round to three decimal places.)

Answer: _________

(f) At \(\alpha = 0.05\), which conclusion is appropriate? Circle one.

  1. Reject \(H_0\). There is convincing evidence that the true mean weight of the bakery’s loaves is less than 500 grams.

  2. Fail to reject \(H_0\). There is not convincing evidence that the loaves are lighter than advertised.

  3. Reject \(H_0\). We have proved that every loaf weighs less than 500 grams.

  4. Accept \(H_0\). The true mean weight is exactly 500 grams.

(g) Calculate the lower and upper bounds of a 95% confidence interval for the true mean weight. (Round to two decimal places.)

Lower: _________ Upper: _________

(h) Suppose the customer’s conclusion in part (f) is wrong. What type of error did she make, and what does it mean in this context? Circle one.

  1. Type I error: the true mean weight really is 500 grams, but she concluded the loaves are lighter.

  2. Type II error: the true mean weight really is 500 grams, but she concluded the loaves are lighter.

  3. Type I error: the loaves really are lighter on average, but she did not find convincing evidence of it.

  4. Type II error: the loaves really are lighter on average, but she did not find convincing evidence of it.

(i) If she had weighed 60 loaves and gotten the same sample mean and standard deviation, the p-value would be: Circle one.

Smaller / Larger / The same


24. A city transportation office takes a random sample of 25 adults who bike to work and an independent random sample of 31 adults who drive to work. Each person completes a stress survey (higher scores mean more stress). The office wants to know whether people who bike to work have lower average stress than people who drive.

Bike Drive
Sample size (\(n\)) 25 31
Sample mean (\(\bar{x}\)) 41.2 46.5
Sample SD (\(s\)) 8.1 9.3

Assume conditions for inference with a t-distribution are met and that the populations have equal variances. Use the order “Bike − Drive.”

(a) Which pair of hypotheses is appropriate? Circle one.

  1. \(H_0: \mu_B - \mu_D = 0\) vs. \(H_A: \mu_B - \mu_D \neq 0\)

  2. \(H_0: \mu_B - \mu_D = 0\) vs. \(H_A: \mu_B - \mu_D < 0\)

  3. \(H_0: \mu_B - \mu_D = 0\) vs. \(H_A: \mu_B - \mu_D > 0\)

  4. \(H_0: \bar{x}_B - \bar{x}_D = 0\) vs. \(H_A: \bar{x}_B - \bar{x}_D < 0\)

(b) What is the observed difference in sample means?

Answer: _________

(c) Calculate the pooled standard deviation (\(s_p\)). (Round to three decimal places.)

Answer: _________

(d) Calculate the standard error. (Round to three decimal places.)

Answer: _________

(e) What are the degrees of freedom?

Answer: _________

(f) Calculate the T-score. (Round to three decimal places.)

Answer: _________

(g) Use Jamovi to find the p-value. (Round to three decimal places.)

Answer: _________

(h) What is the full conclusion at \(\alpha = 0.05\)? Circle one.

  1. There is convincing evidence that biking to work causes lower stress, and the result applies to all adults in the city who bike or drive to work.

  2. There is convincing evidence that adults in the city who bike to work have lower average stress than those who drive. Because these were random samples, we can generalize to all bikers and drivers in the city, but because people chose how to commute (no random assignment), we cannot conclude that biking causes lower stress.

  3. There is convincing evidence that biking causes lower stress, but only for the 56 people in this study.

  4. There is not convincing evidence of a difference in average stress.

(i) Give one possible confounding variable that could explain the difference in stress between bikers and drivers.




25. A health researcher takes random samples of 25 adults from each of four age groups (18–29, 30–44, 45–64 and 65+) and records each person’s average hours of sleep per night. She wants to know whether mean sleep differs across the age groups. The Jamovi ANOVA output is shown below, with the F-statistic replaced by the letter A.

Sum of Squares df Mean Square F p
Age Group 14.69 3 4.90 A 0.009
Residuals 116.16 96 1.21

(a) Which pair of hypotheses is appropriate? Circle one.

  1. \(H_0\): The mean hours of sleep is the same for all four age groups in the population. \(H_A\): At least one age group has a different population mean.

  2. \(H_0\): There is no association between age group and the proportion of people who sleep at least 7 hours. \(H_A\): There is an association.

  3. \(H_0: \mu_1 = \mu_2 = \mu_3 = \mu_4\). \(H_A: \mu_1 \neq \mu_2 \neq \mu_3 \neq \mu_4\).

  4. \(H_0\): The four sample means are equal. \(H_A\): The four sample means are different.

(b) Find the value of A, the F-statistic. (Round to two decimal places.)

Answer: _________

(c) Find the total number of people in the study using the degrees of freedom in the table.

Answer: _________

(d) What is the full conclusion at \(\alpha = 0.05\)? Circle one.

  1. There is strong evidence that mean sleep differs across age groups. We can generalize to the population because of random sampling, but we cannot say that age causes the difference because there was no random assignment.

  2. There is strong evidence that getting older causes people to sleep less.

  3. There is strong evidence that all four age groups have different mean sleep.

  4. There is not enough evidence that mean sleep differs across age groups.

(e) How many pairwise comparisons are there?

Answer: _________

(f) What is the Bonferroni-adjusted significance level \(\alpha^*\)? (Round to four decimal places.) Give your answer as a decimal, not a percentage (for example, 0.0125, not 1.25%).

Answer: _________

The researcher runs a follow-up analysis. The table below shows Bonferroni-adjusted p-values, which can be compared directly to \(\alpha = 0.05\).

Comparison Mean Difference SE df t \(p_{\text{bonferroni}}\)
18–29 − 30–44 0.80 0.311 96 2.57 0.070
18–29 − 45–64 0.90 0.311 96 2.89 0.028
18–29 − 65+ 0.20 0.311 96 0.64 1.000
30–44 − 45–64 0.10 0.311 96 0.32 1.000
30–44 − 65+ −0.60 0.311 96 −1.93 0.341
45–64 − 65+ −0.70 0.311 96 −2.25 0.160

(g) Which statement is correct? Circle one.

  1. Adults aged 18–29 sleep significantly more on average than adults aged 45–64. No other pair of age groups is significantly different.

  2. Adults aged 18–29 sleep significantly more than both the 30–44 and 45–64 groups.

  3. The 65+ group sleeps significantly more than every other group.

  4. No pairs are significantly different, so the ANOVA result must be wrong.

(h) The unadjusted p-value for “18–29 vs. 30–44” is 0.012. Explain why this comparison is not considered significant after the Bonferroni correction.




Answer Key

1

  1. iii. The confidence level describes how often the method captures the true mean over many repeated samples. Option (i) is wrong because a single computed interval either contains μ or it doesn’t.

  2. ii. 20 is outside (17.2, 19.6), so 20 is not a plausible value for the true mean.

  3. ii. 18 is inside the interval, so it is a plausible value. We fail to reject H₀: μ = 18 at α = 0.05.


2

A. A p-value is computed assuming H₀ is true (μ = 12). It is the chance of a sample mean as extreme or more extreme than the one observed (11.8 or less, because H_A is “<”).


3

  1. iii. The hypotheses are about the population mean, and the question asks about “different,” so the test is two-sided.

  2. SE = 0.35 / √18 ≈ 0.0825

  3. T = (15.82 − 16) / 0.0825 ≈ −2.182

  4. df = 18 − 1 = 17

  5. Two-sided p-value ≈ 0.043

  6. t* ≈ 2.110

  7. 15.82 ± 2.110 × 0.0825 = 15.82 ± 0.174. Lower ≈ 15.646, Upper ≈ 15.994

  8. i. p ≈ 0.043 < 0.05, so we reject H₀, and 16 is outside (15.646, 15.994). Both lead to the same conclusion.

  9. ii. A Type I error is rejecting a true H₀.

  10. iii. A Type II error is failing to reject a false H₀.


4

  1. i. The question asks about “a difference,” so the test is two-sided.

  2. 68.5 − 74.2 = −5.7

  3. \(s_p = \sqrt{\dfrac{(28-1)(9.0)^2 + (32-1)(8.5)^2}{28+32-2}} \approx\) 8.736

  4. \(SE = 8.736\sqrt{\dfrac{1}{28} + \dfrac{1}{32}} \approx\) 2.261

  5. df = 28 + 32 − 2 = 58

  6. t = −5.7 / 2.261 ≈ −2.52

  7. Two-sided p-value ≈ 0.014

  8. i. p < 0.05, so we reject H₀. Random assignment allows a cause-and-effect conclusion, but the employees were not a random sample, so we cannot generalize beyond this company.


5

  1. 12.6 − 9.8 = 2.8

  2. \(s_p = \sqrt{\dfrac{34(5.4)^2 + 34(5.9)^2}{68}} \approx\) 5.656

  3. \(SE = 5.656\sqrt{\dfrac{1}{35} + \dfrac{1}{35}} \approx\) 1.352

  4. df = 35 + 35 − 2 = 68

  5. t* ≈ 1.995

  6. 2.8 ± 1.995 × 1.352 = 2.8 ± 2.70. Lower ≈ 0.10, Upper ≈ 5.50

  7. i. The whole interval is above 0, so nursing majors work more hours on average.


6

  1. Paired: the same runners are measured twice.

  2. Independent: two separate random samples.

  3. Paired: twins form natural matched pairs.

  4. Independent: different students in different semesters.

  5. Paired: each athlete gives both measurements.


7

  1. Paired

  2. i and iii. Each sprinter is measured under both conditions, so every “new shoes” time has a partner “old shoes” time from the same person.

  3. ii. The observed difference in means is the same either way. A paired analysis works with each sprinter’s own difference, which removes the large sprinter-to-sprinter variability (fast vs. slow runners). Ignoring the pairing leaves that variability in, so the SE is larger, |t| is smaller and the p-value is larger. That is why we pair: it makes the test more sensitive to a real effect.


8

  1. SE = 15 / √25 = 3.0

  2. df = 24

  3. t* ≈ 2.064

  4. Lower: −8.4 − 2.064(3) ≈ −14.59. Upper: −8.4 + 2.064(3) ≈ −2.21

  5. i. The interval does not contain 0.


9

  1. ii. This is a paired design, and the research question (“improves”) is one-sided.

  2. \(\bar{x}_d\) = 4.2

  3. SE = 7.5 / √20 ≈ 1.677

  4. t = 4.2 / 1.677 ≈ 2.50

  5. df = 20 − 1 = 19

  6. One-sided p-value ≈ 0.011

  7. i

  8. i. p < 0.05, so we reject H₀. Random assignment gives cause and effect, but volunteers mean we cannot generalize.

  9. t* ≈ 2.093

  10. 4.2 ± 2.093 × 1.677 = 4.2 ± 3.51. Lower ≈ 0.69, Upper ≈ 7.71

  11. i. 0 is not in the interval, which agrees with rejecting H₀.


10

  1. ii. Random sampling plus random assignment supports both generalization and causation.

  2. i. Random sampling without random assignment supports generalization, but not causation.

  3. iii. Random assignment without random sampling supports causation, but not generalization.


11

  1. ii Normality. The sample is small and strongly skewed.

  2. iii Equal variance. 11.8 is more than twice 3.2.

  3. iv. For ANOVA, the largest SD should be at most twice the smallest SD. Option (iii) compares means, which is not a condition. Option (i) is a condition for the chi-squared test.

  4. ii No. 21,000 > 2 × 8,000 = 16,000.


12

  1. Smaller. A larger n gives a smaller SE, so |t| is larger.

  2. It gets stronger. Larger samples give a smaller SE, so |t| is larger and the p-value is smaller.

  3. Wider

  4. Smaller. A larger \(|\bar{x}_d|\) with the same SE gives a larger |t|.

  5. Smaller

  6. It decreases. F = (between-group variability) / (within-group variability), so a larger denominator makes F smaller.

  7. It increases


13

  1. Two-sample t-test

  2. One-sample t-test

  3. Paired t interval

  4. ANOVA

  5. Chi-squared test


14

A. Each test carries a 5% chance of a false positive, so with 10 tests the overall chance of at least one Type I error is much larger than 5%. ANOVA (and one chi-squared test) keeps the overall Type I error rate at α.


15

  1. H₀: Education level and preferred health information source are independent (not associated). H_A: They are associated.

  2. E = (120)(160) / 360 = 53.33

  3. E = (120)(105) / 360 = 35.00

  4. (40 − 53.33)² / 53.33 ≈ 3.333

  5. df = (3 − 1)(3 − 1) = 4

  6. i

  7. i. p = 0.0003 < 0.05.

  8. ii


16

  1. ii. Hypotheses are about population rates. Options (i) and (iii) are about samples or conditions, not parameters.

  2. E = (20)(30) / 160 = 3.750

  3. (1 − 3.75)² / 3.75 ≈ 2.017

  4. ii. The expected count 3.75 < 5. Conditions are checked with expected, not observed, counts.

  5. ii. Observed χ² = 6.59. Only the small shaded bars to the right of the dashed line count. They hold 35 of the 1000 simulations, so the p-value ≈ 0.035.

  6. i. The p-value is below 0.05, so we reject H₀: there is evidence of an association between coupon design and redemption.

  7. ii

  8. i


17

Add the counts of the shaded bars (statistics ≥ 9.4) and divide by 100:

p-value = 0.03


18

  1. False

  2. True

  3. True

  4. True

  5. False. Association is not causation without random assignment.

  6. False


19

  1. MSG = SSG / df_G = 1240.8 / 2 = 620.4

  2. F = MSG / MSE = 620.4 / 96.0 ≈ 6.46

  3. ii. Option (iii) is wrong because H_A does not say all means differ. Option (i) is about proportions, and option (iv) is about sample means.

  4. Reject H₀ (p = 0.003 < 0.05)

  5. No. ANOVA only says at least one mean differs.

  6. 3(3 − 1) / 2 = 3

  7. α* = 0.05 / 3 ≈ 0.0167

  8. i. Low − High (p = 0.004) and Medium − High (p = 0.024) are below 0.05, and the negative differences mean High is larger. Low − Medium (p = 1.000) is not significant.

  9. i


20

  1. False. At least one mean differs.

  2. True

  3. True

  4. True


21

  1. 4(4 − 1) / 2 = 6

  2. α* = 0.05 / 6 ≈ 0.0083

  3. ii A vs. C (0.003) and vi C vs. D (0.006)

  4. 6 × 0.018 = 0.108. That is above 0.05, so B vs. C is not significant, matching part (c).

  5. False


22

  1. 4(4 − 1) / 2 = 6

  2. ii

  3. Yes (p < 0.001)

  4. Standard Care vs Nurse Coaching, Standard Care vs Intensive Rehab, Telehealth Follow-up vs Nurse Coaching, and Telehealth Follow-up vs Intensive Rehab. The pairs that are not significantly different are Standard Care vs Telehealth (p = 0.879) and Nurse Coaching vs Intensive Rehab (p = 0.410).


23

  1. ii. The question asks about “lighter,” so the test is one-sided.

  2. SE = 11.2 / √15 ≈ 2.892

  3. T = (493.6 − 500) / 2.892 ≈ −2.213

  4. df = 15 − 1 = 14

  5. One-sided p-value ≈ 0.022

  6. i. p ≈ 0.022 < 0.05.

  7. t* ≈ 2.145, so 493.6 ± 2.145 × 2.892 = 493.6 ± 6.20. Lower ≈ 487.40, Upper ≈ 499.80. The interval is entirely below 500, which agrees with the test.

  8. i. She rejected H₀, so the only possible error is a Type I error: rejecting a true H₀.

  9. Smaller. With n = 60, SE = 11.2 / √60 ≈ 1.446, so T ≈ −4.43, which is much farther from 0.


24

  1. ii. “Lower” for bikers means μ_B − μ_D < 0.

  2. 41.2 − 46.5 = −5.3

  3. \(s_p = \sqrt{\dfrac{24(8.1)^2 + 30(9.3)^2}{54}} \approx\) 8.787

  4. \(SE = 8.787\sqrt{\dfrac{1}{25} + \dfrac{1}{31}} \approx\) 2.362

  5. df = 25 + 31 − 2 = 54

  6. T = −5.3 / 2.362 ≈ −2.244

  7. One-sided p-value ≈ 0.014

  8. ii. Random samples allow generalization. This is an observational study, so it shows an association but not causation.

  9. Answers will vary. Examples: physical fitness or health, distance from home to work, income or type of job, or general lifestyle. Any of these could affect both how someone commutes and how stressed they are.


25

  1. i. Option (iii) is wrong because H_A does not say all means differ.

  2. A = F = MSG / MSE = 4.90 / 1.21 ≈ 4.05

  3. Total df = 3 + 96 = 99 = N − 1, so N = 100 (25 per group × 4 groups).

  4. i. p = 0.009 < 0.05.

  5. 4(4 − 1) / 2 = 6

  6. α* = 0.05 / 6 ≈ 0.0083

  7. i. Only 18–29 vs 45–64 has an adjusted p-value below 0.05 (0.028). The positive difference (0.90) means the 18–29 group sleeps more.

  8. With 6 comparisons, the Bonferroni method compares each unadjusted p-value to 0.05 / 6 ≈ 0.0083, or equivalently multiplies it by 6. 0.012 > 0.0083 (adjusted p = 6 × 0.012 ≈ 0.07 > 0.05), so the comparison is not significant once we account for running many tests.