Have a language expert improve your writing

Run a free plagiarism check in 10 minutes, generate accurate citations for free.

  • Knowledge Base
  • Null and Alternative Hypotheses | Definitions & Examples

Null & Alternative Hypotheses | Definitions, Templates & Examples

Published on May 6, 2022 by Shaun Turney . Revised on June 22, 2023.

The null and alternative hypotheses are two competing claims that researchers weigh evidence for and against using a statistical test :

  • Null hypothesis ( H 0 ): There’s no effect in the population .
  • Alternative hypothesis ( H a or H 1 ) : There’s an effect in the population.

Table of contents

Answering your research question with hypotheses, what is a null hypothesis, what is an alternative hypothesis, similarities and differences between null and alternative hypotheses, how to write null and alternative hypotheses, other interesting articles, frequently asked questions.

The null and alternative hypotheses offer competing answers to your research question . When the research question asks “Does the independent variable affect the dependent variable?”:

  • The null hypothesis ( H 0 ) answers “No, there’s no effect in the population.”
  • The alternative hypothesis ( H a ) answers “Yes, there is an effect in the population.”

The null and alternative are always claims about the population. That’s because the goal of hypothesis testing is to make inferences about a population based on a sample . Often, we infer whether there’s an effect in the population by looking at differences between groups or relationships between variables in the sample. It’s critical for your research to write strong hypotheses .

You can use a statistical test to decide whether the evidence favors the null or alternative hypothesis. Each type of statistical test comes with a specific way of phrasing the null and alternative hypothesis. However, the hypotheses can also be phrased in a general way that applies to any test.

Receive feedback on language, structure, and formatting

Professional editors proofread and edit your paper by focusing on:

  • Academic style
  • Vague sentences
  • Style consistency

See an example

null and alternative hypothesis with example

The null hypothesis is the claim that there’s no effect in the population.

If the sample provides enough evidence against the claim that there’s no effect in the population ( p ≤ α), then we can reject the null hypothesis . Otherwise, we fail to reject the null hypothesis.

Although “fail to reject” may sound awkward, it’s the only wording that statisticians accept . Be careful not to say you “prove” or “accept” the null hypothesis.

Null hypotheses often include phrases such as “no effect,” “no difference,” or “no relationship.” When written in mathematical terms, they always include an equality (usually =, but sometimes ≥ or ≤).

You can never know with complete certainty whether there is an effect in the population. Some percentage of the time, your inference about the population will be incorrect. When you incorrectly reject the null hypothesis, it’s called a type I error . When you incorrectly fail to reject it, it’s a type II error.

Examples of null hypotheses

The table below gives examples of research questions and null hypotheses. There’s always more than one way to answer a research question, but these null hypotheses can help you get started.

( )
Does tooth flossing affect the number of cavities? Tooth flossing has on the number of cavities. test:

The mean number of cavities per person does not differ between the flossing group (µ ) and the non-flossing group (µ ) in the population; µ = µ .

Does the amount of text highlighted in the textbook affect exam scores? The amount of text highlighted in the textbook has on exam scores. :

There is no relationship between the amount of text highlighted and exam scores in the population; β = 0.

Does daily meditation decrease the incidence of depression? Daily meditation the incidence of depression.* test:

The proportion of people with depression in the daily-meditation group ( ) is greater than or equal to the no-meditation group ( ) in the population; ≥ .

*Note that some researchers prefer to always write the null hypothesis in terms of “no effect” and “=”. It would be fine to say that daily meditation has no effect on the incidence of depression and p 1 = p 2 .

The alternative hypothesis ( H a ) is the other answer to your research question . It claims that there’s an effect in the population.

Often, your alternative hypothesis is the same as your research hypothesis. In other words, it’s the claim that you expect or hope will be true.

The alternative hypothesis is the complement to the null hypothesis. Null and alternative hypotheses are exhaustive, meaning that together they cover every possible outcome. They are also mutually exclusive, meaning that only one can be true at a time.

Alternative hypotheses often include phrases such as “an effect,” “a difference,” or “a relationship.” When alternative hypotheses are written in mathematical terms, they always include an inequality (usually ≠, but sometimes < or >). As with null hypotheses, there are many acceptable ways to phrase an alternative hypothesis.

Examples of alternative hypotheses

The table below gives examples of research questions and alternative hypotheses to help you get started with formulating your own.

Does tooth flossing affect the number of cavities? Tooth flossing has an on the number of cavities. test:

The mean number of cavities per person differs between the flossing group (µ ) and the non-flossing group (µ ) in the population; µ ≠ µ .

Does the amount of text highlighted in a textbook affect exam scores? The amount of text highlighted in the textbook has an on exam scores. :

There is a relationship between the amount of text highlighted and exam scores in the population; β ≠ 0.

Does daily meditation decrease the incidence of depression? Daily meditation the incidence of depression. test:

The proportion of people with depression in the daily-meditation group ( ) is less than the no-meditation group ( ) in the population; < .

Null and alternative hypotheses are similar in some ways:

  • They’re both answers to the research question.
  • They both make claims about the population.
  • They’re both evaluated by statistical tests.

However, there are important differences between the two types of hypotheses, summarized in the following table.

A claim that there is in the population. A claim that there is in the population.

Equality symbol (=, ≥, or ≤) Inequality symbol (≠, <, or >)
Rejected Supported
Failed to reject Not supported

Prevent plagiarism. Run a free check.

To help you write your hypotheses, you can use the template sentences below. If you know which statistical test you’re going to use, you can use the test-specific template sentences. Otherwise, you can use the general template sentences.

General template sentences

The only thing you need to know to use these general template sentences are your dependent and independent variables. To write your research question, null hypothesis, and alternative hypothesis, fill in the following sentences with your variables:

Does independent variable affect dependent variable ?

  • Null hypothesis ( H 0 ): Independent variable does not affect dependent variable.
  • Alternative hypothesis ( H a ): Independent variable affects dependent variable.

Test-specific template sentences

Once you know the statistical test you’ll be using, you can write your hypotheses in a more precise and mathematical way specific to the test you chose. The table below provides template sentences for common statistical tests.

( )
test 

with two groups

The mean dependent variable does not differ between group 1 (µ ) and group 2 (µ ) in the population; µ = µ . The mean dependent variable differs between group 1 (µ ) and group 2 (µ ) in the population; µ ≠ µ .
with three groups The mean dependent variable does not differ between group 1 (µ ), group 2 (µ ), and group 3 (µ ) in the population; µ = µ = µ . The mean dependent variable of group 1 (µ ), group 2 (µ ), and group 3 (µ ) are not all equal in the population.
There is no correlation between independent variable and dependent variable in the population; ρ = 0. There is a correlation between independent variable and dependent variable in the population; ρ ≠ 0.
There is no relationship between independent variable and dependent variable in the population; β = 0. There is a relationship between independent variable and dependent variable in the population; β ≠ 0.
Two-proportions test The dependent variable expressed as a proportion does not differ between group 1 ( ) and group 2 ( ) in the population; = . The dependent variable expressed as a proportion differs between group 1 ( ) and group 2 ( ) in the population; ≠ .

Note: The template sentences above assume that you’re performing one-tailed tests . One-tailed tests are appropriate for most studies.

If you want to know more about statistics , methodology , or research bias , make sure to check out some of our other articles with explanations and examples.

  • Normal distribution
  • Descriptive statistics
  • Measures of central tendency
  • Correlation coefficient

Methodology

  • Cluster sampling
  • Stratified sampling
  • Types of interviews
  • Cohort study
  • Thematic analysis

Research bias

  • Implicit bias
  • Cognitive bias
  • Survivorship bias
  • Availability heuristic
  • Nonresponse bias
  • Regression to the mean

Hypothesis testing is a formal procedure for investigating our ideas about the world using statistics. It is used by scientists to test specific predictions, called hypotheses , by calculating how likely it is that a pattern or relationship between variables could have arisen by chance.

Null and alternative hypotheses are used in statistical hypothesis testing . The null hypothesis of a test always predicts no effect or no relationship between variables, while the alternative hypothesis states your research prediction of an effect or relationship.

The null hypothesis is often abbreviated as H 0 . When the null hypothesis is written using mathematical symbols, it always includes an equality symbol (usually =, but sometimes ≥ or ≤).

The alternative hypothesis is often abbreviated as H a or H 1 . When the alternative hypothesis is written using mathematical symbols, it always includes an inequality symbol (usually ≠, but sometimes < or >).

A research hypothesis is your proposed answer to your research question. The research hypothesis usually includes an explanation (“ x affects y because …”).

A statistical hypothesis, on the other hand, is a mathematical statement about a population parameter. Statistical hypotheses always come in pairs: the null and alternative hypotheses . In a well-designed study , the statistical hypotheses correspond logically to the research hypothesis.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the “Cite this Scribbr article” button to automatically add the citation to our free Citation Generator.

Turney, S. (2023, June 22). Null & Alternative Hypotheses | Definitions, Templates & Examples. Scribbr. Retrieved August 29, 2024, from https://www.scribbr.com/statistics/null-and-alternative-hypotheses/

Is this article helpful?

Shaun Turney

Shaun Turney

Other students also liked, inferential statistics | an easy introduction & examples, hypothesis testing | a step-by-step guide with easy examples, type i & type ii errors | differences, examples, visualizations, what is your plagiarism score.

Have a thesis expert improve your writing

Check your thesis for plagiarism in 10 minutes, generate your apa citations for free.

  • Knowledge Base
  • Null and Alternative Hypotheses | Definitions & Examples

Null and Alternative Hypotheses | Definitions & Examples

Published on 5 October 2022 by Shaun Turney . Revised on 6 December 2022.

The null and alternative hypotheses are two competing claims that researchers weigh evidence for and against using a statistical test :

  • Null hypothesis (H 0 ): There’s no effect in the population .
  • Alternative hypothesis (H A ): There’s an effect in the population.

The effect is usually the effect of the independent variable on the dependent variable .

Table of contents

Answering your research question with hypotheses, what is a null hypothesis, what is an alternative hypothesis, differences between null and alternative hypotheses, how to write null and alternative hypotheses, frequently asked questions about null and alternative hypotheses.

The null and alternative hypotheses offer competing answers to your research question . When the research question asks “Does the independent variable affect the dependent variable?”, the null hypothesis (H 0 ) answers “No, there’s no effect in the population.” On the other hand, the alternative hypothesis (H A ) answers “Yes, there is an effect in the population.”

The null and alternative are always claims about the population. That’s because the goal of hypothesis testing is to make inferences about a population based on a sample . Often, we infer whether there’s an effect in the population by looking at differences between groups or relationships between variables in the sample.

You can use a statistical test to decide whether the evidence favors the null or alternative hypothesis. Each type of statistical test comes with a specific way of phrasing the null and alternative hypothesis. However, the hypotheses can also be phrased in a general way that applies to any test.

The null hypothesis is the claim that there’s no effect in the population.

If the sample provides enough evidence against the claim that there’s no effect in the population ( p ≤ α), then we can reject the null hypothesis . Otherwise, we fail to reject the null hypothesis.

Although “fail to reject” may sound awkward, it’s the only wording that statisticians accept. Be careful not to say you “prove” or “accept” the null hypothesis.

Null hypotheses often include phrases such as “no effect”, “no difference”, or “no relationship”. When written in mathematical terms, they always include an equality (usually =, but sometimes ≥ or ≤).

Examples of null hypotheses

The table below gives examples of research questions and null hypotheses. There’s always more than one way to answer a research question, but these null hypotheses can help you get started.

( )
Does tooth flossing affect the number of cavities? Tooth flossing has on the number of cavities. test:

The mean number of cavities per person does not differ between the flossing group (µ ) and the non-flossing group (µ ) in the population; µ = µ .

Does the amount of text highlighted in the textbook affect exam scores? The amount of text highlighted in the textbook has on exam scores. :

There is no relationship between the amount of text highlighted and exam scores in the population; β = 0.

Does daily meditation decrease the incidence of depression? Daily meditation the incidence of depression.* test:

The proportion of people with depression in the daily-meditation group ( ) is greater than or equal to the no-meditation group ( ) in the population; ≥ .

*Note that some researchers prefer to always write the null hypothesis in terms of “no effect” and “=”. It would be fine to say that daily meditation has no effect on the incidence of depression and p 1 = p 2 .

The alternative hypothesis (H A ) is the other answer to your research question . It claims that there’s an effect in the population.

Often, your alternative hypothesis is the same as your research hypothesis. In other words, it’s the claim that you expect or hope will be true.

The alternative hypothesis is the complement to the null hypothesis. Null and alternative hypotheses are exhaustive, meaning that together they cover every possible outcome. They are also mutually exclusive, meaning that only one can be true at a time.

Alternative hypotheses often include phrases such as “an effect”, “a difference”, or “a relationship”. When alternative hypotheses are written in mathematical terms, they always include an inequality (usually ≠, but sometimes > or <). As with null hypotheses, there are many acceptable ways to phrase an alternative hypothesis.

Examples of alternative hypotheses

The table below gives examples of research questions and alternative hypotheses to help you get started with formulating your own.

Does tooth flossing affect the number of cavities? Tooth flossing has an on the number of cavities. test:

The mean number of cavities per person differs between the flossing group (µ ) and the non-flossing group (µ ) in the population; µ ≠ µ .

Does the amount of text highlighted in a textbook affect exam scores? The amount of text highlighted in the textbook has an on exam scores. :

There is a relationship between the amount of text highlighted and exam scores in the population; β ≠ 0.

Does daily meditation decrease the incidence of depression? Daily meditation the incidence of depression. test:

The proportion of people with depression in the daily-meditation group ( ) is less than the no-meditation group ( ) in the population; < .

Null and alternative hypotheses are similar in some ways:

  • They’re both answers to the research question
  • They both make claims about the population
  • They’re both evaluated by statistical tests.

However, there are important differences between the two types of hypotheses, summarized in the following table.

A claim that there is in the population. A claim that there is in the population.

Equality symbol (=, ≥, or ≤) Inequality symbol (≠, <, or >)
Rejected Supported
Failed to reject Not supported

To help you write your hypotheses, you can use the template sentences below. If you know which statistical test you’re going to use, you can use the test-specific template sentences. Otherwise, you can use the general template sentences.

The only thing you need to know to use these general template sentences are your dependent and independent variables. To write your research question, null hypothesis, and alternative hypothesis, fill in the following sentences with your variables:

Does independent variable affect dependent variable ?

  • Null hypothesis (H 0 ): Independent variable does not affect dependent variable .
  • Alternative hypothesis (H A ): Independent variable affects dependent variable .

Test-specific

Once you know the statistical test you’ll be using, you can write your hypotheses in a more precise and mathematical way specific to the test you chose. The table below provides template sentences for common statistical tests.

( )
test 

with two groups

The mean dependent variable does not differ between group 1 (µ ) and group 2 (µ ) in the population; µ = µ . The mean dependent variable differs between group 1 (µ ) and group 2 (µ ) in the population; µ ≠ µ .
with three groups The mean dependent variable does not differ between group 1 (µ ), group 2 (µ ), and group 3 (µ ) in the population; µ = µ = µ . The mean dependent variable of group 1 (µ ), group 2 (µ ), and group 3 (µ ) are not all equal in the population.
There is no correlation between independent variable and dependent variable in the population; ρ = 0. There is a correlation between independent variable and dependent variable in the population; ρ ≠ 0.
There is no relationship between independent variable and dependent variable in the population; β = 0. There is a relationship between independent variable and dependent variable in the population; β ≠ 0.
Two-proportions test The dependent variable expressed as a proportion does not differ between group 1 ( ) and group 2 ( ) in the population; = . The dependent variable expressed as a proportion differs between group 1 ( ) and group 2 ( ) in the population; ≠ .

Note: The template sentences above assume that you’re performing one-tailed tests . One-tailed tests are appropriate for most studies.

The null hypothesis is often abbreviated as H 0 . When the null hypothesis is written using mathematical symbols, it always includes an equality symbol (usually =, but sometimes ≥ or ≤).

The alternative hypothesis is often abbreviated as H a or H 1 . When the alternative hypothesis is written using mathematical symbols, it always includes an inequality symbol (usually ≠, but sometimes < or >).

A research hypothesis is your proposed answer to your research question. The research hypothesis usually includes an explanation (‘ x affects y because …’).

A statistical hypothesis, on the other hand, is a mathematical statement about a population parameter. Statistical hypotheses always come in pairs: the null and alternative hypotheses. In a well-designed study , the statistical hypotheses correspond logically to the research hypothesis.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the ‘Cite this Scribbr article’ button to automatically add the citation to our free Reference Generator.

Turney, S. (2022, December 06). Null and Alternative Hypotheses | Definitions & Examples. Scribbr. Retrieved 29 August 2024, from https://www.scribbr.co.uk/stats/null-and-alternative-hypothesis/

Is this article helpful?

Shaun Turney

Shaun Turney

Other students also liked, levels of measurement: nominal, ordinal, interval, ratio, the standard normal distribution | calculator, examples & uses, types of variables in research | definitions & examples.

Module 9: Hypothesis Testing With One Sample

Null and alternative hypotheses, learning outcomes.

  • Describe hypothesis testing in general and in practice

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 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.

H a : The alternative hypothesis : It is a claim about the population that is contradictory to H 0 and what we conclude when we reject H 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 adecision. There are two options for a  decision . They are “reject H 0 ” if the sample information favors the alternative hypothesis or “do not reject H 0 ” or “decline to reject H 0 ” if the sample information is insufficient to reject the null hypothesis.

Mathematical Symbols Used in  H 0 and H a :

equal (=) not equal (≠)
greater than (>) less than (<)
greater than or equal to (≥) less than (<)
less than or equal to (≤) more than (>)

H 0 always has a symbol with an equal in it. H a 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.

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

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

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

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

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

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 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. H 0 : μ __ 66 H a : μ __ 66

  • H 0 : μ = 66
  • H a : μ ≠ 66

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

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. H 0 : μ __ 45 H a : μ __ 45

  • H 0 : μ ≥ 45
  • H a : μ < 45

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.

H 0 : p ≤ 0.066

H a : p > 0.066

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. H 0 : p __ 0.40 H a : p __ 0.40

  • H 0 : p = 0.40
  • H a : 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 H 0 . 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 H a or H 1 , 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

H 0 and H a are contradictory.

  • OpenStax, Statistics, Null and Alternative Hypotheses. Provided by : OpenStax. Located at : http://cnx.org/contents/[email protected]:58/Introductory_Statistics . License : CC BY: Attribution
  • Introductory Statistics . Authored by : Barbara Illowski, Susan Dean. Provided by : Open Stax. Located at : http://cnx.org/contents/[email protected] . License : CC BY: Attribution . License Terms : Download for free at http://cnx.org/contents/[email protected]
  • 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

User Preferences

Content preview.

Arcu felis bibendum ut tristique et egestas quis:

  • Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
  • Duis aute irure dolor in reprehenderit in voluptate
  • Excepteur sint occaecat cupidatat non proident

Keyboard Shortcuts

10.1 - setting the hypotheses: examples.

A significance test examines whether the null hypothesis provides a plausible explanation of the data. The null hypothesis itself does not involve the data. It is a statement about a parameter (a numerical characteristic of the population). These population values might be proportions or means or differences between means or proportions or correlations or odds ratios or any other numerical summary of the population. The alternative hypothesis is typically the research hypothesis of interest. Here are some examples.

Example 10.2: Hypotheses with One Sample of One Categorical Variable Section  

About 10% of the human population is left-handed. Suppose a researcher at Penn State speculates that students in the College of Arts and Architecture are more likely to be left-handed than people found in the general population. We only have one sample since we will be comparing a population proportion based on a sample value to a known population value.

  • Research Question : Are artists more likely to be left-handed than people found in the general population?
  • Response Variable : Classification of the student as either right-handed or left-handed

State Null and Alternative Hypotheses

  • Null Hypothesis : Students in the College of Arts and Architecture are no more likely to be left-handed than people in the general population (population percent of left-handed students in the College of Art and Architecture = 10% or p = .10).
  • Alternative Hypothesis : Students in the College of Arts and Architecture are more likely to be left-handed than people in the general population (population percent of left-handed students in the College of Arts and Architecture > 10% or p > .10). This is a one-sided alternative hypothesis.

Example 10.3: Hypotheses with One Sample of One Measurement Variable Section  

 two Diphenhydramine pills

A generic brand of the anti-histamine Diphenhydramine markets a capsule with a 50 milligram dose. The manufacturer is worried that the machine that fills the capsules has come out of calibration and is no longer creating capsules with the appropriate dosage.

  • Research Question : Does the data suggest that the population mean dosage of this brand is different than 50 mg?
  • Response Variable : dosage of the active ingredient found by a chemical assay.
  • Null Hypothesis : On the average, the dosage sold under this brand is 50 mg (population mean dosage = 50 mg).
  • Alternative Hypothesis : On the average, the dosage sold under this brand is not 50 mg (population mean dosage ≠ 50 mg). This is a two-sided alternative hypothesis.

Example 10.4: Hypotheses with Two Samples of One Categorical Variable Section  

vegetarian airline meal

Many people are starting to prefer vegetarian meals on a regular basis. Specifically, a researcher believes that females are more likely than males to eat vegetarian meals on a regular basis.

  • Research Question : Does the data suggest that females are more likely than males to eat vegetarian meals on a regular basis?
  • Response Variable : Classification of whether or not a person eats vegetarian meals on a regular basis
  • Explanatory (Grouping) Variable: Sex
  • Null Hypothesis : There is no sex effect regarding those who eat vegetarian meals on a regular basis (population percent of females who eat vegetarian meals on a regular basis = population percent of males who eat vegetarian meals on a regular basis or p females = p males ).
  • Alternative Hypothesis : Females are more likely than males to eat vegetarian meals on a regular basis (population percent of females who eat vegetarian meals on a regular basis > population percent of males who eat vegetarian meals on a regular basis or p females > p males ). This is a one-sided alternative hypothesis.

Example 10.5: Hypotheses with Two Samples of One Measurement Variable Section  

low carb meal

Obesity is a major health problem today. Research is starting to show that people may be able to lose more weight on a low carbohydrate diet than on a low fat diet.

  • Research Question : Does the data suggest that, on the average, people are able to lose more weight on a low carbohydrate diet than on a low fat diet?
  • Response Variable : Weight loss (pounds)
  • Explanatory (Grouping) Variable : Type of diet
  • Null Hypothesis : There is no difference in the mean amount of weight loss when comparing a low carbohydrate diet with a low fat diet (population mean weight loss on a low carbohydrate diet = population mean weight loss on a low fat diet).
  • Alternative Hypothesis : The mean weight loss should be greater for those on a low carbohydrate diet when compared with those on a low fat diet (population mean weight loss on a low carbohydrate diet > population mean weight loss on a low fat diet). This is a one-sided alternative hypothesis.

Example 10.6: Hypotheses about the relationship between Two Categorical Variables Section  

  • Research Question : Do the odds of having a stroke increase if you inhale second hand smoke ? A case-control study of non-smoking stroke patients and controls of the same age and occupation are asked if someone in their household smokes.
  • Variables : There are two different categorical variables (Stroke patient vs control and whether the subject lives in the same household as a smoker). Living with a smoker (or not) is the natural explanatory variable and having a stroke (or not) is the natural response variable in this situation.
  • Null Hypothesis : There is no relationship between whether or not a person has a stroke and whether or not a person lives with a smoker (odds ratio between stroke and second-hand smoke situation is = 1).
  • Alternative Hypothesis : There is a relationship between whether or not a person has a stroke and whether or not a person lives with a smoker (odds ratio between stroke and second-hand smoke situation is > 1). This is a one-tailed alternative.

This research question might also be addressed like example 11.4 by making the hypotheses about comparing the proportion of stroke patients that live with smokers to the proportion of controls that live with smokers.

Example 10.7: Hypotheses about the relationship between Two Measurement Variables Section  

  • Research Question : A financial analyst believes there might be a positive association between the change in a stock's price and the amount of the stock purchased by non-management employees the previous day (stock trading by management being under "insider-trading" regulatory restrictions).
  • Variables : Daily price change information (the response variable) and previous day stock purchases by non-management employees (explanatory variable). These are two different measurement variables.
  • Null Hypothesis : The correlation between the daily stock price change (\$) and the daily stock purchases by non-management employees (\$) = 0.
  • Alternative Hypothesis : The correlation between the daily stock price change (\$) and the daily stock purchases by non-management employees (\$) > 0. This is a one-sided alternative hypothesis.

Example 10.8: Hypotheses about comparing the relationship between Two Measurement Variables in Two Samples Section  

Calculation of a person's approximate tip for their meal

  • Research Question : Is there a linear relationship between the amount of the bill (\$) at a restaurant and the tip (\$) that was left. Is the strength of this association different for family restaurants than for fine dining restaurants?
  • Variables : There are two different measurement variables. The size of the tip would depend on the size of the bill so the amount of the bill would be the explanatory variable and the size of the tip would be the response variable.
  • Null Hypothesis : The correlation between the amount of the bill (\$) at a restaurant and the tip (\$) that was left is the same at family restaurants as it is at fine dining restaurants.
  • Alternative Hypothesis : The correlation between the amount of the bill (\$) at a restaurant and the tip (\$) that was left is the difference at family restaurants then it is at fine dining restaurants. This is a two-sided alternative hypothesis.
  • Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Statistics By Jim

Making statistics intuitive

Null Hypothesis: Definition, Rejecting & Examples

By Jim Frost 6 Comments

What is a Null Hypothesis?

The null hypothesis in statistics states that there is no difference between groups or no relationship between variables. It is one of two mutually exclusive hypotheses about a population in a hypothesis test.

Photograph of Rodin's statue, The Thinker who is pondering the null hypothesis.

  • Null Hypothesis H 0 : No effect exists in the population.
  • Alternative Hypothesis H A : The effect exists in the population.

In every study or experiment, researchers assess an effect or relationship. This effect can be the effectiveness of a new drug, building material, or other intervention that has benefits. There is a benefit or connection that the researchers hope to identify. Unfortunately, no effect may exist. In statistics, we call this lack of an effect the null hypothesis. Researchers assume that this notion of no effect is correct until they have enough evidence to suggest otherwise, similar to how a trial presumes innocence.

In this context, the analysts don’t necessarily believe the null hypothesis is correct. In fact, they typically want to reject it because that leads to more exciting finds about an effect or relationship. The new vaccine works!

You can think of it as the default theory that requires sufficiently strong evidence to reject. Like a prosecutor, researchers must collect sufficient evidence to overturn the presumption of no effect. Investigators must work hard to set up a study and a data collection system to obtain evidence that can reject the null hypothesis.

Related post : What is an Effect in Statistics?

Null Hypothesis Examples

Null hypotheses start as research questions that the investigator rephrases as a statement indicating there is no effect or relationship.

Does the vaccine prevent infections? The vaccine does not affect the infection rate.
Does the new additive increase product strength? The additive does not affect mean product strength.
Does the exercise intervention increase bone mineral density? The intervention does not affect bone mineral density.
As screen time increases, does test performance decrease? There is no relationship between screen time and test performance.

After reading these examples, you might think they’re a bit boring and pointless. However, the key is to remember that the null hypothesis defines the condition that the researchers need to discredit before suggesting an effect exists.

Let’s see how you reject the null hypothesis and get to those more exciting findings!

When to Reject the Null Hypothesis

So, you want to reject the null hypothesis, but how and when can you do that? To start, you’ll need to perform a statistical test on your data. The following is an overview of performing a study that uses a hypothesis test.

The first step is to devise a research question and the appropriate null hypothesis. After that, the investigators need to formulate an experimental design and data collection procedures that will allow them to gather data that can answer the research question. Then they collect the data. For more information about designing a scientific study that uses statistics, read my post 5 Steps for Conducting Studies with Statistics .

After data collection is complete, statistics and hypothesis testing enter the picture. Hypothesis testing takes your sample data and evaluates how consistent they are with the null hypothesis. The p-value is a crucial part of the statistical results because it quantifies how strongly the sample data contradict the null hypothesis.

When the sample data provide sufficient evidence, you can reject the null hypothesis. In a hypothesis test, this process involves comparing the p-value to your significance level .

Rejecting the Null Hypothesis

Reject the null hypothesis when the p-value is less than or equal to your significance level. Your sample data favor the alternative hypothesis, which suggests that the effect exists in the population. For a mnemonic device, remember—when the p-value is low, the null must go!

When you can reject the null hypothesis, your results are statistically significant. Learn more about Statistical Significance: Definition & Meaning .

Failing to Reject the Null Hypothesis

Conversely, when the p-value is greater than your significance level, you fail to reject the null hypothesis. The sample data provides insufficient data to conclude that the effect exists in the population. When the p-value is high, the null must fly!

Note that failing to reject the null is not the same as proving it. For more information about the difference, read my post about Failing to Reject the Null .

That’s a very general look at the process. But I hope you can see how the path to more exciting findings depends on being able to rule out the less exciting null hypothesis that states there’s nothing to see here!

Let’s move on to learning how to write the null hypothesis for different types of effects, relationships, and tests.

Related posts : How Hypothesis Tests Work and Interpreting P-values

How to Write a Null Hypothesis

The null hypothesis varies by the type of statistic and hypothesis test. Remember that inferential statistics use samples to draw conclusions about populations. Consequently, when you write a null hypothesis, it must make a claim about the relevant population parameter . Further, that claim usually indicates that the effect does not exist in the population. Below are typical examples of writing a null hypothesis for various parameters and hypothesis tests.

Related posts : Descriptive vs. Inferential Statistics and Populations, Parameters, and Samples in Inferential Statistics

Group Means

T-tests and ANOVA assess the differences between group means. For these tests, the null hypothesis states that there is no difference between group means in the population. In other words, the experimental conditions that define the groups do not affect the mean outcome. Mu (µ) is the population parameter for the mean, and you’ll need to include it in the statement for this type of study.

For example, an experiment compares the mean bone density changes for a new osteoporosis medication. The control group does not receive the medicine, while the treatment group does. The null states that the mean bone density changes for the control and treatment groups are equal.

  • Null Hypothesis H 0 : Group means are equal in the population: µ 1 = µ 2 , or µ 1 – µ 2 = 0
  • Alternative Hypothesis H A : Group means are not equal in the population: µ 1 ≠ µ 2 , or µ 1 – µ 2 ≠ 0.

Group Proportions

Proportions tests assess the differences between group proportions. For these tests, the null hypothesis states that there is no difference between group proportions. Again, the experimental conditions did not affect the proportion of events in the groups. P is the population proportion parameter that you’ll need to include.

For example, a vaccine experiment compares the infection rate in the treatment group to the control group. The treatment group receives the vaccine, while the control group does not. The null states that the infection rates for the control and treatment groups are equal.

  • Null Hypothesis H 0 : Group proportions are equal in the population: p 1 = p 2 .
  • Alternative Hypothesis H A : Group proportions are not equal in the population: p 1 ≠ p 2 .

Correlation and Regression Coefficients

Some studies assess the relationship between two continuous variables rather than differences between groups.

In these studies, analysts often use either correlation or regression analysis . For these tests, the null states that there is no relationship between the variables. Specifically, it says that the correlation or regression coefficient is zero. As one variable increases, there is no tendency for the other variable to increase or decrease. Rho (ρ) is the population correlation parameter and beta (β) is the regression coefficient parameter.

For example, a study assesses the relationship between screen time and test performance. The null states that there is no correlation between this pair of variables. As screen time increases, test performance does not tend to increase or decrease.

  • Null Hypothesis H 0 : The correlation in the population is zero: ρ = 0.
  • Alternative Hypothesis H A : The correlation in the population is not zero: ρ ≠ 0.

For all these cases, the analysts define the hypotheses before the study. After collecting the data, they perform a hypothesis test to determine whether they can reject the null hypothesis.

The preceding examples are all for two-tailed hypothesis tests. To learn about one-tailed tests and how to write a null hypothesis for them, read my post One-Tailed vs. Two-Tailed Tests .

Related post : Understanding Correlation

Neyman, J; Pearson, E. S. (January 1, 1933).  On the Problem of the most Efficient Tests of Statistical Hypotheses .  Philosophical Transactions of the Royal Society A .  231  (694–706): 289–337.

Share this:

null and alternative hypothesis with example

Reader Interactions

' src=

January 11, 2024 at 2:57 pm

Thanks for the reply.

January 10, 2024 at 1:23 pm

Hi Jim, In your comment you state that equivalence test null and alternate hypotheses are reversed. For hypothesis tests of data fits to a probability distribution, the null hypothesis is that the probability distribution fits the data. Is this correct?

' src=

January 10, 2024 at 2:15 pm

Those two separate things, equivalence testing and normality tests. But, yes, you’re correct for both.

Hypotheses are switched for equivalence testing. You need to “work” (i.e., collect a large sample of good quality data) to be able to reject the null that the groups are different to be able to conclude they’re the same.

With typical hypothesis tests, if you have low quality data and a low sample size, you’ll fail to reject the null that they’re the same, concluding they’re equivalent. But that’s more a statement about the low quality and small sample size than anything to do with the groups being equal.

So, equivalence testing make you work to obtain a finding that the groups are the same (at least within some amount you define as a trivial difference).

For normality testing, and other distribution tests, the null states that the data follow the distribution (normal or whatever). If you reject the null, you have sufficient evidence to conclude that your sample data don’t follow the probability distribution. That’s a rare case where you hope to fail to reject the null. And it suffers from the problem I describe above where you might fail to reject the null simply because you have a small sample size. In that case, you’d conclude the data follow the probability distribution but it’s more that you don’t have enough data for the test to register the deviation. In this scenario, if you had a larger sample size, you’d reject the null and conclude it doesn’t follow that distribution.

I don’t know of any equivalence testing type approach for distribution fit tests where you’d need to work to show the data follow a distribution, although I haven’t looked for one either!

' src=

February 20, 2022 at 9:26 pm

Is a null hypothesis regularly (always) stated in the negative? “there is no” or “does not”

February 23, 2022 at 9:21 pm

Typically, the null hypothesis includes an equal sign. The null hypothesis states that the population parameter equals a particular value. That value is usually one that represents no effect. In the case of a one-sided hypothesis test, the null still contains an equal sign but it’s “greater than or equal to” or “less than or equal to.” If you wanted to translate the null hypothesis from its native mathematical expression, you could use the expression “there is no effect.” But the mathematical form more specifically states what it’s testing.

It’s the alternative hypothesis that typically contains does not equal.

There are some exceptions. For example, in an equivalence test where the researchers want to show that two things are equal, the null hypothesis states that they’re not equal.

In short, the null hypothesis states the condition that the researchers hope to reject. They need to work hard to set up an experiment and data collection that’ll gather enough evidence to be able to reject the null condition.

' src=

February 15, 2022 at 9:32 am

Dear sir I always read your notes on Research methods.. Kindly tell is there any available Book on all these..wonderfull Urgent

Comments and Questions Cancel reply

Hypothesis Testing: Null Hypothesis and Alternative Hypothesis

Join over 2 million students who advanced their careers with 365 Data Science. Learn from instructors who have worked at Meta, Spotify, Google, IKEA, Netflix, and Coca-Cola and master Python, SQL, Excel, machine learning, data analysis, AI fundamentals, and more.

null and alternative hypothesis with example

Figuring out exactly what the null hypothesis and the alternative hypotheses are is not a walk in the park. Hypothesis testing is based on the knowledge that you can acquire by going over what we have previously covered about statistics in our blog.

So, if you don’t want to have a hard time keeping up, make sure you have read all the tutorials about confidence intervals , distributions , z-tables and t-tables .

We've also made a video on null hypothesis vs alternative hypothesis - you can watch it below or just scroll down if you prefer reading.

Confidence intervals, distributions, z-tables and t-tables

Confidence intervals provide us with an estimation of where the parameters are located. You can obtain them with our confidence interval calculator and learn more about them in the related article.

Confidence interval, null hypothesis

However, when we are making a decision, we need a yes or no answer. The correct approach, in this case, is to use a test .

Here we will start learning about one of the fundamental tasks in statistics - hypothesis testing !

Hypothesis Testing

The Hypothesis Testing Process

  First off, let’s talk about data-driven decision-making. It consists of the following steps:

  • First, we must formulate a hypothesis .
  • After doing that, we have to find the right test for our hypothesis .
  • Then, we execute the test.
  • Finally, we make a decision based on the result.

Steps in data driven decision making, null hypothesis

Let’s start from the beginning.

What is a Hypothesis?

Though there are many ways to define it, the most intuitive must be:

“A hypothesis is an idea that can be tested.”

What is a hypothesis?

This is not the formal definition, but it explains the point very well.

So, if we say that apples in New York are expensive, this is an idea or a statement. However, it is not testable, until we have something to compare it with.

Apples in New York are expensive, null hypothesis

For instance, if we define expensive as: any price higher than $1.75 dollars per pound, then it immediately becomes a hypothesis .

More expensive that $1.75

What Cannot Be a Hypothesis?

An example may be: would the USA do better or worse under a Clinton administration, compared to a Trump administration? Statistically speaking, this is an idea , but there is no data to test it. Therefore, it cannot be a hypothesis of a statistical test.

No data, cannot be tested = not a hypothesis

Actually, it is more likely to be a topic of another discipline.

Conversely, in statistics, we may compare different US presidencies that have already been completed. For example, the Obama administration and the Bush administration, as we have data on both.

Can be tested, might be a hypothesis

A Two-Sided Test

Alright, let’s get out of politics and get into hypotheses . Here’s a simple topic that CAN be tested.

According to Glassdoor (the popular salary information website), the mean data scientist salary in the US is 113,000 dollars.

Glassdoor

So, we want to test if their estimate is correct.

The Null and Alternative Hypotheses

There are two hypotheses that are made: the null hypothesis , denoted H 0 , and the alternative hypothesis , denoted H 1 or H A .

Null hypothesis and alternative hypothesis

The null hypothesis is the one to be tested and the alternative is everything else. In our example:

The null hypothesis would be: The mean data scientist salary is 113,000 dollars.

The mean data scientist salary is 113,000 dollars

While the alternative : The mean data scientist salary is not 113,000 dollars.

The mean data scientist salary is not 113,000 dollars

Author's note: If you're interested in a data scientist career, check out our articles Data Scientist Career Path , 5 Business Basics for Data Scientists , Data Science Interview Questions , and 15 Data Science Consulting Companies Hiring Now .

An Example of a One-Sided Test

You can also form one-sided or one-tailed tests.

Say your friend, Paul, told you that he thinks data scientists earn more than 125,000 dollars per year. You doubt him, so you design a test to see who’s right.

Who is right?

The null hypothesis of this test would be: The mean data scientist salary is more than 125,000 dollars.

The alternative will cover everything else, thus: The mean data scientist salary is less than or equal to 125,000 dollars.

Null and alternative hypothesis

Important: The outcomes of tests refer to the population parameter rather than the sample statistic! So, the result that we get is for the population.

The outcomes of tests refer to the population parameter rather than the sample statistic

Important: Another crucial consideration is that, generally, the researcher is trying to reject the null hypothesis . Think about the null hypothesis as the status quo and the alternative as the change or innovation that challenges that status quo. In our example, Paul was representing the status quo, which we were challenging.

Status quo

Let’s go over it once more. In statistics, the null hypothesis is the statement we are trying to reject. Therefore, the null hypothesis is the present state of affairs, while the alternative is our personal opinion.

The null hypothesis is the present state of affairs, while the alternative is our personal opinion

Why Hypothesis Testing Works

Right now, you may be feeling a little puzzled. This is normal because this whole concept is counter-intuitive at the beginning. However, there is an extremely easy way to continue your journey of exploring it. By diving into the linked tutorial, you will find out why hypothesis testing actually works.

Interested in learning more? You can take your skills from good to great with our statistics course!

Try statistics course for free

Next Tutorial:  Hypothesis Testing: Significance Level and Rejection Region

World-Class

Data Science

Learn with instructors from:

Iliya Valchanov

Co-founder of 365 Data Science

Iliya is a finance graduate with a strong quantitative background who chose the exciting path of a startup entrepreneur. He demonstrated a formidable affinity for numbers during his childhood, winning more than 90 national and international awards and competitions through the years. Iliya started teaching at university, helping other students learn statistics and econometrics. Inspired by his first happy students, he co-founded 365 Data Science to continue spreading knowledge. He authored several of the program’s online courses in mathematics, statistics, machine learning, and deep learning.

We Think you'll also like

False Positive vs. False Negative: Type I and Type II Errors in Statistical Hypothesis Testing

Statistics Tutorials

False Positive vs. False Negative: Type I and Type II Errors in Statistical Hypothesis Testing

Article by Iliya Valchanov

Hypothesis Testing with Z-Test: Significance Level and Rejection Region

Calculating and Using Covariance and Linear Correlation Coefficient

Calculating and Using Covariance and Linear Correlation Coefficient

Visualizing Data with Bar, Pie and Pareto Charts

Visualizing Data with Bar, Pie and Pareto Charts

If you could change one thing about college, what would it be?

Graduate faster

Better quality online classes

Flexible schedule

Access to top-rated instructors

Long table full of college students eating

Null vs. Alternative Hypothesis

04.28.2023 • 5 min read

Sarah Thomas

Subject Matter Expert

Learn about a null versus alternative hypothesis and what they show with examples for each. Also go over the main differences and similarities between them.

In This Article

What Is a Null Hypothesis?

What is an alternative hypothesis, outcomes of a hypothesis test.

Main Differences Between Null & Alternative Hypothesis

Similarities Between Null & Alternative Hypothesis

Hypothesis Testing & Errors

In statistics, you’ll draw insights or “inferences” about population parameters using data from a sample. This process is called inferential statistics.

To make statistical inferences, you need to determine if you have enough evidence to support a certain hypothesis about the population. This is where null and alternative hypotheses come into play!

In this article, we’ll explain the differences between these two types of hypotheses, and we’ll explain the role they play in hypothesis testing.

Imagine you want to know what percent of Americans are vegetarians. You find a Gallup poll claiming ‌5% of the population was vegetarian in 2018, but your intuition tells you vegetarianism is on the rise and that ‌far more than 5% of Americans are vegetarian today.

To investigate further, you collect your own sample data by surveying 1,000 randomly selected Americans. You’ll use this random sample to determine whether it’s likely ‌the true population proportion of vegetarians is, in fact, 5% (as the Gallup data suggests) or whether it could be the case that the percentage of vegetarians is now higher.

Notice ‌that your investigation involves two rival hypotheses about the population. One hypothesis is that the proportion of vegetarians is 5%. The other hypothesis is that the proportion of vegetarians is greater than 5%. In statistics, we would call the first hypothesis the null hypothesis, and the second hypothesis the alternative hypothesis. The null hypothesis ( H 0 H_0 H 0 ​ ) represents the status quo or what is assumed to be true about the population at the start of your investigation.

Null Hypothesis

In hypothesis testing, the null hypothesis ( H 0 H_0 H 0 ​ ) is the default hypothesis.

It's what the status quo assumes to be true about the population.

The alternative hypothesis ( H a H_a H a ​ or H 1 H_1 H 1 ​ ) is the hypothesis that stands contrary to the null hypothesis. The alternative hypothesis ‌represents the research hypothesis—what you as the statistician are trying to prove with your data .

In medical studies, where scientists are trying to demonstrate whether a treatment has a significant effect on patient outcomes, the alternative hypothesis represents the hypothesis that the treatment does have an effect, while the null hypothesis represents the assumption that the treatment has no effect.

Alternative Hypothesis

The alternative hypothesis ( H a H_a H a ​ or H 1 H_1 H 1 ​ ) is the hypothesis being proposed in opposition to the null hypothesis.

Examples of Null and Alternative Hypotheses

In a hypothesis test, the null and alternative hypotheses must be mutually exclusive statements, meaning both hypotheses cannot be true at the same time. For example, if the null hypothesis includes an equal sign, the alternative hypothesis must state that the values being mentioned are “not equal” in some way.

Your hypotheses will also depend on the formulation of your test—are you running a one-sample T-test, a two-sample T-test, F-test for ANOVA , or a Chi-squared test? It also matters whether you are conducting a directional one-tailed test or a nondirectional two-tailed test.

Example 1: Two-Tailed T-test

Null Hypothesis: The population mean is equal to some number, x. 𝝁 = x

Alternative Hypothesis: The population mean is not equal to x. 𝝁 ≠ x

Example 2: One-tailed T-test (Right-Tailed)

Null Hypothesis: The population mean is less than or equal to some number, x. 𝝁 ≤ x Alternative Hypothesis: The population mean is greater than x. 𝝁 > x

Example 3: One-tailed T-test (Left-Tailed)

Null Hypothesis: The population mean is greater than or equal to some number, x. 𝝁 ≥ x

Alternative Hypothesis: The population mean is less than x. 𝝁 < x

By the end of a hypothesis test, you will have reached one of two conclusions.

You will run into either 2 outcomes:

Fail to reject the null hypothesis on the grounds that there's insufficient evidence to move away from the null hypothesis

Reject the null hypothesis in favor of the alternative.

Chart going over 2 possible outcomes of a hypothesis test

If you’re ‌confused about the outcomes of a hypothesis test, a good analogy is a jury trial. In a jury trial, the defendant is innocent until proven guilty. To reach a verdict of guilt, the jury must find strong evidence (beyond a reasonable doubt) that the defendant committed the crime.

This is analogous to a statistician who must assume the null hypothesis is true unless they can uncover strong evidence ( a p-value less than or equal to the significance level) in support of the alternative hypothesis.

Notice also, that a jury never concludes a defendant is innocent—only that the defendant is guilty or not guilty. This is similar to how we never conclude that the null hypothesis is true. In a hypothesis test, we never conclude ‌that the null hypothesis is true. We can only “reject” the null hypothesis or “fail to reject” it.

In this video, let’s look at the jury example again, the reasoning behind hypothesis testing, and how to form a test. It starts by stating your null and alternative hypotheses.

Main Differences Between Null and Alternative Hypothesis

Here is a summary of the key differences between the null and the alternative hypothesis test.

The null hypothesis represents the status quo; the alternative hypothesis represents an alternative statement about the population.

The null and the alternative are mutually exclusive statements, meaning both statements cannot be true at the same time.

In a medical study, the null hypothesis represents the assumption that a treatment has no statistically significant effect on the outcome being studied. The alternative hypothesis represents the belief that the treatment does have an effect.

The null hypothesis is denoted by H_0 ; the alternative hypothesis is denoted by H_a H_1

You “fail to reject” the null hypothesis when the p-value is larger than the significance level. You “reject” the null hypothesis in favor of the alternative hypothesis when the p-value is less than or equal to your test’s significance level.

Similarities Between Null and Alternative Hypothesis

The similarities between the null and alternative hypotheses are as follows.

Both the null and the alternative are statements about the same underlying data.

Both statements provide a possible answer to a statistician’s research question.

The same hypothesis test will provide evidence for or against the null and alternative hypotheses.

Hypothesis Testing and Errors

Always remember that statistical inference provides you with inferences based on probability rather than hard truths. Anytime you conduct a hypothesis test, there is a chance that you’ll reach the wrong conclusion about your data.

In statistics, we categorize these wrong conclusions into two types of errors:

Type I Errors

Type II Errors

Type I Error (ɑ)

A Type I error occurs when you reject the null hypothesis when, in fact, the null hypothesis is true. This is sometimes called a false positive and is analogous to a jury that falsely convicts an innocent defendant. The probability of making this type of error is represented by alpha, ɑ.

Type II Error (ꞵ)

A Type II error occurs when you fail to reject the null hypothesis when, in fact, the null hypothesis is false. This is sometimes called a false negative and is analogous to a jury that reaches a verdict of “not guilty,” when, in fact, the defendant has committed the crime. The probability of making this type of error is represented by beta, ꞵ.

Outcomes of a Hypothesis test showing type I and type II errors

Explore Outlier's Award-Winning For-Credit Courses

Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.

Check out these related courses:

Intro to Statistics

Intro to Statistics

How data describes our world.

Intro to Microeconomics

Intro to Microeconomics

Why small choices have big impact.

Intro to Macroeconomics

Intro to Macroeconomics

How money moves our world.

Intro to Psychology

Intro to Psychology

The science of the mind.

Related Articles

Neon colored image of a door representing degrees of freedom

Degrees of Freedom In Statistics

Explore degrees of freedom. Learn about their importance, calculation methods, and two test types. Plus dive into solved examples for better understanding.

Closeup of a tangelo tree

What Is Standard Error? Statistics Calculation and Overview

Learn what is standard error in statistics. This overview explains the definition, the process, the difference with standard deviation, and includes examples.

Quilt shapes representing Quartiles

What Are Quartiles? Statistics 101

Learn what quartiles are and how they work in statistics. Understand how to calculate them and why even learn them.

Further Reading

What is the second derivative test [full guide], how to find derivatives in 3 steps, test statistics: definition, formulas & examples, what is the product rule [with examples], understanding math probability - definition, formula & how to find it, what is a residual in stats.

Academic Success Center

Statistics Resources

  • Excel - Tutorials
  • Basic Probability Rules
  • Single Event Probability
  • Complement Rule
  • Intersections & Unions
  • Compound Events
  • Levels of Measurement
  • Independent and Dependent Variables
  • Entering Data
  • Central Tendency
  • Data and Tests
  • Displaying Data
  • Discussing Statistics In-text
  • SEM and Confidence Intervals
  • Two-Way Frequency Tables
  • Empirical Rule
  • Finding Probability
  • Accessing SPSS
  • Chart and Graphs
  • Frequency Table and Distribution
  • Descriptive Statistics
  • Converting Raw Scores to Z-Scores
  • Converting Z-scores to t-scores
  • Split File/Split Output
  • Partial Eta Squared
  • Downloading and Installing G*Power: Windows/PC
  • Correlation
  • Testing Parametric Assumptions
  • One-Way ANOVA
  • Two-Way ANOVA
  • Repeated Measures ANOVA
  • Goodness-of-Fit
  • Test of Association
  • Pearson's r
  • Point Biserial
  • Mediation and Moderation
  • Simple Linear Regression
  • Multiple Linear Regression
  • Binomial Logistic Regression
  • Multinomial Logistic Regression
  • Independent Samples T-test
  • Dependent Samples T-test
  • Testing Assumptions
  • T-tests using SPSS
  • T-Test Practice
  • Predictive Analytics This link opens in a new window
  • Quantitative Research Questions
  • Null & Alternative Hypotheses
  • One-Tail vs. Two-Tail
  • Alpha & Beta
  • Associated Probability
  • Decision Rule
  • Statement of Conclusion
  • Statistics Group Sessions

ASC Chat Hours

ASC Chat is usually available at the following times ( Pacific Time):

Days Hours (Pacific time)
Mon.

9 am - 8 pm

Tue.

7 am - 1 pm

3 pm - 10 pm

Wed.

7 am - 1 pm

3 pm - 10 pm

Thurs.

7 am - 1 pm

2 pm - 10 pm

Fri.

9 am - 1 pm

3 pm - 5 pm

6 pm - 8 pm

Sat. 

7 am - 1 pm

6 pm - 9 pm

Sun.

10 am - 1 pm

5 pm - 9 pm

If there is not a coach on duty, submit your question via one of the below methods:

  928-440-1325

  Ask a Coach

  [email protected]

Search our FAQs on the Academic Success Center's  Ask a Coach   page.

Once you have developed a clear and focused research question or set of research questions, you’ll be ready to conduct further research, a literature review, on the topic to help you make an educated guess about the answer to your question(s). This educated guess is called a hypothesis.

In research, there are two types of hypotheses: null and alternative. They work as a complementary pair, each stating that the other is wrong.

  • Null Hypothesis (H 0 ) – This can be thought of as the implied hypothesis. “Null” meaning “nothing.”  This hypothesis states that there is no difference between groups or no relationship between variables. The null hypothesis is a presumption of status quo or no change.
  • Alternative Hypothesis (H a ) – This is also known as the claim. This hypothesis should state what you expect the data to show, based on your research on the topic. This is your answer to your research question.

Null Hypothesis:   H 0 : There is no difference in the salary of factory workers based on gender. Alternative Hypothesis :  H a : Male factory workers have a higher salary than female factory workers.

Null Hypothesis :  H 0 : There is no relationship between height and shoe size. Alternative Hypothesis :  H a : There is a positive relationship between height and shoe size.

Null Hypothesis :  H 0 : Experience on the job has no impact on the quality of a brick mason’s work. Alternative Hypothesis :  H a : The quality of a brick mason’s work is influenced by on-the-job experience.

Was this resource helpful?

  • << Previous: Hypothesis Testing
  • Next: One-Tail vs. Two-Tail >>
  • Last Updated: Jul 16, 2024 11:19 AM
  • URL: https://resources.nu.edu/statsresources

NCU Library Home

9.1 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 the variables–they are not related. 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 0 and what we conclude when we cannot accept H 0 . This is usually what the researcher is trying to prove. 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.

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 0 " or "decline to reject H 0 " 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 by the analyst.

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.

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 a never has a symbol with an equal in it. The choice of symbol depends on the wording of the hypothesis test.

Example 9.1

H 0 : No more than 30% of the registered voters in Santa Clara County voted in the primary election. p ≤ .30 H a : More than 30% of the registered voters in Santa Clara County voted in the primary election. p > 30

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

Example 9.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: H 0 : μ = 2.0 H a : μ ≠ 2.0

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.

  • H 0 : μ __ 66
  • H a : μ __ 66

Example 9.3

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

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.

  • H 0 : μ __ 45
  • H a : μ __ 45

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Access for free at https://openstax.org/books/introductory-business-statistics-2e/pages/1-introduction
  • Authors: Alexander Holmes, Barbara Illowsky, Susan Dean
  • Publisher/website: OpenStax
  • Book title: Introductory Business Statistics 2e
  • Publication date: Dec 13, 2023
  • Location: Houston, Texas
  • Book URL: https://openstax.org/books/introductory-business-statistics-2e/pages/1-introduction
  • Section URL: https://openstax.org/books/introductory-business-statistics-2e/pages/9-1-null-and-alternative-hypotheses

© Jul 18, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.

Microbe Notes

Microbe Notes

Null hypothesis and alternative hypothesis with 9 differences

Null hypothesis and alternative hypothesis

Table of Contents

Interesting Science Videos

Null hypothesis definition

The null hypothesis is a general statement that states that there is no relationship between two phenomenons under consideration or that there is no association between two groups.

  • A hypothesis, in general, is an assumption that is yet to be proved with sufficient pieces of evidence. A null hypothesis thus is the hypothesis a researcher is trying to disprove.
  • A null hypothesis is a hypothesis capable of being objectively verified, tested, and even rejected.
  • If a study is to compare method A with method B about their relationship, and if the study is preceded on the assumption that both methods are equally good, then this assumption is termed as the null hypothesis.
  • The null hypothesis should always be a specific hypothesis, i.e., it should not state about or approximately a certain value.

Null hypothesis symbol

  • The symbol for the null hypothesis is H 0, and it is read as H-null, H-zero, or H-naught.
  • The null hypothesis is usually associated with just ‘equals to’ sign as a null hypothesis can either be accepted or rejected.

Null hypothesis purpose

  • The main purpose of a null hypothesis is to verify/ disprove the proposed statistical assumptions.
  • Some scientific null hypothesis help to advance a theory.
  • The null hypothesis is also used to verify the consistent results of multiple experiments. For e.g., the null hypothesis stating that there is no relation between some medication and age of the patients supports the general effectiveness conclusion, and allows recommendations.

Null hypothesis principle

  • The principle of the null hypothesis is collecting the data and determining the chances of the collected data in the study of a random sample, proving that the null hypothesis is true.
  • In situations or studies where the collected data doesn’t complete the expectation of the null hypothesis, it is concluded that the data doesn’t provide sufficient or reliable pieces of evidence to support the null hypothesis and thus, it is rejected.
  • The data collected is tested through some statistical tool which is designed to measure the extent of departure of the date from the null hypothesis.
  • The procedure decides whether the observed departure obtained from the statistical tool is larger than a defined value so that the probability of occurrence of a high departure value is very small under the null hypothesis.
  • However, some data might not contradict the null hypothesis which explains that only a weak conclusion can be made and that the data doesn’t provide strong pieces of evidence against the null hypothesis and the null hypothesis might or might not be true.
  • Under some other conditions, if the data collected is sufficient and is capable of providing enough evidence, the null hypothesis can be considered valid, indicating no relationship between the phenomena.

When to reject null hypothesis?

  • When the p-value of the data is less than the significant level of the test, the null hypothesis is rejected, indicating the test results are significant.
  • However, if the p-value is higher than the significant value, the null hypothesis is not rejected, and the results are considered not significant.
  • The level of significance is an important concept while hypothesis testing as it determines the percentage risk of rejecting the null hypothesis when H 0 might happen to be true.
  • In other words, if we take the level of significance at 5%, it means that the researcher is willing to take as much as a 5 percent risk of rejecting the null hypothesis when it (H 0 ) happens to be true.
  • The null hypothesis cannot be accepted because the lack of evidence only means that the relationship is not proven. It doesn’t prove that something doesn’t exist, but it just means that there are not enough shreds of evidence and the study might have missed it.

Null hypothesis examples

The following are some examples of null hypothesis:

  • If the hypothesis is that “the consumption of a particular medicine reduces the chances of heart arrest”, the null hypothesis will be “the consumption of the medicine doesn’t reduce the chances of heart arrest.”
  • If the hypothesis is that, “If random test scores are collected from men and women, does the score of one group differ from the other?” a possible null hypothesis will be that the mean test score of men is the same as that of the women.

H 0 : µ 1 = µ 2

H 0 = null hypothesis µ 1 = mean score of men µ 2 = mean score of women

Alternative hypothesis definition

An alternative hypothesis is a statement that describes that there is a relationship between two selected variables in a study.

  • An alternative hypothesis is usually used to state that a new theory is preferable to the old one (null hypothesis).
  • This hypothesis can be simply termed as an alternative to the null hypothesis.
  • The alternative hypothesis is the hypothesis that is to be proved that indicates that the results of a study are significant and that the sample observation is not results just from chance but from some non-random cause.
  • If a study is to compare method A with method B about their relationship and we assume that the method A is superior or the method B is inferior, then such a statement is termed as an alternative hypothesis.
  • Alternative hypotheses should be clearly stated, considering the nature of the research problem.

Alternative hypothesis symbol

  • The symbol of the alternative hypothesis is either H 1 or H a while using less than, greater than or not equal signs.

Alternative hypothesis purpose

  • An alternative hypothesis provides the researchers with some specific restatements and clarifications of the research problem.
  • An alternative hypothesis provides a direction to the study, which then can be utilized by the researcher to obtain the desired results.
  • Since the alternative hypothesis is selected before conducting the study, it allows the test to prove that the study is supported by evidence, separating it from the researchers’ desires and values.
  • An alternative hypothesis provides a chance of discovering new theories that can disprove an existing one that might not be supported by evidence.
  • The alternative hypothesis is important as they prove that a relationship exists between two variables selected and that the results of the study conducted are relevant and significant.

Alternative hypothesis principle

  • The principle behind the alternative hypothesis is similar to that of the null hypothesis.
  • The alternative hypothesis is based on the concept that when sufficient evidence is collected from the data of random sample, it provides a basis for proving the assumption made by the researcher regarding the study.
  • Like in the null hypothesis, the data collected from a random sample is passed through a statistical tool that measures the extent of departure of the data from the null hypothesis.
  • If the departure is small under the selected level of significance, the alternative hypothesis is accepted, and the null hypothesis is rejected.
  • If the data collected don’t have chances of being in the study of the random sample and are instead decided by the relationship within the sample of the study, an alternative hypothesis stands true.

Alternative hypothesis examples

The following are some examples of alternative hypothesis:

1. If a researcher is assuming that the bearing capacity of a bridge is more than 10 tons, then the hypothesis under this study will be:

Null hypothesis H 0 : µ= 10 tons Alternative hypothesis H a : µ>10 tons

2. Under another study that is trying to test whether there is a significant difference between the effectiveness of medicine against heart arrest, the alternative hypothesis will be that there is a relationship between the medicine and chances of heart arrest.

Null hypothesis vs Alternative hypothesis

The null hypothesis is a general statement that states that there is no relationship between two phenomenons under consideration or that there is no association between two groups. An alternative hypothesis is a statement that describes that there is a relationship between two selected variables in a study.
It is denoted by H . It is denoted by H or H .
It is followed by ‘equals to’ sign. It is followed by not equals to, ‘less than’ or ‘greater than’ sign.
The null hypothesis believes that the results are observed as a result of chance. The alternative hypothesis believes that the results are observed as a result of some real causes.
It is the hypothesis that the researcher tries to disprove. It is a hypothesis that the researcher tries to prove.
The result of the null hypothesis indicates no changes in opinions or actions. The result of an alternative hypothesis causes changes in opinions and actions.
If the null hypothesis is accepted, the results of the study become insignificant. If an alternative hypothesis is accepted, the results of the study become significant.
If the p-value is greater than the level of significance, the null hypothesis is accepted. If the p-value is smaller than the level of significance, an alternative hypothesis is accepted.
The null hypothesis allows the acceptance of correct existing theories and the consistency of multiple experiments. Alternative hypothesis are important as it establishes a relationship between two variables, resulting in new improved theories.
  • R. Kothari (1990) Research Methodology. Vishwa Prakasan. India.
  • https://www.statisticssolutions.com/null-hypothesis-and-alternative-hypothesis/
  • https://byjus.com/maths/null-hypothesis/
  • https://en.wikipedia.org/wiki/Null_hypothesis
  • https://keydifferences.com/difference-between-null-and-alternative-hypothesis.html
  • 5% – https://en.wikipedia.org/wiki/Null_hypothesis
  • 3% – https://keydifferences.com/difference-between-null-and-alternative-hypothesis.html
  • 2% – https://byjus.com/maths/null-hypothesis/
  • 1% – https://www.wisdomjobs.com/e-university/research-methodology-tutorial-355/procedure-for-hypothesis-testing-11525.html
  • 1% – https://www.thoughtco.com/definition-of-null-hypothesis-and-examples-605436
  • 1% – https://www.quora.com/What-are-the-different-types-of-hypothesis-and-what-are-some-examples-of-them
  • 1% – https://www.dummies.com/education/math/statistics/what-a-p-value-tells-you-about-statistical-data/
  • 1% – https://www.coursehero.com/file/p7jfbal5/These-are-hypotheses-capable-of-being-objectively-verified-and-tested-Thus-we/
  • 1% – https://support.minitab.com/en-us/minitab/18/help-and-how-to/modeling-statistics/anova/how-to/one-way-anova/interpret-the-results/all-statistics-and-graphs/methods/
  • 1% – https://stats.stackexchange.com/questions/105319/test-whether-there-is-a-significant-difference-between-two-groups
  • 1% – https://statisticsbyjim.com/hypothesis-testing/failing-reject-null-hypothesis/
  • 1% – https://quizlet.com/45299306/statistics-flash-cards/
  • <1% – https://www.thoughtco.com/significance-level-in-hypothesis-testing-1147177
  • <1% – https://www.thoughtco.com/null-hypothesis-vs-alternative-hypothesis-3126413
  • <1% – https://www.sagepub.com/sites/default/files/upm-binaries/40007_Chapter8.pdf
  • <1% – https://www.differencebetween.com/difference-between-hypothesis-and-vs-assumption/
  • <1% – https://www.coursehero.com/file/18076181/introduction-to-hypothesis/
  • <1% – https://statisticsbyjim.com/glossary/significance-level/
  • <1% – https://quizlet.com/164755799/research-methods-midterm-2-flash-cards/
  • <1% – https://online.stat.psu.edu/statprogram/reviews/statistical-concepts/hypothesis-testing/p-value-approach

About Author

Photo of author

Anupama Sapkota

Leave a Comment Cancel reply

Save my name, email, and website in this browser for the next time I comment.

Back Home

  • Science Notes Posts
  • Contact Science Notes
  • Todd Helmenstine Biography
  • Anne Helmenstine Biography
  • Free Printable Periodic Tables (PDF and PNG)
  • Periodic Table Wallpapers
  • Interactive Periodic Table
  • Periodic Table Posters
  • Science Experiments for Kids
  • How to Grow Crystals
  • Chemistry Projects
  • Fire and Flames Projects
  • Holiday Science
  • Chemistry Problems With Answers
  • Physics Problems
  • Unit Conversion Example Problems
  • Chemistry Worksheets
  • Biology Worksheets
  • Periodic Table Worksheets
  • Physical Science Worksheets
  • Science Lab Worksheets
  • My Amazon Books

Null Hypothesis Examples

Null Hypothesis Example

The null hypothesis (H 0 ) is the hypothesis that states there is no statistical difference between two sample sets. In other words, it assumes the independent variable does not have an effect on the dependent variable in a scientific experiment .

The null hypothesis is the most powerful type of hypothesis in the scientific method because it’s the easiest one to test with a high confidence level using statistics. If the null hypothesis is accepted, then it’s evidence any observed differences between two experiment groups are due to random chance. If the null hypothesis is rejected, then it’s strong evidence there is a true difference between test sets or that the independent variable affects the dependent variable.

  • The null hypothesis is a nullifiable hypothesis. A researcher seeks to reject it because this result strongly indicates observed differences are real and not just due to chance.
  • The null hypothesis may be accepted or rejected, but not proven. There is always a level of confidence in the outcome.

What Is the Null Hypothesis?

The null hypothesis is written as H 0 , which is read as H-zero, H-nought, or H-null. It is associated with another hypothesis, called the alternate or alternative hypothesis H A or H 1 . When the null hypothesis and alternate hypothesis are written mathematically, they cover all possible outcomes of an experiment.

An experimenter tests the null hypothesis with a statistical analysis called a significance test. The significance test determines the likelihood that the results of the test are not due to chance. Usually, a researcher uses a confidence level of 95% or 99% (p-value of 0.05 or 0.01). But, even if the confidence in the test is high, there is always a small chance the outcome is incorrect. This means you can’t prove a null hypothesis. It’s also a good reason why it’s important to repeat experiments.

Exact and Inexact Null Hypothesis

The most common type of null hypothesis assumes no difference between two samples or groups or no measurable effect of a treatment. This is the exact hypothesis . If you’re asked to state a null hypothesis for a science class, this is the one to write. It is the easiest type of hypothesis to test and is the only one accepted for certain types of analysis. Examples include:

There is no difference between two groups H 0 : μ 1  = μ 2 (where H 0  = the null hypothesis, μ 1  = the mean of population 1, and μ 2  = the mean of population 2)

Both groups have value of 100 (or any number or quality) H 0 : μ = 100

However, sometimes a researcher may test an inexact hypothesis . This type of hypothesis specifies ranges or intervals. Examples include:

Recovery time from a treatment is the same or worse than a placebo: H 0 : μ ≥ placebo time

There is a 5% or less difference between two groups: H 0 : 95 ≤ μ ≤ 105

An inexact hypothesis offers “directionality” about a phenomenon. For example, an exact hypothesis can indicate whether or not a treatment has an effect, while an inexact hypothesis can tell whether an effect is positive of negative. However, an inexact hypothesis may be harder to test and some scientists and statisticians disagree about whether it’s a true null hypothesis .

How to State the Null Hypothesis

To state the null hypothesis, first state what you expect the experiment to show. Then, rephrase the statement in a form that assumes there is no relationship between the variables or that a treatment has no effect.

Example: A researcher tests whether a new drug speeds recovery time from a certain disease. The average recovery time without treatment is 3 weeks.

  • State the goal of the experiment: “I hope the average recovery time with the new drug will be less than 3 weeks.”
  • Rephrase the hypothesis to assume the treatment has no effect: “If the drug doesn’t shorten recovery time, then the average time will be 3 weeks or longer.” Mathematically: H 0 : μ ≥ 3

This null hypothesis (inexact hypothesis) covers both the scenario in which the drug has no effect and the one in which the drugs makes the recovery time longer. The alternate hypothesis is that average recovery time will be less than three weeks:

H A : μ < 3

Of course, the researcher could test the no-effect hypothesis (exact null hypothesis): H 0 : μ = 3

The danger of testing this hypothesis is that rejecting it only implies the drug affected recovery time (not whether it made it better or worse). This is because the alternate hypothesis is:

H A : μ ≠ 3 (which includes μ <3 and μ >3)

Even though the no-effect null hypothesis yields less information, it’s used because it’s easier to test using statistics. Basically, testing whether something is unchanged/changed is easier than trying to quantify the nature of the change.

Remember, a researcher hopes to reject the null hypothesis because this supports the alternate hypothesis. Also, be sure the null and alternate hypothesis cover all outcomes. Finally, remember a simple true/false, equal/unequal, yes/no exact hypothesis is easier to test than a more complex inexact hypothesis.

Does chewing willow bark relieve pain?Pain relief is the same compared with a . (exact)
Pain relief after chewing willow bark is the same or worse versus taking a placebo. (inexact)
Pain relief is different compared with a placebo. (exact)
Pain relief is better compared to a placebo. (inexact)
Do cats care about the shape of their food?Cats show no food preference based on shape. (exact)Cat show a food preference based on shape. (exact)
Do teens use mobile devices more than adults?Teens and adults use mobile devices the same amount. (exact)
Teens use mobile devices less than or equal to adults. (inexact)
Teens and adults used mobile devices different amounts. (exact)
Teens use mobile devices more than adults. (inexact)
Does the color of light influence plant growth?The color of light has no effect on plant growth. (exact)The color of light affects plant growth. (exact)
  • Adèr, H. J.; Mellenbergh, G. J. & Hand, D. J. (2007).  Advising on Research Methods: A Consultant’s Companion . Huizen, The Netherlands: Johannes van Kessel Publishing. ISBN  978-90-79418-01-5 .
  • Cox, D. R. (2006).  Principles of Statistical Inference . Cambridge University Press. ISBN  978-0-521-68567-2 .
  • Everitt, Brian (1998).  The Cambridge Dictionary of Statistics . Cambridge, UK New York: Cambridge University Press. ISBN 978-0521593465.
  • Weiss, Neil A. (1999).  Introductory Statistics  (5th ed.). ISBN 9780201598773.

Related Posts

Null Hypothesis and Alternative Hypothesis

  • Inferential Statistics
  • Statistics Tutorials
  • Probability & Games
  • Descriptive Statistics
  • Applications Of Statistics
  • Math Tutorials
  • Pre Algebra & Algebra
  • Exponential Decay
  • Worksheets By Grade
  • Ph.D., Mathematics, Purdue University
  • M.S., Mathematics, Purdue University
  • B.A., Mathematics, Physics, and Chemistry, Anderson University

Hypothesis testing involves the careful construction of two statements: the null hypothesis and the alternative hypothesis. These hypotheses can look very similar but are actually different.

How do we know which hypothesis is the null and which one is the alternative? We will see that there are a few ways to tell the difference.

The Null Hypothesis

The null hypothesis reflects that there will be no observed effect in our experiment. In a mathematical formulation of the null hypothesis, there will typically be an equal sign. This hypothesis is denoted by H 0 .

The null hypothesis is what we attempt to find evidence against in our hypothesis test. We hope to obtain a small enough p-value that it is lower than our level of significance alpha and we are justified in rejecting the null hypothesis. If our p-value is greater than alpha, then we fail to reject the null hypothesis.

If the null hypothesis is not rejected, then we must be careful to say what this means. The thinking on this is similar to a legal verdict. Just because a person has been declared "not guilty", it does not mean that he is innocent. In the same way, just because we failed to reject a null hypothesis it does not mean that the statement is true.

For example, we may want to investigate the claim that despite what convention has told us, the mean adult body temperature is not the accepted value of 98.6 degrees Fahrenheit . The null hypothesis for an experiment to investigate this is “The mean adult body temperature for healthy individuals is 98.6 degrees Fahrenheit.” If we fail to reject the null hypothesis, then our working hypothesis remains that the average adult who is healthy has a temperature of 98.6 degrees. We do not prove that this is true.

If we are studying a new treatment, the null hypothesis is that our treatment will not change our subjects in any meaningful way. In other words, the treatment will not produce any effect in our subjects.

The Alternative Hypothesis

The alternative or experimental hypothesis reflects that there will be an observed effect for our experiment. In a mathematical formulation of the alternative hypothesis, there will typically be an inequality, or not equal to symbol. This hypothesis is denoted by either H a or by H 1 .

The alternative hypothesis is what we are attempting to demonstrate in an indirect way by the use of our hypothesis test. If the null hypothesis is rejected, then we accept the alternative hypothesis. If the null hypothesis is not rejected, then we do not accept the alternative hypothesis. Going back to the above example of mean human body temperature, the alternative hypothesis is “The average adult human body temperature is not 98.6 degrees Fahrenheit.”

If we are studying a new treatment, then the alternative hypothesis is that our treatment does, in fact, change our subjects in a meaningful and measurable way.

The following set of negations may help when you are forming your null and alternative hypotheses. Most technical papers rely on just the first formulation, even though you may see some of the others in a statistics textbook.

  • Null hypothesis: “ x is equal to y .” Alternative hypothesis “ x is not equal to y .”
  • Null hypothesis: “ x is at least y .” Alternative hypothesis “ x is less than y .”
  • Null hypothesis: “ x is at most y .” Alternative hypothesis “ x is greater than y .”
  • What 'Fail to Reject' Means in a Hypothesis Test
  • Type I and Type II Errors in Statistics
  • An Example of a Hypothesis Test
  • The Runs Test for Random Sequences
  • An Example of Chi-Square Test for a Multinomial Experiment
  • The Difference Between Type I and Type II Errors in Hypothesis Testing
  • What Level of Alpha Determines Statistical Significance?
  • What Is the Difference Between Alpha and P-Values?
  • What Is ANOVA?
  • How to Find Critical Values with a Chi-Square Table
  • Example of a Permutation Test
  • Degrees of Freedom for Independence of Variables in Two-Way Table
  • Example of an ANOVA Calculation
  • How to Find Degrees of Freedom in Statistics
  • How to Construct a Confidence Interval for a Population Proportion
  • Degrees of Freedom in Statistics and Mathematics
  • Alternative vs Null Hypothesis: Pros, Cons, Uses & Examples

busayo.longe

All research starts with a problem that needs to be solved. From this problem, hypotheses are developed to provide the researcher with a clear statement of the problem.

To understand alternative hypotheses also known as alternate hypotheses, you must first understand what the hypothesis is .

When you hear the word hypothesis it means the accurate explanations in relation to a set of facts that can be analyzed when studied, using some specific method of research.

There are primarily two types of hypothesis which are null hypothesis and alternative hypothesis.

When you think about the word “null” what should come to mind is something that can not change, what you expect is what you get, unlike alternate hypotheses which can change.

Now, the research problems or questions which could be in the form of null hypothesis or alternative hypothesis are expressed as the relationship that exists between two or more variables. The process for this states that the questions should be what expresses the relationship between two variables that can be measured.

Both null hypotheses and alternative hypotheses are used by statisticians and researchers to conduct research in various industries or fields such as mathematics, psychology, science, medicine, and technology.

We are going to discuss alternative hypotheses and null hypotheses in this post and how they work in research.

What is an Alternative Hypothesis?

Alternative hypothesis simply put is another viable option to the null hypothesis. It means looking for a substantial change or option that can allow you to reject the null hypothesis.

It is an opposing theory to a null hypothesis.

If you develop a null hypothesis, you make an informed guess on whether a thing is true or whether there is a relationship between that thing and another variable. An alternate hypothesis will always take an opposite stand against a null hypothesis. So if according to a null hypothesis something is correct to an alternate hypothesis that same thing will be incorrect.

For example, let’s assume that you develop a null hypothesis that states “I”m going to be $500 richer” the alternate hypothesis will be “I’m going to get $500 or be richer”

When you are trying to disprove a null hypothesis, that is when you test an alternate hypothesis. If there is enough data to back up the alternative hypothesis then you can dispose of the null hypothesis. 

Get Answers: What is Empirical Research Study? [Examples & Method]

What is a Null Hypothesis?

The null hypothesis is best explained as the statement showing that no relationship exists between two variables that are being considered or that two groups are not related. As we have earlier established, a hypothesis is an assumed statement that has not been proven with sufficient data that could serve as a piece of evidence. 

The null hypothesis is now the statement that a researcher or an investigator wants to disprove. The null hypothesis is capable of being tested, being verifiable, and also capable of being rejected.

For example, if you want to conduct a study that will compare the relationship between project A and project B if the study is based on the assumption that both projects are of equal standard, the assumption is referred to as the null hypothesis.

This is because the null hypothesis should be specific at all times.

Learn: Hypothesis Testing in Research: Definition, Procedure, Uses, Limitations + Examples

Advantages of the Alternative Hypothesis 

  • Alternative hypothesis gives a researcher specific clarifications on the research questions or problems .
  • It provides a study with the direction that can be used to collect data and obtain results of interest by the researcher.
  • An alternative hypothesis is always selected before commencing the studies which gives the researcher the opportunity to prove that the restatement is backed up by evidence and not just from the researcher’s ideas or values.
  • Another good thing about alternative hypotheses is that it provides the opportunity to discover new theories that a researcher can use to disprove an existing theory that may not have been backed up by evidence .
  • An alternate hypothesis is also useful to prove that there is a relationship between two selected variables and the outcomes of the conducted study are relevant.

Principles of the Alternative Hypothesis

  • Alternative hypotheses will be accepted if the amount of data that is gone is insignificant within the significance level. This means that the null hypothesis will be rejected.
  • Another principle of the alternative hypothesis is that the data gathered from random samples go through a statistical tool that analyzes the effect of the amount of data leaving the null hypothesis.
For the curious: Sampling Bias: Definition, Types + [Examples]

Purpose of the Null Hypothesis 

Here are the purposes of the null hypothesis in an experiment or study:

  • The primary purpose of a null hypothesis is to disprove an assumption.
  • Null hypotheses can help to further progress a theory in some scientific cases.
  • You can also use a null hypothesis to ascertain how consistent the outcomes of multiple studies are.

Principle of the Null Hypothesis 

Now, these are the principles of the null hypothesis:

1. The primary principle of the null hypothesis is to prove that the assumed statement is true. This is done by collecting data and analyzing in the study , what chance the collected data has in the random sample.

2. If the collected data does not meet the expectation of the null hypothesis, it is determined that the data lacks sufficient evidence to back up the null hypothesis therefore the null hypothesis statement is rejected.

Just as in the case of the alternative hypothesis the collected data in a null hypothesis is analyzed using some statistical tools that are made to measure the extent to which data left the null hypothesis.

The process will determine whether the data that left the null hypothesis is larger than a set value. If the data collected from the random sample is enough to serve as evidence to prove the null hypothesis then the null hypothesis will be accepted as true. And also defined that it has no relationship with other variables .

Learn About: Research Reports: Definition, Types + [Writing Guide]

Types of Alternative Hypothesis (Advantages of Each and When to Use)

There are four types of alternative hypotheses, and we will briefly discuss them below.

  • One-tailed directional: For one of the sampling distributions one tail, this type of alternative hypothesis focuses on the rejected part only.
  • Two-tailed directional: In an alternative hypothesis, a two-tailed directional focus on the two parts or directions that were rejected in the sampling distribution.
  • Point: Point is another alternate hypothesis. It occurs in hypothesis testing when the sample population in the alternate hypothesis has been completely defined in a distribution. If there are no known parameters, the hypothesis will serve no interest. They are, however, important to the foundation of the statistical inferences.
  • Non-directional: In an alternate hypothesis, a non-directional does not focus on the two directions of rejection. The only focus of the nondirectional alternative hypothesis is to prove that the null hypothesis is incorrect.
Read: Type I vs Type II Errors: Definition, Examples & Prevention

Difference between Null Hypothesis and Alternative Hypothesis 

We are going to look at the differences between the alternate hypothesis and the null hypothesis based on these six factors which are:

  • Mathematical expression
  • Observation
  • Acceptance criteria
  • The difference in Mathematical expression

Null hypothesis is followed by an ‘equals to’ (=) sign. While the Alternative hypothesis is followed by these three signs; 

  • The difference in how they are observed

In the null hypothesis, it is believed that the results that are observed are as a result of chance. While In the alternative hypothesis, it is believed that the observed results are the outcome of some real causes.

  • Differences in results

The result of the null hypothesis always shows that there have been no changes in statements or opinions. While the result of the alternative hypothesis shows that there have been significant changes in statements and opinions.

  • Differences in Acceptance criteria

If the p-value in a null hypothesis is greater than the significance level, then the null hypothesis is accepted.

If the p-value in an alternate hypothesis is smaller than the significance level, then the alternative hypothesis is accepted.

  • Differences in importance

The null hypothesis accepts true existing theories and also if there has been consistency in multiple experiments of similar hypotheses.

The alternative hypothesis establishes whether a relationship exists between two variables, and the result will then lead to new improved theories.

Read: T-testing: Definition, Formula & Interpretations

Examples of an Alternative Hypothesis and Null Hypothesis

Here are some examples of the alternative hypothesis:.

A researcher assumes that a bridge’s bearing capacity is over 10 tons, the researcher will then develop an hypothesis to support this study. The hypothesis will be:

For the null hypothesis H0: µ= 10 tons

For the alternate hypothesis Ha: µ>10 tons

In another study being conducted, the researcher wants to find out whether there is a noticeable difference or change in a patient’s heart arrest medicine and the patient’s heart condition.

For the alternate hypothesis: The hypothesis is that there might indeed be a relationship between the new medicine and the frequency or chances of heart arrest in a patient.

Here are the examples of the null hypothesis

The hypothesis from example 2 in the alternate hypothesis implies that the use of one specific medicine can reduce the frequency and chances of heart arrest.

For the null hypothesis: The hypothesis will be that the use of that particular medicine cannot reduce the chance and frequency of heart arrest in a patient.

An alternate hypothesis states that the random exam scores are collected from both men and women. But are the scores of the two groups (men and women) the same or are they different?

For the null hypothesis: The hypothesis will state that the calculated mean of the men’s exam score is equal to the exam score of the women.

This is represented as

H0= The null hypothesis

µ1= The calculated mean score of men

µ2= The calculated mean score of women

Read: What is Empirical Research Study? [Examples & Method]
  • Can you reject an alternative hypothesis?

It is quite inappropriate to say or report that an alternate hypothesis was rejected. It is much better to use the phrase “the alternate hypothesis was rather not supported”.

The reason behind this use of words is that only the null hypothesis is designed to be rejected in a study. The alternative hypothesis is designed to prove the null hypothesis incorrect, to introduce new facts that can disprove the null hypothesis but it is not designed to be rejected.

It can either be accepted or not supported.

  • How do you identify alternative hypotheses?

A researcher can use this formula to identify the alternate hypothesis in a study or experiment.

H0 and Ha are in contrast.

Therefore, if Ho has:

Equal to (=)

Greater than or equal to (≥)

Less than or equal to (≤)

And then Ha has:

Not equal (≠) 

Greater than (>) or less than (

Less than ( )

If in a study, α ≤ p-value, then the researcher should not reject H0.

If in a study, α > p-value, then the researcher should reject H0.

α is preconceived. The value of α is determined even before the hypothesis test is conducted. While the p-value is derived from the calculation in the data.

  • Which is better in formulating hypotheses of your study alternative or null?

The study a researcher wants to conduct will determine what hypothesis should be developed. However, the researcher should keep in mind what the purpose of the null and alternative two hypotheses are while developing the study hypothesis. So while the null hypothesis will accept existing theories that it found to be true or correct, and measure the consistency of multiple experiments, alternative hypotheses will find the relationship that exists (if any) between two phenomena and may lead to the development of a new and improved theory.

In this article, it has been clearly defined the relationship that exists between the null hypothesis and the alternative hypothesis. While the null hypothesis is always an assumption that needs to be proven with evidence for it to be accepted, the alternative hypothesis puts in all the effort to make sure the null hypothesis is disproved. 

Researchers should note that for every null hypothesis, one or more alternate hypotheses can be developed.

Logo

Connect to Formplus, Get Started Now - It's Free!

  • acceptance criteria
  • alternate hypotheses
  • alternative hypothesis
  • alternative hypothesis types
  • alternative vs null hypothesis
  • null hypothese
  • busayo.longe

Formplus

You may also like:

Type I vs Type II Errors: Causes, Examples & Prevention

This article will discuss the two different types of errors in hypothesis testing and how you can prevent them from occurring in your research

null and alternative hypothesis with example

Extrapolation in Statistical Research: Definition, Examples, Types, Applications

In this article we’ll look at the different types and characteristics of extrapolation, plus how it contrasts to interpolation.

Hypothesis Testing: Definition, Uses, Limitations + Examples

The process of research validation involves testing and it is in this context that we will explore hypothesis testing.

Acceptance Sampling: Meaning, Examples, When to Use

In this post, we will discuss extensively what acceptance sampling is and when it is applied.

Formplus - For Seamless Data Collection

Collect data the right way with a versatile data collection tool. try formplus and transform your work productivity today..

COMMENTS

  1. Null & Alternative Hypotheses

    The null hypothesis (H0) answers "No, there's no effect in the population.". The alternative hypothesis (Ha) answers "Yes, there is an effect in the population.". The null and alternative are always claims about the population. That's because the goal of hypothesis testing is to make inferences about a population based on a sample.

  2. Null and Alternative Hypotheses

    The null and alternative hypotheses are two competing claims that researchers weigh evidence for and against using a statistical test: Null hypothesis (H0): There's no effect in the population. Alternative hypothesis (HA): There's an effect in the population. The effect is usually the effect of the independent variable on the dependent ...

  3. How to Write a Null Hypothesis (5 Examples)

    H 0 (Null Hypothesis): Population parameter =, ≤, ≥ some value. H A (Alternative Hypothesis): Population parameter <, >, ≠ some value. Note that the null hypothesis always contains the equal sign. We interpret the hypotheses as follows: Null hypothesis: The sample data provides no evidence to support some claim being made by an individual.

  4. 9.1 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: a statement of no difference between sample means or proportions or no difference between a sample mean or proportion and a population mean or proportion. In other words, the difference equals 0.

  5. 9.1: 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 the variables—they are not related. This can often be considered the status quo and as a result if you cannot accept the null it requires some action.

  6. 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 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.

  7. 10.1

    10.1 - Setting the Hypotheses: Examples. A significance test examines whether the null hypothesis provides a plausible explanation of the data. The null hypothesis itself does not involve the data. It is a statement about a parameter (a numerical characteristic of the population). These population values might be proportions or means or ...

  8. Null Hypothesis: Definition, Rejecting & Examples

    Alternative Hypothesis H A: The correlation in the population is not zero: ρ ≠ 0. For all these cases, the analysts define the hypotheses before the study. After collecting the data, they perform a hypothesis test to determine whether they can reject the null hypothesis. The preceding examples are all for two-tailed hypothesis tests.

  9. Null Hypothesis and Alternative Hypothesis

    The Null and Alternative Hypotheses. There are two hypotheses that are made: the null hypothesis, denoted H 0, and the alternative hypothesis, denoted H 1 or H A. The null hypothesis is the one to be tested and the alternative is everything else. In our example: The null hypothesis would be: The mean data scientist salary is 113,000 dollars.

  10. 9.2: 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. H0 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.

  11. Null vs. Alternative Hypothesis [Overview]

    The alternative hypothesis (H a H_a H a or H 1 H_1 H 1 ) is the hypothesis being proposed in opposition to the null hypothesis. Examples of Null and Alternative Hypotheses In a hypothesis test, the null and alternative hypotheses must be mutually exclusive statements, meaning both hypotheses cannot be true at the same time.

  12. What is an Alternative Hypothesis in Statistics?

    Null hypothesis: µ ≥ 70 inches. Alternative hypothesis: µ < 70 inches. A two-tailed hypothesis involves making an "equal to" or "not equal to" statement. For example, suppose we assume the mean height of a male in the U.S. is equal to 70 inches. The null and alternative hypotheses in this case would be: Null hypothesis: µ = 70 inches.

  13. Null & Alternative Hypotheses

    Examples: Null Hypothesis: H 0: There is no difference in the salary of factory workers based on gender. Alternative Hypothesis: H a: Male factory workers have a higher salary than female factory workers. Null Hypothesis: H 0: There is no relationship between height and shoe size. Alternative Hypothesis: H a: There is a positive relationship ...

  14. 10.2: Null and Alternative Hypotheses

    They are called the null hypothesis and the alternative hypothesis. These hypotheses contain opposing viewpoints. The null hypothesis (\ (H_ {0}\)) 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.

  15. 9.1 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 the variables-they are not related. This can often be considered the status quo and as a result if you cannot accept the null it requires some action.

  16. Null hypothesis and alternative hypothesis with 9 differences

    Alternative hypothesis examples. The following are some examples of alternative hypothesis: 1. If a researcher is assuming that the bearing capacity of a bridge is more than 10 tons, then the hypothesis under this study will be: Null hypothesis H 0: µ= 10 tons Alternative hypothesis H a: µ>10 tons. 2.

  17. Null Hypothesis Examples

    An example of the null hypothesis is that light color has no effect on plant growth. The null hypothesis (H 0) is the hypothesis that states there is no statistical difference between two sample sets. In other words, it assumes the independent variable does not have an effect on the dependent variable in a scientific experiment.

  18. Null Hypothesis and Alternative Hypothesis

    Most technical papers rely on just the first formulation, even though you may see some of the others in a statistics textbook. Null hypothesis: " x is equal to y.". Alternative hypothesis " x is not equal to y.". Null hypothesis: " x is at least y.". Alternative hypothesis " x is less than y.". Null hypothesis: " x is at most ...

  19. 10.1: 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 the variables—they are not related. This can often be considered the status quo and as a result if you cannot accept the null it requires some action.

  20. Alternative vs Null Hypothesis: Pros, Cons, Uses & Examples

    Here are some examples of the alternative hypothesis: Example 1. A researcher assumes that a bridge's bearing capacity is over 10 tons, the researcher will then develop an hypothesis to support this study. The hypothesis will be: For the null hypothesis H0: µ= 10 tons. For the alternate hypothesis Ha: µ>10 tons.

  21. 9.1: Null and Alternative Hypotheses

    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_{0}\).The null is not rejected unless the hypothesis test shows otherwise.

  22. Null vs. Alternative Hypothesis

    Compare null vs alternative hypothesis examples and study the differences, as well as significance. Updated: 11/21/2023 Table of Contents. Null vs Alternative Hypothesis; Null Hypothesis ...

  23. 10.2.1: Null and Alternative Hypotheses (Exercises)

    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?