Hypothesis Testing with One Sample

# 44 Null and Alternative Hypotheses

The actual test begins by considering two hypotheses. They are called the null hypothesis and the alternative hypothesis. These hypotheses contain opposing viewpoints.

*H _{0}*:

**The null hypothesis:**It is a statement of no difference between a sample mean or proportion and a population mean or proportion. In other words, the difference equals 0. This can often be considered the status quo and as a result if you cannot accept the null it requires some action.

*H _{a}*:

**The alternative hypothesis:**It is a claim about the population that is contradictory to

*H*and what we conclude when we cannot accept

_{0}*H*. The alternative hypothesis is the contender and must win with significant evidence to overthrow the status quo. This concept is sometimes referred to the tyranny of the status quo because as we will see later, to overthrow the null hypothesis takes usually 90 or greater confidence that this is the proper decision.

_{0}Since the null and alternative hypotheses are contradictory, you must examine evidence to decide if you have enough evidence to reject the null hypothesis or not. The evidence is in the form of sample data.

After you have determined which hypothesis the sample supports, you make a **decision.** There are two options for a decision. They are “cannot accept *H _{0}*” if the sample information favors the alternative hypothesis or “do not reject

*H*” or “decline to reject

_{0}*H*” if the sample information is insufficient to reject the null hypothesis. These conclusions are all based upon a level of probability, a significance level, that is set my the analyst.

_{0}Table 9.1 presents the various hypotheses in the relevant pairs. For example, if the null hypothesis is equal to some value, the alternative has to be not equal to that value.

H_{0} |
H_{a} |
---|---|

equal (=) | not equal (≠) |

greater than or equal to (≥) | less than (<) |

less than or equal to (≤) | more than (>) |

As a mathematical convention *H _{0}* always has a symbol with an equal in it.

*H*never has a symbol with an equal in it. The choice of symbol depends on the wording of the hypothesis test.

_{a}*H _{0}*: No more than 30% of the registered voters in Santa Clara County voted in the primary election.

*p*≤ 30

*H*: More than 30% of the registered voters in Santa Clara County voted in the primary election.

_{a}*p*> 30

We want to test whether the mean GPA of students in American colleges is different from 2.0 (out of 4.0). The null and alternative hypotheses are: *H _{0}*:

*μ*= 2.0

*H*:

_{a}*μ*≠ 2.0

We want to test if college students take less than five years to graduate from college, on the average. The null and alternative hypotheses are: *H _{0}*:

*μ*≥ 5

*H*:

_{a}*μ*< 5

<!– ??? –>

### Chapter Review

In a **hypothesis test**, sample data is evaluated in order to arrive at a decision about some type of claim. If certain conditions about the sample are satisfied, then the claim can be evaluated for a population. In a hypothesis test, we:

- Evaluate the
**null hypothesis**, typically denoted with*H*. The null is not rejected unless the hypothesis test shows otherwise. The null statement must always contain some form of equality (=, ≤ or ≥)_{0} - Always write the
**alternative hypothesis**, typically denoted with*H*or_{a}*H*, using not equal, less than or greater than symbols, i.e., (≠, <, or > )._{1} - If we reject the null hypothesis, then we can assume there is enough evidence to support the alternative hypothesis.
- Never state that a claim is proven true or false. Keep in mind the underlying fact that hypothesis testing is based on probability laws; therefore, we can talk only in terms of non-absolute certainties.

You are testing that the mean speed of your cable Internet connection is more than three Megabits per second. What is the random variable? Describe in words.

The random variable is the mean Internet speed in Megabits per second.

You are testing that the mean speed of your cable Internet connection is more than three Megabits per second. State the null and alternative hypotheses.

The American family has an average of two children. What is the random variable? Describe in words.

The random variable is the mean number of children an American family has.

The mean entry level salary of an employee at a company is ?58,000. You believe it is higher for IT professionals in the company. State the null and alternative hypotheses.

A sociologist claims the probability that a person picked at random in Times Square in New York City is visiting the area is 0.83. You want to test to see if the proportion is actually less. What is the random variable? Describe in words.

The random variable is the proportion of people picked at random in Times Square visiting the city.

A sociologist claims the probability that a person picked at random in Times Square in New York City is visiting the area is 0.83. You want to test to see if the claim is correct. State the null and alternative hypotheses.

In a population of fish, approximately 42% are female. A test is conducted to see if, in fact, the proportion is less. State the null and alternative hypotheses.

*H*:_{0}*p*= 0.42*H*:_{a}*p*< 0.42

Suppose that a recent article stated that the mean time spent in jail by a first–time convicted burglar is 2.5 years. A study was then done to see if the mean time has increased in the new century. A random sample of 26 first-time convicted burglars in a recent year was picked. The mean length of time in jail from the survey was 3 years with a standard deviation of 1.8 years. Suppose that it is somehow known that the population standard deviation is 1.5. If you were conducting a hypothesis test to determine if the mean length of jail time has increased, what would the null and alternative hypotheses be? The distribution of the population is normal.

*H*: _________{0}*H*: _________{a}

A random survey of 75 death row inmates revealed that the mean length of time on death row is 17.4 years with a standard deviation of 6.3 years. If you were conducting a hypothesis test to determine if the population mean time on death row could likely be 15 years, what would the null and alternative hypotheses be?

*H*: ___________{0}*H*: ___________{a}

*H*:_{0}*μ*= 15*H*:_{a}*μ*≠ 15

The National Institute of Mental Health published an article stating that in any one-year period, approximately 9.5 percent of American adults suffer from depression or a depressive illness. Suppose that in a survey of 100 people in a certain town, seven of them suffered from depression or a depressive illness. If you were conducting a hypothesis test to determine if the true proportion of people in that town suffering from depression or a depressive illness is lower than the percent in the general adult American population, what would the null and alternative hypotheses be?

*H*: _________{0}*H*: _________{a}

### Homework

Some of the following statements refer to the null hypothesis, some to the alternate hypothesis.

State the null hypothesis, *H _{0}*, and the alternative hypothesis.

*H*, in terms of the appropriate parameter (

_{a}*μ*or

*p*).

- The mean number of years Americans work before retiring is 34.
- At most 60% of Americans vote in presidential elections.
- The mean starting salary for San Jose State University graduates is at least ?100,000 per year.
- Twenty-nine percent of high school seniors get drunk each month.
- Fewer than 5% of adults ride the bus to work in Los Angeles.
- The mean number of cars a person owns in her lifetime is not more than ten.
- About half of Americans prefer to live away from cities, given the choice.
- Europeans have a mean paid vacation each year of six weeks.
- The chance of developing breast cancer is under 11% for women.
- Private universities’ mean tuition cost is more than ?20,000 per year.

*H*:_{0}*μ*= 34;*H*:_{a}*μ*≠ 34*H*:_{0}*p*≤ 0.60;*H*:_{a}*p*> 0.60*H*:_{0}*μ*≥ 100,000;*H*:_{a}*μ*< 100,000*H*:_{0}*p*= 0.29;*H*:_{a}*p*≠ 0.29*H*:_{0}*p*= 0.05;*H*:_{a}*p*< 0.05*H*:_{0}*μ*≤ 10;*H*:_{a}*μ*> 10*H*:_{0}*p*= 0.50;*H*:_{a}*p*≠ 0.50*H*:_{0}*μ*= 6;*H*:_{a}*μ*≠ 6*H*:_{0}*p*≥ 0.11;*H*:_{a}*p*< 0.11*H*:_{0}*μ*≤ 20,000;*H*:_{a}*μ*> 20,000

Over the past few decades, public health officials have examined the link between weight concerns and teen girls’ smoking. Researchers surveyed a group of 273 randomly selected teen girls living in Massachusetts (between 12 and 15 years old). After four years the girls were surveyed again. Sixty-three said they smoked to stay thin. Is there good evidence that more than thirty percent of the teen girls smoke to stay thin? The alternative hypothesis is:

*p*< 0.30*p*≤ 0.30*p*≥ 0.30*p*> 0.30

A statistics instructor believes that fewer than 20% of Evergreen Valley College (EVC) students attended the opening night midnight showing of the latest Harry Potter movie. She surveys 84 of her students and finds that 11 attended the midnight showing. An appropriate alternative hypothesis is:

*p*= 0.20*p*> 0.20*p*< 0.20*p*≤ 0.20

c

Previously, an organization reported that teenagers spent 4.5 hours per week, on average, on the phone. The organization thinks that, currently, the mean is higher. Fifteen randomly chosen teenagers were asked how many hours per week they spend on the phone. The sample mean was 4.75 hours with a sample standard deviation of 2.0. Conduct a hypothesis test. The null and alternative hypotheses are:

*H*: = 4.5,_{o}*H*: > 4.5_{a}*H*:_{o}*μ*≥ 4.5,*H*:_{a}*μ*< 4.5*H*:_{o}*μ*= 4.75,*H*:_{a}*μ*> 4.75*H*:_{o}*μ*= 4.5,*H*:_{a}*μ*> 4.5

### References

Data from the National Institute of Mental Health. Available online at http://www.nimh.nih.gov/publicat/depression.cfm.

### Glossary

- Hypothesis
- a statement about the value of a population parameter, in case of two hypotheses, the statement assumed to be true is called the null hypothesis (notation
*H*_{0}) and the contradictory statement is called the alternative hypothesis (notation*H*)._{a}