Chapter 9: Hypothesis Testing with Two Samples

Chapter 9 Practice

9.1 Practice

Two Population Means with Unknown Standard Deviations

Use the following information to answer the next 15 exercises: Indicate if the hypothesis test is for

  1. independent group means, population standard deviations, and/or variances known
  2. independent group means, population standard deviations, and/or variances unknown
  3. matched or paired samples
  4. single mean
  5. two proportions
  6. single proportion

1

It is believed that 70% of males pass their drivers test in the first attempt, while 65% of females pass the test in the first attempt. Of interest is whether the proportions are in fact equal.

2

A new laundry detergent is tested on consumers. Of interest is the proportion of consumers who prefer the new brand over the leading competitor. A study is done to test this.

3

A new windshield treatment claims to repel water more effectively. Ten windshields are tested by simulating rain without the new treatment. The same windshields are then treated, and the experiment is run again. A hypothesis test is conducted.

4

The known standard deviation in salary for all mid-level professionals in the financial industry is $11,000. Company A and Company B are in the financial industry. Suppose samples are taken of mid-level professionals from Company A and from Company B. The sample mean salary for mid-level professionals in Company A is $80,000. The sample mean salary for mid-level professionals in Company B is $96,000. Company A and Company B management want to know if their mid-level professionals are paid differently, on average.

5

The average worker in Germany gets eight weeks of paid vacation.

6

According to a television commercial, 80% of dentists agree that Ultra Fresh toothpaste is the best on the market.

7

It is believed that the average grade on an English essay in a particular school system for females is higher than for males. A random sample of 31 females had a mean score of 82 with a standard deviation of three, and a random sample of 25 males had a mean score of 76 with a standard deviation of four.

8

The league mean batting average is 0.280 with a known standard deviation of 0.06. The Rattlers and the Vikings belong to the league. The mean batting average for a sample of eight Rattlers is 0.210, and the mean batting average for a sample of eight Vikings is 0.260. There are 24 players on the Rattlers and 19 players on the Vikings. Are the batting averages of the Rattlers and Vikings statistically different?

9

In a random sample of 100 forests in the United States, 56 were coniferous or contained conifers. In a random sample of 80 forests in Mexico, 40 were coniferous or contained conifers. Is the proportion of conifers in the United States statistically more than the proportion of conifers in Mexico?

10

A new medicine is said to help improve sleep. Eight subjects are picked at random and given the medicine. The mean hours slept for each person were recorded before starting the medication and after.

11

It is thought that teenagers sleep more than adults on average. A study is done to verify this. A sample of 16 teenagers has a mean of 8.9 hours slept and a standard deviation of 1.2. A sample of 12 adults has a mean of 6.9 hours slept and a standard deviation of 0.6.

12

Varsity athletes practice five times a week, on average.

13

A sample of 12 in-state graduate school programs at school A has a mean tuition of $64,000 with a standard deviation of $8,000. At school B, a sample of 16 in-state graduate programs has a mean of $80,000 with a standard deviation of $6,000. On average, are the mean tuitions different?

14

A new WiFi range booster is being offered to consumers. A researcher tests the native range of 12 different routers under the same conditions. The ranges are recorded. Then the researcher uses the new WiFi range booster and records the new ranges. Does the new WiFi range booster do a better job?

15

A high school principal claims that 30% of student athletes drive themselves to school, while 4% of non-athletes drive themselves to school. In a sample of 20 student athletes, 45% drive themselves to school. In a sample of 35 non-athlete students, 6% drive themselves to school. Is the percentage of student athletes who drive themselves to school more than the percentage of nonathletes?


Use the following information to answer the next three exercises: A study is done to determine which of two soft drinks has more sugar. There are 13 cans of Beverage A in a sample and six cans of Beverage B. The mean amount of sugar in Beverage A is 36 grams with a standard deviation of 0.6 grams. The mean amount of sugar in Beverage B is 38 grams with a standard deviation of 0.8 grams. The researchers believe that Beverage B has more sugar than Beverage A, on average. Both populations have normal distributions.

16

Are standard deviations known or unknown?

17

What is the random variable?

18

Is this a one-tailed or two-tailed test?

Use the following information to answer the next 12 exercises: The U.S. Center for Disease Control reports that the mean life expectancy was 47.6 years for White people born in 1900 and 33.0 years for non-White people. Suppose that you randomly survey death records for people born in 1900 in a certain county. Of the 124 White people, the mean life span was 45.3 years with a standard deviation of 12.7 years. Of the 82 non-White people, the mean life span was 34.1 years with a standard deviation of 15.6 years. Conduct a hypothesis test to see if the mean life spans in the county were the same for White and non-White people.

19

Is this a test of means or proportions?

20

State the null and alternative hypotheses.

  1. H0: __________
  2. Ha: __________

21

Is this a right-tailed, left-tailed, or two-tailed test?

22

In symbols, what is the random variable of interest for this test?

23

In words, define the random variable of interest for this test.

24

Which distribution (normal or Student’s t) would you use for this hypothesis test?

25

Explain why you chose the distribution you did for Exercise 10.24.

26

Calculate the test statistic and p-value.

27

Sketch a graph of the situation. Label the horizontal axis. Mark the hypothesized difference and the sample difference. Shade the area corresponding to the p-value.

28

Find the p-value.

29

At a pre-conceived α = 0.05, what is your:

  1. Decision:
  2. Reason for the decision:
  3. Conclusion (write out in a complete sentence):

30

Does it appear that the means are the same? Why or why not?

9.2 Practice

Use the following information to answer the next five exercises. The mean speeds of fastball pitches from two different baseball pitchers are to be compared. A sample of 14 fastball pitches is measured from each pitcher. The populations have normal distributions. [link] shows the result. Scouters believe that Rodriguez pitches a speedier fastball.

Pitcher Sample Mean Speed of Pitches (mph) Population Standard Deviation
Wesley 86 3
Rodriguez 91 7

What is the random variable?

Solution

The difference in mean speeds of the fastball pitches of the two pitchers

State the null and alternative hypotheses.

What is the test statistic?

Solution

–2.46

What is the p-value?

At the 1% significance level, what is your conclusion?

Solution

At the 1% significance level, we can reject the null hypothesis. There is sufficient data to conclude that the mean speed of Rodriguez’s fastball is faster than Wesley’s.

Use the following information to answer the next five exercises. A researcher is testing the effects of plant food on plant growth. Nine plants have been given the plant food. Another nine plants have not been given the plant food. The heights of the plants are recorded after eight weeks. The populations have normal distributions. The following table is the result. The researcher thinks the food makes the plants grow taller.

Plant Group Sample Mean Height of Plants (inches) Population Standard Deviation
Food 16 2.5
No food 14 1.5

Is the population standard deviation known or unknown?

State the null and alternative hypotheses.

Solution

Subscripts: 1 = Food, 2 = No Food

H0: μ1μ2

Ha: μ1 > μ2

What is the p-value?

Draw the graph of the p-value.

Solution
This is a normal distribution curve with mean equal to zero. The values 0 and 0.1 are labeled on the horizontal axis. A vertical line extends from 0.1 to the curve. The region under the curve to the right of the line is shaded to represent p-value = 0.0198.

At the 1% significance level, what is your conclusion?

Use the following information to answer the next five exercises. Two metal alloys are being considered as material for ball bearings. The mean melting point of the two alloys is to be compared. 15 pieces of each metal are being tested. Both populations have normal distributions. The following table is the result. It is believed that Alloy Zeta has a different melting point.

Sample Mean Melting Temperatures (°F) Population Standard Deviation
Alloy Gamma 800 95
Alloy Zeta 900 105

State the null and alternative hypotheses.

Solution

Subscripts: 1 = Gamma, 2 = Zeta

H0: μ1 = μ2

Ha: μ1μ2

Is this a right-, left-, or two-tailed test?

What is the p-value?

Solution

0.0062

Draw the graph of the p-value.

At the 1% significance level, what is your conclusion?

Solution

There is sufficient evidence to reject the null hypothesis. The data support that the melting point for Alloy Zeta is different from the melting point of Alloy Gamma.

9.3

Use the following information for the next five exercises. Two types of phone operating system are being tested to determine if there is a difference in the proportions of system failures (crashes). Fifteen out of a random sample of 150 phones with OS1 had system failures within the first eight hours of operation. Nine out of another random sample of 150 phones with OS2 had system failures within the first eight hours of operation. OS2 is believed to be more stable (have fewer crashes) than OS1.

Is this a test of means or proportions?

What is the random variable?

Solution

POS1POS2 = difference in the proportions of phones that had system failures within the first eight hours of operation with OS1 and OS2.

State the null and alternative hypotheses.

What is the p-value?

Solution

0.1018

What can you conclude about the two operating systems?

9.3 Practice

Use the following information to answer the next twelve exercises. In the recent Census, three percent of the U.S. population reported being of two or more races. However, the percent varies tremendously from state to state. Suppose that two random surveys are conducted. In the first random survey, out of 1,000 North Dakotans, only nine people reported being of two or more races. In the second random survey, out of 500 Nevadans, 17 people reported being of two or more races. Conduct a hypothesis test to determine if the population percentages are the same for the two states or if the percent for Nevada is statistically higher than for North Dakota.

Is this a test of means or proportions?

Solution

proportions

State the null and alternative hypotheses.

  1. H0: _________
  2. Ha: _________

Is this a right-tailed, left-tailed, or two-tailed test? How do you know?

Solution

right-tailed

What is the random variable of interest for this test?

In words, define the random variable for this test.

Solution

The random variable is the difference in proportions (percentages) of the populations that are of two or more races in Nevada and North Dakota.

Which distribution (normal or Student’s t) would you use for this hypothesis test?

Explain why you chose the distribution you did for the Exercise 10.56.

Solution

Our sample sizes are much greater than five each, so we use the normal for two proportions distribution for this hypothesis test.

Calculate the test statistic.

Sketch a graph of the situation. Mark the hypothesized difference and the sample difference. Shade the area corresponding to the p-value.

This is a horizontal axis with arrows at each end. The axis is labeled p'N - p'ND
Solution

Check student’s solution.

Find the p-value.

At a pre-conceived α = 0.05, what is your:

Decision:
Reason for the decision:
Conclusion (write out in a complete sentence):
Solution
  1. Reject the null hypothesis.
  2. p-value < alpha
  3. At the 5% significance level, there is sufficient evidence to conclude that the proportion (percent) of the population that is of two or more races in Nevada is statistically higher than that in North Dakota.

Does it appear that the proportion of Nevadans who are two or more races is higher than the proportion of North Dakotans? Why or why not?

9.4 Practice

Use the following information to answer the next five exercises. A study was conducted to test the effectiveness of a software patch in reducing system failures over a six-month period. Results for randomly selected installations are shown in [link]. The “before” value is matched to an “after” value, and the differences are calculated. The differences have a normal distribution. Test at the 1% significance level.

Installation A B C D E F G H
Before 3 6 4 2 5 8 2 6
After 1 5 2 0 1 0 2 2

What is the random variable?

Solution

the mean difference of the system failures

State the null and alternative hypotheses.

What is the p-value?

Solution

0.0067

Draw the graph of the p-value.

What conclusion can you draw about the software patch?

Solution

With a p-value 0.0067, we can reject the null hypothesis. There is enough evidence to support that the software patch is effective in reducing the number of system failures.

Use the following information to answer the next five exercises. A study was conducted to test the effectiveness of a juggling class. Before the class started, six subjects juggled as many balls as they could at once. After the class, the same six subjects juggled as many balls as they could. The differences in the number of balls are calculated. The differences have a normal distribution. Test at the 1% significance level.

Subject A B C D E F
Before 3 4 3 2 4 5
After 4 5 6 4 5 7

State the null and alternative hypotheses.

What is the p-value?

Solution

0.0021

What is the sample mean difference?

Draw the graph of the p-value.

Solution
This is a normal distribution curve with mean equal to zero. The values 0 and 1.67 are labeled on the horizontal axis. A vertical line extends from 1.67 to the curve. The region under the curve to the right of the line is shaded to represent p-value = 0.0021.

What conclusion can you draw about the juggling class?

Use the following information to answer the next five exercises. A doctor wants to know if a blood pressure medication is effective. Six subjects have their blood pressures recorded. After twelve weeks on the medication, the same six subjects have their blood pressure recorded again. For this test, only systolic pressure is of concern. Test at the 1% significance level.

Patient A B C D E F
Before 161 162 165 162 166 171
After 158 159 166 160 167 169

State the null and alternative hypotheses.

Solution

H0: μd ≥ 0

Ha: μd < 0

What is the test statistic?

What is the p-value?

Solution

0.0699

What is the sample mean difference?

What is the conclusion?

Solution

We decline to reject the null hypothesis. There is not sufficient evidence to support that the medication is effective.

 

License

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

Introductory Statistics Copyright © 2024 by LOUIS: The Louisiana Library Network is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book