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

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.

H a —, the alternative hypothesis: 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 a decision. 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 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.

Example 9.1

H 0 : No more than 30 percent of the registered voters in Santa Clara County voted in the primary election. p ≤ 30 H a : More than 30 percent 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 percent. 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 the following: 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 fewer than five years to graduate from college, on the average. The null and alternative hypotheses are the following: 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

Example 9.4

An article on school standards stated that about half of all students in France, Germany, and Israel take advanced placement exams and a third of the students pass. The same article stated that 6.6 percent of U.S. students take advanced placement exams and 4.4 percent pass. Test if the percentage of U.S. students who take advanced placement exams is more than 6.6 percent. State the null and alternative hypotheses. H 0 : p ≤ 0.066 H a : p > 0.066

On a state driver’s test, about 40 percent pass the test on the first try. We want to test if more than 40 percent 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

Collaborative Exercise

Bring to class a newspaper, some news magazines, and some internet articles. In groups, find articles from which your group can write null and alternative hypotheses. Discuss your hypotheses with the rest of the class.

As an Amazon Associate we earn from qualifying purchases.

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 Texas Education Agency (TEA). The original material is available at: https://www.texasgateway.org/book/tea-statistics . Changes were made to the original material, including updates to art, structure, and other content updates.

Access for free at https://openstax.org/books/statistics/pages/1-introduction
  • Authors: Barbara Illowsky, Susan Dean
  • Publisher/website: OpenStax
  • Book title: Statistics
  • Publication date: Mar 27, 2020
  • Location: Houston, Texas
  • Book URL: https://openstax.org/books/statistics/pages/1-introduction
  • Section URL: https://openstax.org/books/statistics/pages/9-1-null-and-alternative-hypotheses

© Jan 23, 2024 Texas Education Agency (TEA). 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.

  • 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:

what is 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

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.

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.

what is 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

Examples of Numerical and Categorical Variables

Examples of Numerical and Categorical Variables

Have a language expert improve your writing

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

  • Knowledge Base

Hypothesis Testing | A Step-by-Step Guide with Easy Examples

Published on November 8, 2019 by Rebecca Bevans . Revised on June 22, 2023.

Hypothesis testing is a formal procedure for investigating our ideas about the world using statistics . It is most often used by scientists to test specific predictions, called hypotheses, that arise from theories.

There are 5 main steps in hypothesis testing:

  • State your research hypothesis as a null hypothesis and alternate hypothesis (H o ) and (H a  or H 1 ).
  • Collect data in a way designed to test the hypothesis.
  • Perform an appropriate statistical test .
  • Decide whether to reject or fail to reject your null hypothesis.
  • Present the findings in your results and discussion section.

Though the specific details might vary, the procedure you will use when testing a hypothesis will always follow some version of these steps.

Table of contents

Step 1: state your null and alternate hypothesis, step 2: collect data, step 3: perform a statistical test, step 4: decide whether to reject or fail to reject your null hypothesis, step 5: present your findings, other interesting articles, frequently asked questions about hypothesis testing.

After developing your initial research hypothesis (the prediction that you want to investigate), it is important to restate it as a null (H o ) and alternate (H a ) hypothesis so that you can test it mathematically.

The alternate hypothesis is usually your initial hypothesis that predicts a relationship between variables. The null hypothesis is a prediction of no relationship between the variables you are interested in.

  • H 0 : Men are, on average, not taller than women. H a : Men are, on average, taller than women.

Prevent plagiarism. Run a free check.

For a statistical test to be valid , it is important to perform sampling and collect data in a way that is designed to test your hypothesis. If your data are not representative, then you cannot make statistical inferences about the population you are interested in.

There are a variety of statistical tests available, but they are all based on the comparison of within-group variance (how spread out the data is within a category) versus between-group variance (how different the categories are from one another).

If the between-group variance is large enough that there is little or no overlap between groups, then your statistical test will reflect that by showing a low p -value . This means it is unlikely that the differences between these groups came about by chance.

Alternatively, if there is high within-group variance and low between-group variance, then your statistical test will reflect that with a high p -value. This means it is likely that any difference you measure between groups is due to chance.

Your choice of statistical test will be based on the type of variables and the level of measurement of your collected data .

  • an estimate of the difference in average height between the two groups.
  • a p -value showing how likely you are to see this difference if the null hypothesis of no difference is true.

Based on the outcome of your statistical test, you will have to decide whether to reject or fail to reject your null hypothesis.

In most cases you will use the p -value generated by your statistical test to guide your decision. And in most cases, your predetermined level of significance for rejecting the null hypothesis will be 0.05 – that is, when there is a less than 5% chance that you would see these results if the null hypothesis were true.

In some cases, researchers choose a more conservative level of significance, such as 0.01 (1%). This minimizes the risk of incorrectly rejecting the null hypothesis ( Type I error ).

Here's why students love Scribbr's proofreading services

Discover proofreading & editing

The results of hypothesis testing will be presented in the results and discussion sections of your research paper , dissertation or thesis .

In the results section you should give a brief summary of the data and a summary of the results of your statistical test (for example, the estimated difference between group means and associated p -value). In the discussion , you can discuss whether your initial hypothesis was supported by your results or not.

In the formal language of hypothesis testing, we talk about rejecting or failing to reject the null hypothesis. You will probably be asked to do this in your statistics assignments.

However, when presenting research results in academic papers we rarely talk this way. Instead, we go back to our alternate hypothesis (in this case, the hypothesis that men are on average taller than women) and state whether the result of our test did or did not support the alternate hypothesis.

If your null hypothesis was rejected, this result is interpreted as “supported the alternate hypothesis.”

These are superficial differences; you can see that they mean the same thing.

You might notice that we don’t say that we reject or fail to reject the alternate hypothesis . This is because hypothesis testing is not designed to prove or disprove anything. It is only designed to test whether a pattern we measure could have arisen spuriously, or by chance.

If we reject the null hypothesis based on our research (i.e., we find that it is unlikely that the pattern arose by chance), then we can say our test lends support to our hypothesis . But if the pattern does not pass our decision rule, meaning that it could have arisen by chance, then we say the test is inconsistent with our hypothesis .

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.

A hypothesis states your predictions about what your research will find. It is a tentative answer to your research question that has not yet been tested. For some research projects, you might have to write several hypotheses that address different aspects of your research question.

A hypothesis is not just a guess — it should be based on existing theories and knowledge. It also has to be testable, which means you can support or refute it through scientific research methods (such as experiments, observations and statistical analysis of data).

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.

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.

Bevans, R. (2023, June 22). Hypothesis Testing | A Step-by-Step Guide with Easy Examples. Scribbr. Retrieved July 2, 2024, from https://www.scribbr.com/statistics/hypothesis-testing/

Is this article helpful?

Rebecca Bevans

Rebecca Bevans

Other students also liked, choosing the right statistical test | types & examples, understanding p values | definition and examples, what is your plagiarism score.

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.

Logo for Open Library Publishing Platform

Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.

8.2 Null and Alternative Hypotheses

Learning objectives.

  • Describe hypothesis testing in general and in practice.

A hypothesis test begins by considering two hypotheses .  They are called the null hypothesis and the alternative hypothesis .  These hypotheses contain opposing viewpoints and only one of these hypotheses is true.  The hypothesis test determines which hypothesis is most likely true.

  • The null hypothesis is a claim that a population parameter equals some value.  For example, [latex]H_0: \mu=5[/latex].
  • The alternative hypothesis is a claim that a population parameter is greater than, less than, or not equal to some value.  For example, [latex]H_a: \mu>5[/latex], [latex]H_a: \mu<5[/latex], or [latex]H_a: \mu \neq 5[/latex].  The form of the alternative hypothesis depends on the wording of the hypothesis test.
  • An alternative notation for [latex]H_a[/latex] is [latex]H_1[/latex].

Because the null and alternative hypotheses are contradictory, we must examine evidence to decide if we have enough evidence to reject the null hypothesis or not reject the null hypothesis.  The evidence is in the form of sample data.  After we have determined which hypothesis the sample data supports, we make a decision.  There are two options for a decision . They are “ reject [latex]H_0[/latex] ” if the sample information favors the alternative hypothesis or “ do not reject [latex]H_0[/latex] ” if the sample information is insufficient to reject the null hypothesis.

Watch this video: Simple hypothesis testing | Probability and Statistics | Khan Academy by Khan Academy [6:24]

A candidate in a local election claims that 30% of registered voters voted in a recent election.  Information provided by the returning office suggests that the percentage is higher than the 30% claimed.

The parameter under study is the proportion of registered voters, so we use [latex]p[/latex] in the statements of the hypotheses.  The hypotheses are

[latex]\begin{eqnarray*} \\ H_0: & & p=30\% \\ \\ H_a: & & p \gt 30\% \\ \\ \end{eqnarray*}[/latex]

  • The null hypothesis [latex]H_0[/latex] is the claim that the proportion of registered voters that voted equals 30%.
  • The alternative hypothesis [latex]H_a[/latex] is the claim that the proportion of registered voters that voted is greater than (i.e. higher) than 30%.

A medical researcher believes that a new medicine reduces cholesterol by 25%.  A medical trial suggests that the percent reduction is different than claimed.  State the null and alternative hypotheses.

[latex]\begin{eqnarray*} H_0: & & p=25\% \\ \\ H_a: & & p \neq 25\% \end{eqnarray*}[/latex]

We want to test whether the mean GPA of students in American colleges is different from 2.0 (out of 4.0).  State the null and alternative hypotheses.

[latex]\begin{eqnarray*} H_0: & & \mu=2  \mbox{ points} \\ \\ H_a: & & \mu \neq 2 \mbox{ points}  \end{eqnarray*}[/latex]

We want to test whether or not the mean height of eighth graders is 66 inches.  State the null and alternative hypotheses.

[latex]\begin{eqnarray*}  H_0: & & \mu=66 \mbox{ inches} \\ \\ H_a: & & \mu \neq 66 \mbox{ inches}  \end{eqnarray*}[/latex]

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:

[latex]\begin{eqnarray*} H_0: & & \mu=5 \mbox{ years} \\ \\ H_a: & & \mu \lt 5 \mbox{ years}   \end{eqnarray*}[/latex]

We want to test if it takes fewer than 45 minutes to teach a lesson plan.  State the null and alternative hypotheses.

[latex]\begin{eqnarray*}  H_0: & & \mu=45 \mbox{ minutes} \\ \\ H_a: & & \mu \lt 45 \mbox{ minutes}  \end{eqnarray*}[/latex]

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.

[latex]\begin{eqnarray*}  H_0: & & p=6.6\% \\ \\ H_a: & & p \gt 6.6\%  \end{eqnarray*}[/latex]

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.   State the null and alternative hypotheses.

[latex]\begin{eqnarray*}  H_0: & & p=40\% \\ \\ H_a: & & p \gt 40\%  \end{eqnarray*}[/latex]

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 [latex]H_0[/latex]. The null hypothesis is not rejected unless the hypothesis test shows otherwise.  The null hypothesis always contain an equal sign ([latex]=[/latex]).  Always write the alternative hypothesis , typically denoted with [latex]H_a[/latex] or [latex]H_1[/latex], using less than, greater than, or not equals symbols ([latex]\lt[/latex], [latex]\gt[/latex], [latex]\neq[/latex]).  If we reject the null hypothesis, then we can assume there is enough evidence to support the alternative hypothesis.  But we can never state that a claim is proven true or false.  All we can conclude from the hypothesis test is which of the hypothesis is most likely true.  Because the underlying facts about hypothesis testing is based on probability laws, we can talk only in terms of non-absolute certainties.

Attribution

“ 9.1   Null and Alternative Hypotheses “ in Introductory Statistics by OpenStax  is licensed under a  Creative Commons Attribution 4.0 International License.

Introduction to Statistics Copyright © 2022 by Valerie Watts is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License , except where otherwise noted.

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: May 29, 2024 9:48 AM
  • URL: https://resources.nu.edu/statsresources

NCU Library Home

  • 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:

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.

what is null and alternative hypothesis with example

Acceptance Sampling: Meaning, Examples, When to Use

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

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

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.

Formplus - For Seamless Data Collection

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

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.

This site uses Akismet to reduce spam. Learn how your comment data is processed .

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 .”
  • Null Hypothesis Examples
  • An Example of a Hypothesis Test
  • Phases of the Bacterial Growth Curve
  • Hypothesis Test for the Difference of Two Population Proportions
  • What Is a P-Value?
  • How to Conduct a Hypothesis Test
  • Hypothesis Test Example
  • Maslow's Hierarchy of Needs Explained
  • Chi-Square Goodness of Fit Test
  • What Level of Alpha Determines Statistical Significance?
  • How to Do Hypothesis Tests With the Z.TEST Function in Excel
  • The Difference Between Type I and Type II Errors in Hypothesis Testing
  • Type I and Type II Errors in Statistics
  • The Runs Test for Random Sequences
  • What 'Fail to Reject' Means in a Hypothesis Test
  • What Is the Difference Between Alpha and P-Values?

Null Hypothesis Definition and Examples, How to State

What is the null hypothesis, how to state the null hypothesis, null hypothesis overview.

what is null and alternative hypothesis with example

Why is it Called the “Null”?

The word “null” in this context means that it’s a commonly accepted fact that researchers work to nullify . It doesn’t mean that the statement is null (i.e. amounts to nothing) itself! (Perhaps the term should be called the “nullifiable hypothesis” as that might cause less confusion).

Why Do I need to Test it? Why not just prove an alternate one?

The short answer is, as a scientist, you are required to ; It’s part of the scientific process. Science uses a battery of processes to prove or disprove theories, making sure than any new hypothesis has no flaws. Including both a null and an alternate hypothesis is one safeguard to ensure your research isn’t flawed. Not including the null hypothesis in your research is considered very bad practice by the scientific community. If you set out to prove an alternate hypothesis without considering it, you are likely setting yourself up for failure. At a minimum, your experiment will likely not be taken seriously.

null hypothesis

  • Null hypothesis : H 0 : The world is flat.
  • Alternate hypothesis: The world is round.

Several scientists, including Copernicus , set out to disprove the null hypothesis. This eventually led to the rejection of the null and the acceptance of the alternate. Most people accepted it — the ones that didn’t created the Flat Earth Society !. What would have happened if Copernicus had not disproved the it and merely proved the alternate? No one would have listened to him. In order to change people’s thinking, he first had to prove that their thinking was wrong .

How to State the Null Hypothesis from a Word Problem

You’ll be asked to convert a word problem into a hypothesis statement in statistics that will include a null hypothesis and an alternate hypothesis . Breaking your problem into a few small steps makes these problems much easier to handle.

how to state the null hypothesis

Step 2: Convert the hypothesis to math . Remember that the average is sometimes written as μ.

H 1 : μ > 8.2

Broken down into (somewhat) English, that’s H 1 (The hypothesis): μ (the average) > (is greater than) 8.2

Step 3: State what will happen if the hypothesis doesn’t come true. If the recovery time isn’t greater than 8.2 weeks, there are only two possibilities, that the recovery time is equal to 8.2 weeks or less than 8.2 weeks.

H 0 : μ ≤ 8.2

Broken down again into English, that’s H 0 (The null hypothesis): μ (the average) ≤ (is less than or equal to) 8.2

How to State the Null Hypothesis: Part Two

But what if the researcher doesn’t have any idea what will happen.

Example Problem: A researcher is studying the effects of radical exercise program on knee surgery patients. There is a good chance the therapy will improve recovery time, but there’s also the possibility it will make it worse. Average recovery times for knee surgery patients is 8.2 weeks. 

Step 1: State what will happen if the experiment doesn’t make any difference. That’s the null hypothesis–that nothing will happen. In this experiment, if nothing happens, then the recovery time will stay at 8.2 weeks.

H 0 : μ = 8.2

Broken down into English, that’s H 0 (The null hypothesis): μ (the average) = (is equal to) 8.2

Step 2: Figure out the alternate hypothesis . The alternate hypothesis is the opposite of the null hypothesis. In other words, what happens if our experiment makes a difference?

H 1 : μ ≠ 8.2

In English again, that’s H 1 (The  alternate hypothesis): μ (the average) ≠ (is not equal to) 8.2

That’s How to State the Null Hypothesis!

Check out our Youtube channel for more stats tips!

Gonick, L. (1993). The Cartoon Guide to Statistics . HarperPerennial. Kotz, S.; et al., eds. (2006), Encyclopedia of Statistical Sciences , Wiley.

Statology

What is an Alternative Hypothesis in Statistics?

Often in statistics we want to test whether or not some assumption is true about a population parameter .

For example, we might assume that the mean weight of a certain population of turtle is 300 pounds.

To determine if this assumption is true, we’ll go out and collect a sample of turtles and weigh each of them. Using this sample data, we’ll conduct a hypothesis test .

The first step in a hypothesis test is to define the  null and  alternative hypotheses .

These two hypotheses need to be mutually exclusive, so if one is true then the other must be false.

These two hypotheses are defined as follows:

Null hypothesis (H 0 ): The sample data is consistent with the prevailing belief about the population parameter.

Alternative hypothesis (H A ): The sample data suggests that the assumption made in the null hypothesis is not true. In other words, there is some non-random cause influencing the data.

Types of Alternative Hypotheses

There are two types of alternative hypotheses:

A  one-tailed hypothesis involves making a “greater than” or “less than ” statement. For example, suppose we assume the mean height of a male in the U.S. is greater than or equal to 70 inches.

The null and alternative hypotheses in this case would be:

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

  • Null hypothesis: µ = 70 inches
  • Alternative hypothesis: µ ≠ 70 inches

Note: The “equal” sign is always included in the null hypothesis, whether it is =, ≥, or ≤.

Examples of Alternative Hypotheses

The following examples illustrate how to define the null and alternative hypotheses for different research problems.

Example 1: A biologist wants to test if the mean weight of a certain population of turtle is different from the widely-accepted mean weight of 300 pounds.

The null and alternative hypothesis for this research study would be:

  • Null hypothesis: µ = 300 pounds
  • Alternative hypothesis: µ ≠ 300 pounds

If we reject the null hypothesis, this means we have sufficient evidence from the sample data to say that the true mean weight of this population of turtles is different from 300 pounds.

Example 2: An engineer wants to test whether a new battery can produce higher mean watts than the current industry standard of 50 watts.

  • Null hypothesis: µ ≤ 50 watts
  • Alternative hypothesis: µ > 50 watts

If we reject the null hypothesis, this means we have sufficient evidence from the sample data to say that the true mean watts produced by the new battery is greater than the current industry standard of 50 watts.

Example 3: A botanist wants to know if a new gardening method produces less waste than the standard gardening method that produces 20 pounds of waste.

  • Null hypothesis: µ ≥ 20 pounds
  • Alternative hypothesis: µ < 20 pounds

If we reject the null hypothesis, this means we have sufficient evidence from the sample data to say that the true mean weight produced by this new gardening method is less than 20 pounds.

When to Reject the Null Hypothesis

Whenever we conduct a hypothesis test, we use sample data to calculate a test-statistic and a corresponding p-value.

If the p-value is less than some significance level (common choices are 0.10, 0.05, and 0.01), then we reject the null hypothesis.

This means we have sufficient evidence from the sample data to say that the assumption made by the null hypothesis is not true.

If the p-value is  not less than some significance level, then we fail to reject the null hypothesis.

This means our sample data did not provide us with evidence that the assumption made by the null hypothesis was not true.

Additional Resource:   An Explanation of P-Values and Statistical Significance

Featured Posts

what is null and alternative hypothesis with example

Hey there. My name is Zach Bobbitt. I have a Masters of Science degree in Applied Statistics and I’ve worked on machine learning algorithms for professional businesses in both healthcare and retail. I’m passionate about statistics, machine learning, and data visualization and I created Statology to be a resource for both students and teachers alike.  My goal with this site is to help you learn statistics through using simple terms, plenty of real-world examples, and helpful illustrations.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the Statology Community

Sign up to receive Statology's exclusive study resource: 100 practice problems with step-by-step solutions. Plus, get our latest insights, tutorials, and data analysis tips straight to your inbox!

By subscribing you accept Statology's Privacy Policy.

  • Key Differences

Know the Differences & Comparisons

Difference Between Null and Alternative Hypothesis

null vs alternative hypothesis

Null hypothesis implies a statement that expects no difference or effect. On the contrary, an alternative hypothesis is one that expects some difference or effect. Null hypothesis This article excerpt shed light on the fundamental differences between null and alternative hypothesis.

Content: Null Hypothesis Vs Alternative Hypothesis

Comparison chart.

Basis for ComparisonNull HypothesisAlternative Hypothesis
MeaningA null hypothesis is a statement, in which there is no relationship between two variables.An alternative hypothesis is statement in which there is some statistical significance between two measured phenomenon.
RepresentsNo observed effectSome observed effect
What is it?It is what the researcher tries to disprove.It is what the researcher tries to prove.
AcceptanceNo changes in opinions or actionsChanges in opinions or actions
TestingIndirect and implicitDirect and explicit
ObservationsResult of chanceResult of real effect
Denoted byH-zeroH-one
Mathematical formulationEqual signUnequal sign

Definition of Null Hypothesis

A null hypothesis is a statistical hypothesis in which there is no significant difference exist between the set of variables. It is the original or default statement, with no effect, often represented by H 0 (H-zero). It is always the hypothesis that is tested. It denotes the certain value of population parameter such as µ, s, p. A null hypothesis can be rejected, but it cannot be accepted just on the basis of a single test.

Definition of Alternative Hypothesis

A statistical hypothesis used in hypothesis testing, which states that there is a significant difference between the set of variables. It is often referred to as the hypothesis other than the null hypothesis, often denoted by H 1 (H-one). It is what the researcher seeks to prove in an indirect way, by using the test. It refers to a certain value of sample statistic, e.g., x¯, s, p

The acceptance of alternative hypothesis depends on the rejection of the null hypothesis i.e. until and unless null hypothesis is rejected, an alternative hypothesis cannot be accepted.

Key Differences Between Null and Alternative Hypothesis

The important points of differences between null and alternative hypothesis are explained as under:

  • A null hypothesis is a statement, in which there is no relationship between two variables. An alternative hypothesis is a statement; that is simply the inverse of the null hypothesis, i.e. there is some statistical significance between two measured phenomenon.
  • A null hypothesis is what, the researcher tries to disprove whereas an alternative hypothesis is what the researcher wants to prove.
  • A null hypothesis represents, no observed effect whereas an alternative hypothesis reflects, some observed effect.
  • If the null hypothesis is accepted, no changes will be made in the opinions or actions. Conversely, if the alternative hypothesis is accepted, it will result in the changes in the opinions or actions.
  • As null hypothesis refers to population parameter, the testing is indirect and implicit. On the other hand, the alternative hypothesis indicates sample statistic, wherein, the testing is direct and explicit.
  • A null hypothesis is labelled as H 0 (H-zero) while an alternative hypothesis is represented by H 1 (H-one).
  • The mathematical formulation of a null hypothesis is an equal sign but for an alternative hypothesis is not equal to sign.
  • In null hypothesis, the observations are the outcome of chance whereas, in the case of the alternative hypothesis, the observations are an outcome of real effect.

There are two outcomes of a statistical test, i.e. first, a null hypothesis is rejected and alternative hypothesis is accepted, second, null hypothesis is accepted, on the basis of the evidence. In simple terms, a null hypothesis is just opposite of alternative hypothesis.

You Might Also Like:

hypothesis vs theory

Zipporah Thuo says

February 22, 2018 at 6:06 pm

The comparisons between the two hypothesis i.e Null hypothesis and the Alternative hypothesis are the best.Thank you.

Getu Gamo says

March 4, 2019 at 3:42 am

Thank you so much for the detail explanation on two hypotheses. Now I understood both very well, including their differences.

Jyoti Bhardwaj says

May 28, 2019 at 6:26 am

Thanks, Surbhi! Appreciate the clarity and precision of this content.

January 9, 2020 at 6:16 am

John Jenstad says

July 20, 2020 at 2:52 am

Thanks very much, Surbhi, for your clear explanation!!

Navita says

July 2, 2021 at 11:48 am

Thanks for the Comparison chart! it clears much of my doubt.

GURU UPPALA says

July 21, 2022 at 8:36 pm

Thanks for the Comparison chart!

Enock kipkoech says

September 22, 2022 at 1:57 pm

What are the examples of null hypothesis and substantive hypothesis

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

What are the conclusions of a hypothesis test and can you provide examples?

Table of Contents

A hypothesis test is a statistical method used to determine whether there is enough evidence to support or reject a hypothesis about a population. The conclusions of a hypothesis test are based on the analysis of sample data and can be either acceptance or rejection of the null hypothesis (the initial assumption) in favor of the alternative hypothesis. For example, if a researcher wants to test the hypothesis that students who study for longer hours score higher on exams, they would collect data from a sample of students and perform a hypothesis test. The conclusion of this test could be that there is enough evidence to support the hypothesis, or that there is not enough evidence to reject the null hypothesis. In this case, the researcher would conclude that there is a significant relationship between studying hours and exam scores, or that there is no significant difference between the two. The conclusions of a hypothesis test are crucial in determining the validity of a hypothesis and can help guide future research and decision-making .

Write Hypothesis Test Conclusions (With Examples)

A   is used to test whether or not some hypothesis about a is true.

To perform a hypothesis test in the real world, researchers obtain a from the population and perform a hypothesis test on the sample data, using a null and alternative hypothesis:

  • Null Hypothesis (H 0 ): The sample data occurs purely from chance.
  • Alternative Hypothesis (H A ): The sample data is influenced by some non-random cause.

If the of the hypothesis test is less than some significance level (e.g. α = .05), then we reject the null hypothesis .

Otherwise, if the p-value is not less than some significance level then we fail to reject the null hypothesis .

When writing the conclusion of a hypothesis test, we typically include:

  • Whether we reject or fail to reject the null hypothesis.
  • The significance level.
  • A short explanation in the context of the hypothesis test.

For example, we would write:

We reject the null hypothesis at the 5% significance level.   There is sufficient evidence to support the claim that…

Or, we would write:

We fail to reject the null hypothesis at the 5% significance level.   There is not sufficient evidence to support the claim that…

The following examples show how to write a hypothesis test conclusion in both scenarios.

Example 1: Reject the Null Hypothesis Conclusion

Suppose a biologist believes that a certain fertilizer will cause plants to grow more during a one-month period than they normally do, which is currently 20 inches. To test this, she applies the fertilizer to each of the plants in her laboratory for one month.

She then performs a hypothesis test at a 5% significance level using the following hypotheses:

  • H 0 : μ = 20 inches (the fertilizer will have no effect on the mean plant growth)
  • H A : μ > 20 inches (the fertilizer will cause mean plant growth to increase)

Suppose the p-value of the test turns out to be 0.002.

We reject the null hypothesis at the 5% significance level.   There is sufficient evidence to support the claim that this particular fertilizer causes plants to grow more during a one-month period than they normally do.

Example 2: Fail to Reject the Null Hypothesis Conclusion

Suppose the manager of a manufacturing plant wants to test whether or not some new method changes the number of defective widgets produced per month, which is currently 250. To test this, he measures the mean number of defective widgets produced before and after using the new method for one month.

He performs a hypothesis test at a 10% significance level using the following hypotheses:

  • H 0 : μ after = μ before (the mean number of defective widgets is the same before and after using the new method)
  • H A : μ after ≠ μ before (the mean number of defective widgets produced is different before and after using the new method)

Suppose the p-value of the test turns out to be 0.27.

Here is how he would report the results of the hypothesis test:

We fail to reject the null hypothesis at the 10% significance level.   There is not sufficient evidence to support the claim that the new method leads to a change in the number of defective widgets produced per month.

Additional Resources

The following tutorials provide additional information about hypothesis testing:

Related terms:

  • How to Write Hypothesis Test Conclusions (With Examples)
  • How can we use statistics to make conclusions?
  • Jumping To Conclusions
  • What is the null hypothesis for linear regression and how does it relate to the alternative hypothesis?
  • How can I use the Z.TEST function in Excel to perform a statistical hypothesis test?
  • What is the process of using statistical methods to test a hypothesis?
  • What is the process of using statistics to test a hypothesis about the mean of a population?
  • How can statistics be used to conduct a hypothesis test for a proportion using a left-tailed approach?
  • How is hypothesis testing used to determine whether a proportion differs significantly from a given value, and what is the process for conducting a two-tailed test?
  • What is the process for conducting a two-tailed hypothesis test of a mean in statistics?

IMAGES

  1. Null Hypothesis and Alternative Hypothesis

    what is null and alternative hypothesis with example

  2. Difference between Null and Alternative Hypothesis

    what is null and alternative hypothesis with example

  3. Research Hypothesis Generator

    what is null and alternative hypothesis with example

  4. Null Hypothesis and Alternative Hypothesis

    what is null and alternative hypothesis with example

  5. Null vs. Alternative Hypothesis [Overview]

    what is null and alternative hypothesis with example

  6. Difference between Null and Alternative Hypothesis

    what is null and alternative hypothesis with example

VIDEO

  1. Hypothesis Testing: the null and alternative hypotheses

  2. Testing of Hypothesis,Null, alternative hypothesis, type-I & -II Error etc @VATAMBEDUSRAVANKUMAR

  3. Null & Alternative Hypothesis |Statistical Hypothesis #hypothesis #samplingdistribution #statistics

  4. NULL HYPOTHESIS AND ALTERNATIVE HYPOTHESIS IN HINDI| BUSINESS STATISTICS|

  5. Null Hypothesis vs Alternate Hypothesis

  6. Hypothesis

COMMENTS

  1. Null & Alternative Hypotheses

    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.

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

  4. Examples of null and alternative hypotheses

    It is the opposite of your research hypothesis. The alternative hypothesis--that is, the research hypothesis--is the idea, phenomenon, observation that you want to prove. If you suspect that girls take longer to get ready for school than boys, then: Alternative: girls time > boys time. Null: girls time <= boys time.

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

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

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

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

    Present the findings in your results and discussion section. Though the specific details might vary, the procedure you will use when testing a hypothesis will always follow some version of these steps. Table of contents. Step 1: State your null and alternate hypothesis. Step 2: Collect data. Step 3: Perform a statistical test.

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

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

  13. 8.2 Null and Alternative Hypotheses

    The null hypothesis is a claim that a population parameter equals some value. For example, H 0: μ = 5 H 0: μ = 5. The alternative hypothesis is denoted H a H a. It is a claim about the population that is contradictory to the null hypothesis and is what we conclude is true when we reject H 0 H 0. The alternative hypothesis is a claim that a ...

  14. How to Formulate a Null Hypothesis (With Examples)

    To distinguish it from other hypotheses, the null hypothesis is written as H 0 (which is read as "H-nought," "H-null," or "H-zero"). A significance test is used to determine the likelihood that the results supporting the null hypothesis are not due to chance. A confidence level of 95% or 99% is common. Keep in mind, even if the confidence level is high, there is still a small chance the ...

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

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

  17. Null hypothesis and alternative hypothesis with 9 differences

    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. Symbol. It is denoted by H 0.

  18. Null Hypothesis and Alternative Hypothesis

    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 .". Here are the differences between the null and alternative hypotheses and how to distinguish between them.

  19. Null Hypothesis Definition and Examples, How to State

    Step 1: Figure out the hypothesis from the problem. The hypothesis is usually hidden in a word problem, and is sometimes a statement of what you expect to happen in the experiment. The hypothesis in the above question is "I expect the average recovery period to be greater than 8.2 weeks.". Step 2: Convert the hypothesis to math.

  20. 10.2: Null and Alternative Hypotheses

    The alternative hypothesis ( Ha H a) is a claim about the population that is contradictory to H0 H 0 and what we conclude when we reject H0 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 ...

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

  22. Difference Between Null and Alternative Hypothesis

    A null hypothesis is what, the researcher tries to disprove whereas an alternative hypothesis is what the researcher wants to prove. A null hypothesis represents, no observed effect whereas an alternative hypothesis reflects, some observed effect. If the null hypothesis is accepted, no changes will be made in the opinions or actions.

  23. Alternative hypothesis

    In statistical hypothesis testing, the null hypothesis and alternative hypothesis are two mutually exclusive statements. "The statement being tested in a test of statistical significance is called the null hypothesis. The test of significance is designed to assess the strength of the evidence against the null hypothesis. ... One example is ...

  24. What Are The Conclusions Of A Hypothesis Test And Can You Provide Examples?

    To perform a hypothesis test in the real world, researchers obtain a from the population and perform a hypothesis test on the sample data, using a null and alternative hypothesis: Null Hypothesis (H 0): The sample data occurs purely from chance. Alternative Hypothesis (H A): The sample data is influenced by some non-random cause.