The logic and hypotheses of NHST

Introduction to Hypothesis Testing with One Sample

One job of a statistician is to make statistical inferences about populations based on samples taken from the population. Confidence intervals are one way to estimate a population parameter. Another way to make a statistical inference is to make a decision about a parameter. For instance, a car dealer advertises that its new small truck gets 35 miles per gallon, on average. A tutoring service claims that its method of tutoring helps 90% of its students get an A or a B. A company says that women managers in their company earn an average of $60,000 per year.


A statistician will make a decision about these claims. This process is called “hypothesis testing.” A hypothesis test involves collecting data from a sample and evaluating the data. Then, the statistician makes a decision as to whether or not there is sufficient evidence, based upon analyses of the data, to reject the null hypothesis.

In this chapter, you will learn about the steps of null hypothesis significance testing (NHST) and the errors associated with NHST.

Hypothesis testing consists of two contradictory hypotheses or statements, a decision based on the data, and a conclusion. To perform a hypothesis test, a statistician will:

  1. Set up two contradictory hypotheses that are mutually exclusive and exhaustive.

  1. State a decision criterion for determining what data would lead them to reject the null hypothesis or not.

  1. Collect sample data (in homework problems, the data or summary statistics will be given to you).

  1. Determine the correct distribution to perform the hypothesis test.

  1. Analyze sample data by performing the calculations that ultimately will allow you to reject or decline to reject the null hypothesis.

  1. Make a decision and write a meaningful conclusion.



Based on sample evidence, a procedure for determining whether the hypothesis stated is a reasonable statement and should not be rejected, or is unreasonable and should be rejected. This starts with specifying the null and alternative hypothesis, which we will go into more detail on below.

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 that are mutually exclusive and exhaustive.

H0: The null hypothesis: It is a statement about the population that either is believed to be true or is used to put forth an argument unless it can be shown to be incorrect beyond a reasonable doubt. This is usually, but not always, a statement of (null) no effect.

Ha: The alternative hypothesis: It is a claim about the population that is contradictory to H0 and what we conclude when we reject H0. This is usually, but not always, a statement that there is an effect and is based on the theory being tested.

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. As the null and alternative hypotheses are mutually exclusive and exhaustive, if we reject the null hypothesis, then we consider this support for the alternative hypothesis. The evidence needed to examine if we reject the null hypothesis is in the form of sample data.

After you have determined which hypothesis the sample supports, you make adecision. There are two options for a decision. They are “reject H0” if the sample information favors the alternative hypothesis or “do not reject H0” or “decline to reject H0” if the sample information is insufficient to reject the null hypothesis.

Mathematical Symbols Used in H0 and Ha:



Note

H0 always has a symbol with an equal in it. Ha never has a symbol with an equal in it. The choice of symbol depends on the wording of the hypothesis test. However, be aware that many researchers (including one of the co-authors in research work) use = in the null hypothesis, even with > or < as the symbol in the alternative hypothesis. This practice is acceptable because we only make the decision to reject or not reject the null hypothesis.

This video provides an additional explanation of simple hypothesis testing.

____________________________________________________________

EXAMPLE 1

H0: No more than 30% of the registered voters in Santa Clara County voted in the primary election. p ≤ 30

Ha: More than 30% of the registered voters in Santa Clara County voted in the primary election. p > 30

____________________________________________________________

PRACTICE 1

A medical trial is conducted to test whether or not a new medicine reduces cholesterol by 25%. State the null and alternative hypotheses.

____________________________________________________________

EXAMPLE 2

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:

H0: μ = 2.0

Ha: μ ≠ 2.0

____________________________________________________________

PRACTICE 2

We want to test whether the mean height of eighth graders is 66 inches. State the null and alternative hypotheses. Fill in the correct symbol (=, ≠, ≥, <, ≤, >) for the null and alternative hypotheses.

  1. H0: μ __ 66

  2. Ha:μ __ 66

____________________________________________________________

PRACTICE 3

We want to test if college students take less than five years to graduate from college, on the average. What are the null and alternative hypotheses?

____________________________________________________________

PRACTICE 4

We want to test if it takes fewer than 45 minutes to teach a lesson plan. State the null and alternative hypotheses. Fill in the correct symbol ( =, ≠, ≥, <, ≤, >) for the null and alternative hypotheses.

  1. H0: μ __ 45

  2. Ha:μ __ 45

____________________________________________________________

PRACTICE 5

In an issue of U.S. News and World Report, an article on school standards stated that about half of all students in France, Germany, and Israel take advanced placement exams and a third pass. The same article stated that 6.6% of U.S. students take advanced placement exams and 4.4% pass. Test if the percentage of U.S. students who take advanced placement exams is more than 6.6%. State the null and alternative hypotheses.

____________________________________________________________

PRACTICE 6

On a state driver’s test, about 40% pass the test on the first try. We want to test if more than 40% pass on the first try. Fill in the correct symbol (=, ≠, ≥, <, ≤, >) for the null and alternative hypotheses.

H0: p __ 0.40

Ha: p __ 0.40

____________________________________________________________

Concept 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 H0. The null is not rejected unless the hypothesis test shows otherwise. The null statement must always contain some form of equality (=, ≤ or ≥). Always write the alternative hypothesis, typically denoted with Ha or H1, using less than, greater than, or not equals symbols,( i.e., ≠, >, or <). 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.

Formula Review

H0 and Ha are contradictory hypotheses that are mutually exclusive and exhaustive.


References:

  1. https://courses.lumenlearning.com/introstats1/chapter/introduction-hypothesis-testing-with-two-samples-2/

CC LICENSED CONTENT, SHARED PREVIOUSLY


  1. https://courses.lumenlearning.com/introstats1/chapter/null-and-alternative-hypotheses/

CC LICENSED CONTENT, SHARED PREVIOUSLY

ALL RIGHTS RESERVED CONTENT

  • Simple hypothesis testing | Probability and Statistics | Khan Academy. Authored by: Khan Academy. Located at: https://youtu.be/5D1gV37bKXY. License: All Rights Reserved. License Terms: Standard YouTube License

Answers:

Practice 1.

H0 : The drug reduces cholesterol by 25%. p = 0.25

Ha : The drug does not reduce cholesterol by 25%. p ≠ 0.25

Practice 2.

  1. H0 : μ = 66

  2. Ha : μ ≠ 66

Practice 3.

  1. H0: μ ≥ 5

  2. Ha: μ < 5

Practice 4.

  1. H0: μ ≥ 45

  2. Ha: μ < 45

Practice 5.

H0: p ≤ 0.066

Ha: p > 0.066

Practice 6.

  1. H0: p ≤ 0.40

  2. Ha: p > 0.40