| Goals: |
|
Suppose a physical therapist has developed a new treatment that she believes will improve flexibility for people suffering from rotator cuff injuries. What would be a reasonable way to test whether the treatment is effective? Or, suppose a drug manufacturer has developed a new medicine that is suppose to be an improvement, say in time to providing relief to patients, over a currently used medicine. What would be a reasonable process to test whether the new drug is more effective? Questions such as these can be assessed by way of studying a difference of means. In the first example, the researcher is interested in the difference between mean flexibility after treatment and mean flexibility before. Likewise, the second example looks at the difference between mean time to relief from the new drug and the mean time to relief for the current drug. Comparing means is common in the data-driven disciplines, and this chapter introduces tests for comparing two means.
Suppose that and are two populations of numbers. Suppose that has mean and standard deviation and likewise, population has mean and standard deviation . In mathematics, there are two fundamental ways to compare two numbers. One is to take their ratio, the other is to take the difference. In comparing means, we do the latter, i.e, we look at In a hypothesis test on the difference, the possible competing hypotheses and corresponding direction of extremes are:
| to the left | to the right | two-sided |
Regardless of choice of the goal is to make a decision just as in the tests covered in prior chapters: Reject or fail to reject
In the case of why is the direction of extreme to the left? As was the case in testing a single mean, evidence against will come from samples, but in this case a sample from each population. From population , a sample is drawn and sample mean computed. Similarly, a sample is drawn from and a sample mean computed. It is the difference that is used to make a decision regarding The smaller the difference, i.e., the farther to the left of 0, the stronger the evidence against Hence, the direction of extreme is to the left. Similar explanations can be made for the other two cases.
Since is equivalent to the hypotheses can also be rewritten as:
| to the left | to the right | two-sided |
For purposes of consistency, we’ll use the former notation throughout this chapter.
A researcher wished to test whether filling a football with air or helium would change the average distance of a punt. One set of footballs were filled with air and the other were filled with helium. Each football was punted by the researcher, and the distance recorded in yards. State the competing hypotheses and direction of extreme.
Solution. Let and denote the true averages of the researcher punting distances of air-filled and helium-filled footballs, respectively. Then the competing hypotheses are:
The direction of extreme is two-sided.
A researcher wished to test whether consuming caffeine shortens the average time it takes to run a mile. To test the claim, she timed participants running a mile. One week later, allowing participants time to recuperate, she gave each participant a 29 mg caffeine tablet, and then ten minutes after consuming the tablet, she timed participants running another mile. State the competing hypotheses and direction of extreme.
Solution. Let and denote the true averages of the time to run a mile before and after consuming caffeine, respectively. Then the competing hypotheses are:
The direction of extreme is to the left. Note that if one used the difference instead, then the competing hypotheses would be:
With this choice the direction of extreme is to the right.
Answer the following as True or False.
A null hypothesis of is the same as .
Hypothesis involving testing two population means still has the same decision outcomes: Reject and Fail to Reject .
If , then the direction of extreme is to the right.
It is possible to have a null hypothesis read .
If , then the direction of extreme is to the right.
For the following problems, write the hypothesis test and determine the direction of extreme.
An education professor wants to determine if the curriculum he/she has designed is improving students’ average final exam scores. Scores for the same final exam are collected over two semesters.
Hypothyroidism can be an issue with English Bulldogs. A researcher wants to find out if a new drug has an impact on the average thyroxine (T4) levels. T4 levels are collected for a control group of 40 English Bulldogs and a treatment group of 40 English Bulldog. The treatment group has been given the new drug.
It is possible to change the direction of extreme for one-sided tests. In the previous problem, rewrite the one-sided tests so that the direction of extreme is in the other direction.