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 :

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.

Library homepage

  • school Campus Bookshelves
  • menu_book Bookshelves
  • perm_media Learning Objects
  • login Login
  • how_to_reg Request Instructor Account
  • hub Instructor Commons
  • Download Page (PDF)
  • Download Full Book (PDF)
  • Periodic Table
  • Physics Constants
  • Scientific Calculator
  • Reference & Cite
  • Tools expand_more
  • Readability

selected template will load here

This action is not available.

Statistics LibreTexts

9.1: Null and Alternative Hypotheses

  • Last updated
  • Save as PDF
  • Page ID 23459

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

\(H_0\): The null hypothesis: It is a statement of no difference between the variables—they are not related. This can often be considered the status quo and as a result if you cannot accept the null it requires some action.

\(H_a\): The alternative hypothesis: It is a claim about the population that is contradictory to \(H_0\) and what we conclude when we reject \(H_0\). This is usually what the researcher is trying to prove.

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.

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

Example \(\PageIndex{1}\)

  • \(H_{0}\): No more than 30% of the registered voters in Santa Clara County voted in the primary election. \(p \leq 30\)
  • \(H_{a}\): More than 30% of the registered voters in Santa Clara County voted in the primary election. \(p > 30\)

Exercise \(\PageIndex{1}\)

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 \neq 0.25\)

Example \(\PageIndex{2}\)

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

  • \(H_{0}: \mu = 2.0\)
  • \(H_{a}: \mu \neq 2.0\)

Exercise \(\PageIndex{2}\)

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

  • \(H_{0}: \mu \_ 66\)
  • \(H_{a}: \mu \_ 66\)
  • \(H_{0}: \mu = 66\)
  • \(H_{a}: \mu \neq 66\)

Example \(\PageIndex{3}\)

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

  • \(H_{0}: \mu \geq 5\)
  • \(H_{a}: \mu < 5\)

Exercise \(\PageIndex{3}\)

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}: \mu \_ 45\)
  • \(H_{a}: \mu \_ 45\)
  • \(H_{0}: \mu \geq 45\)
  • \(H_{a}: \mu < 45\)

Example \(\PageIndex{4}\)

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 \leq 0.066\)
  • \(H_{a}: p > 0.066\)

Exercise \(\PageIndex{4}\)

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 (\(=, \neq, \geq, <, \leq, >\)) 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\)

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.

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 \((=, \leq \text{or} \geq)\)
  • Always write the alternative hypothesis , typically denoted with \(H_{a}\) or \(H_{1}\), using less than, greater than, or not equals symbols, i.e., \((\neq, >, \text{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.

  • If \(\alpha \leq p\)-value, then do not reject \(H_{0}\).
  • If\(\alpha > p\)-value, then reject \(H_{0}\).

\(\alpha\) is preconceived. Its value is set before the hypothesis test starts. The \(p\)-value is calculated from the data.References

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

Library homepage

  • school Campus Bookshelves
  • menu_book Bookshelves
  • perm_media Learning Objects
  • login Login
  • how_to_reg Request Instructor Account
  • hub Instructor Commons
  • Download Page (PDF)
  • Download Full Book (PDF)
  • Periodic Table
  • Physics Constants
  • Scientific Calculator
  • Reference & Cite
  • Tools expand_more
  • Readability

selected template will load here

This action is not available.

Mathematics LibreTexts

10.2: Null and Alternative Hypotheses

  • Last updated
  • Save as PDF
  • Page ID 100392

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

  • The null hypothesis (\(H_{0}\)) is a statement about the population that either is believed to be true or is used to put forth an argument unless it can be shown to be incorrect beyond a reasonable doubt.
  • The alternative hypothesis (\(H_{a}\)) 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 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.

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

Example \(\PageIndex{1}\)

  • \(H_{0}\): No more than 30% of the registered voters in Santa Clara County voted in the primary election. \(p \leq 30\)
  • \(H_{a}\): More than 30% of the registered voters in Santa Clara County voted in the primary election. \(p > 30\)

Exercise \(\PageIndex{1}\)

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 \neq 0.25\)

Example \(\PageIndex{2}\)

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

  • \(H_{0}: \mu = 2.0\)
  • \(H_{a}: \mu \neq 2.0\)

Exercise \(\PageIndex{2}\)

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

  • \(H_{0}: \mu \  \_ \  66\)
  • \(H_{a}: \mu \  \_ \  66\)
  • \(H_{0}: \mu = 66\)
  • \(H_{a}: \mu \neq 66\)

Example \(\PageIndex{3}\)

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

  • \(H_{0}: \mu \geq 5\)
  • \(H_{a}: \mu < 5\)

Exercise \(\PageIndex{3}\)

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}: \mu \  \_ \  45\)
  • \(H_{a}: \mu \  \_ \  45\)
  • \(H_{0}: \mu \geq 45\)
  • \(H_{a}: \mu < 45\)

Example \(\PageIndex{4}\)

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 \leq 0.066\)
  • \(H_{a}: p > 0.066\)

Exercise \(\PageIndex{4}\)

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 (\(=, \neq, \geq, <, \leq, >\)) 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\)

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.

Chapter Review

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

  • Evaluate the null hypothesis , typically denoted with \(H_{0}\). The null is not rejected unless the hypothesis test shows otherwise. The null statement must always contain some form of equality \((=, \leq \text{or} \geq)\)
  • Always write the alternative hypothesis , typically denoted with \(H_{a}\) or \(H_{1}\), using less than, greater than, or not equals symbols, i.e., \((\neq, >, \text{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.

  • If \(\alpha \leq p\)-value, then do not reject \(H_{0}\).
  • If\(\alpha > p\)-value, then reject \(H_{0}\).

\(\alpha\) is preconceived. Its value is set before the hypothesis test starts. The \(p\)-value is calculated from the data.References

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

Contributors

Barbara Illowsky and Susan Dean (De Anza College) with many other contributing authors. Content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at http://cnx.org/contents/[email protected] .

If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

To log in and use all the features of Khan Academy, please enable JavaScript in your browser.

AP®︎/College Statistics

Course: ap®︎/college statistics   >   unit 10.

  • Idea behind hypothesis testing
  • Examples of null and alternative hypotheses

Writing null and alternative hypotheses

  • P-values and significance tests
  • Comparing P-values to different significance levels
  • Estimating a P-value from a simulation
  • Estimating P-values from simulations
  • Using P-values to make conclusions
  • (Choice A)   H 0 : p = 0.1 H a : p ≠ 0.1 ‍   A H 0 : p = 0.1 H a : p ≠ 0.1 ‍  
  • (Choice B)   H 0 : p ≠ 0.1 H a : p = 0.1 ‍   B H 0 : p ≠ 0.1 H a : p = 0.1 ‍  
  • (Choice C)   H 0 : p = 0.1 H a : p > 0.1 ‍   C H 0 : p = 0.1 H a : p > 0.1 ‍  
  • (Choice D)   H 0 : p = 0.1 H a : p < 0.1 ‍   D H 0 : p = 0.1 H a : p < 0.1 ‍  

null hypothesis math ai

Null Hypothesis

null hypothesis math ai

Understanding the Null Hypothesis

The null hypothesis is a fundamental concept in statistics that serves as a starting point for statistical testing. Often denoted as H0, the null hypothesis is a general statement or default position that there is no relationship between two measured phenomena or no association among groups. In other words, it assumes that any kind of difference or significance you see in a set of data is due to chance.

Role of the Null Hypothesis in Statistical Tests

Statistical hypothesis testing is a method of making decisions using data, whether from a controlled experiment or an observational study (not based on chance). The null hypothesis is what you attempt to disprove or nullify with evidence to the contrary. It is contrasted with the alternative hypothesis, denoted as H1 or Ha, which expresses that there is a statistically significant relationship between two variables.

The process of hypothesis testing involves choosing a null hypothesis which is tested against the alternative hypothesis. If there is enough evidence to suggest that the null hypothesis is not plausible, it is rejected in favor of the alternative hypothesis. This does not mean the null hypothesis is false; rather, it suggests that there is enough evidence to support the alternative hypothesis.

Examples of Null Hypotheses

Here are a few examples of null hypotheses:

  • In a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug. We would write H0: there is no difference in effectiveness between the new and current drugs.
  • In a plant growth experiment, the null hypothesis might be that the type of fertilizer does not affect the growth rate of plants. We would write H0: the mean growth rate for plants with fertilizer type A is equal to the mean growth rate for plants with fertilizer type B.
  • In a study on education techniques, the null hypothesis might be that a new teaching strategy has no effect on student performance. We would write H0: the average test score for students taught with the new strategy is the same as the average score for students taught with traditional methods.

Importance of the Null Hypothesis in Research

The null hypothesis is important in research because it can be tested and found to be false, which then implies that there is a relationship between the observed data. Rejecting or failing to reject the null hypothesis does not prove the null or alternative hypotheses. Instead, statistical tests can provide evidence that supports a hypothesis or determines the probability that the observed data occurred by chance.

Decision Making in Hypothesis Testing

When conducting a hypothesis test, a significance level (alpha) must be determined. The significance level is the probability of rejecting the null hypothesis when it is actually true, commonly set at 0.05 (5%). If the p-value of the test is less than the chosen significance level, then the null hypothesis is rejected.

Keep in mind that rejecting the null hypothesis is not a proof of the truth of the alternative hypothesis; it only suggests that there is enough statistical evidence to prefer the alternative hypothesis over the null hypothesis.

Types of Errors in Hypothesis Testing

There are two types of errors that can occur in hypothesis testing:

  • Type I error : This occurs when the null hypothesis is true, but is incorrectly rejected. It is equivalent to a false positive.
  • Type II error : This occurs when the null hypothesis is false, but erroneously fails to be rejected. It is equivalent to a false negative.

Researchers aim to minimize these errors, but they can never be completely eliminated. The design of the study and the choice of significance level can help control the rate of Type I errors.

The null hypothesis is a crucial part of any statistical analysis, representing the theory that there is no effect or no difference, and serves as the assertion to be challenged and potentially rejected in favor of an alternative hypothesis. Understanding the null hypothesis and its role in research is essential for interpreting the results of statistical tests and making informed decisions based on data.

The world's most comprehensive data science & artificial intelligence glossary

Please sign up or login with your details

Generation Overview

AI Generator calls

AI Video Generator calls

AI Chat messages

Genius Mode messages

Genius Mode images

AD-free experience

Private images

  • Includes 500 AI Image generations, 1750 AI Chat Messages, 30 AI Video generations, 60 Genius Mode Messages and 60 Genius Mode Images per month. If you go over any of these limits, you will be charged an extra $5 for that group.
  • For example: if you go over 500 AI images, but stay within the limits for AI Chat and Genius Mode, you'll be charged $5 per additional 500 AI Image generations.
  • Includes 100 AI Image generations and 300 AI Chat Messages. If you go over any of these limits, you will have to pay as you go.
  • For example: if you go over 100 AI images, but stay within the limits for AI Chat, you'll have to reload on credits to generate more images. Choose from $5 - $1000. You'll only pay for what you use.

Out of credits

Refill your membership to continue using DeepAI

Share your generations with friends

Null hypothesis

The null hypothesis (H 0 ) is the basis of statistical hypothesis testing. It is the default hypothesis (assumed to be true) that states that there is no statistically significant difference between some population parameter (such as the mean), and a hypothesized value. It is typically based on previous analysis or knowledge.

The null hypothesis is used for various purposes, such as to verify statistical assumptions, to verify that multiple experiments are producing consistent results, to directly advance theories, and more.

Most commonly, the null hypothesis is used to state the equality between two or more variables, such as a drug and a placebo. This equality is then tested in a statistical hypothesis test. Generally, the null hypothesis is the hypothesis that the researcher is attempting to disprove, though this is not necessarily always the goal. It is contrasted with the alternative hypothesis (H a ), which is a statement that there is some difference (value is greater than, less than, or not the same), and seeks to provide evidence that any observed differences are statistically significant, rather than due to random variation.

For example, the null hypothesis may state that the GPA of students at a given high school is not better than the state average. The corresponding alternative hypothesis may state that the GPA of students at a given high school is better than the state average, and a hypothesis test would then be conducted to determine whether there is sufficient evidence to reject the null hypothesis in favor of the alternative hypothesis.

Mathematically, the null hypothesis is denoted as H 0 , and is stated as

H 0 : μ = μ 0

where μ 0 is the assumed or hypothesized population mean, and μ is the mean of the population from which samples are drawn. Since the null hypothesis is a statement that there is no difference between these population parameters,

μ - μ 0 = 0

The alternative hypothesis generally takes one of three forms:

H 0 can also be stated as an inequality:

H 0 : μ > μ 0

The corresponding alternative hypothesis is stated as:

H a : μ ≤ μ 0

Statistical hypothesis testing

A statistical hypothesis test adheres to the following general procedure:

  • State the null and alternative hypotheses.
  • Select a significance level, α (the probability of rejecting the null hypothesis when the null hypothesis is true), and the appropriate test statistic.
  • chi-squared test
  • Reject the null hypothesis in favor of the alternative hypothesis if the observed value lies within the critical region. Otherwise, do not reject the null hypothesis.

Alternatively, instead of using critical regions, it is possible to calculate the p-value and compare it to the chosen significance level:

  • If the p-value is less than or equal to the significance level, reject the null hypothesis in favor of the alternative hypothesis.
  • If the p-value is greater than the significance level, do not reject the null hypothesis.

Note that the aim of this type of hypothesis test is to determine whether there is evidence to reject the null hypothesis in favor of the alternative hypothesis at a given significance level. This is not the same as proving or accepting an alternative hypothesis, since there may be evidence for the alternative hypothesis at one significance level, but not another. Also, if there is insufficient evidence for the alternative hypothesis, we fail to reject the null hypothesis, rather than accepting it; it is not possible to accept the null hypothesis.

The national average SAT score, calculated for all juniors, was 1150 with a standard deviation of 75. A sample of 35 juniors from a given high school had an average score of 1250. Assuming a significance level of 0.05, use a Z-test to determine whether the difference between the average score of the class of 35 and the national average is statistically significant.

1. State the null and alternative hypotheses:

H 0 : μ = 1150

H a : μ ≠ 1150

2. The selected significance level is 0.05, and test scores follow a normal distribution, so it is appropriate to calculate the Z-score of the test statistic and conduct a Z-test.

3. Since we want to determine if any difference exists, a two-tailed test is appropriate, which means that the 0.05 critical region is broken up into two critical regions comprising an area of 0.025 each; the critical regions for a two-tailed Z-test given a 0.05 significance level are:

4. Calculate the Z-score of the observed value:

5. Since the Z-score of the observed value does not lie within the critical region (as shown in the figure below), we fail to reject the null hypothesis.

null hypothesis math ai

Failing to reject the null hypothesis suggests that there is not a statistically significant difference between the average scores of the class of 35 and the national average at a significance level of 0.05.

A significance level α of 0.05 means that there is a 5% chance of rejecting the null hypothesis when the null hypothesis is true. When this occurs, the error is referred to as a type I error, or a false positive. In cases where the opposite occurs, and we fail to reject the null hypothesis when it is false, it is referred to as a type II error, as summarized in the table below:

Statology

Statistics Made Easy

How to Write a Null Hypothesis (5 Examples)

A hypothesis test uses sample data to determine whether or not some claim about a population parameter is true.

Whenever we perform a hypothesis test, we always write a null hypothesis and an alternative hypothesis, which take the following forms:

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.

Alternative hypothesis: The sample data  does provide sufficient evidence to support the claim being made by an individual.

For example, suppose it’s assumed that the average height of a certain species of plant is 20 inches tall. However, one botanist claims the true average height is greater than 20 inches.

To test this claim, she may go out and collect a random sample of plants. She can then use this sample data to perform a hypothesis test using the following two hypotheses:

H 0 : μ ≤ 20 (the true mean height of plants is equal to or even less than 20 inches)

H A : μ > 20 (the true mean height of plants is greater than 20 inches)

If the sample data gathered by the botanist shows that the mean height of this species of plants is significantly greater than 20 inches, she can reject the null hypothesis and conclude that the mean height is greater than 20 inches.

Read through the following examples to gain a better understanding of how to write a null hypothesis in different situations.

Example 1: Weight of Turtles

A biologist wants to test whether or not the true mean weight of a certain species of turtles is 300 pounds. To test this, he goes out and measures the weight of a random sample of 40 turtles.

Here is how to write the null and alternative hypotheses for this scenario:

H 0 : μ = 300 (the true mean weight is equal to 300 pounds)

H A : μ ≠ 300 (the true mean weight is not equal to 300 pounds)

Example 2: Height of Males

It’s assumed that the mean height of males in a certain city is 68 inches. However, an independent researcher believes the true mean height is greater than 68 inches. To test this, he goes out and collects the height of 50 males in the city.

H 0 : μ ≤ 68 (the true mean height is equal to or even less than 68 inches)

H A : μ > 68 (the true mean height is greater than 68 inches)

Example 3: Graduation Rates

A university states that 80% of all students graduate on time. However, an independent researcher believes that less than 80% of all students graduate on time. To test this, she collects data on the proportion of students who graduated on time last year at the university.

H 0 : p ≥ 0.80 (the true proportion of students who graduate on time is 80% or higher)

H A : μ < 0.80 (the true proportion of students who graduate on time is less than 80%)

Example 4: Burger Weights

A food researcher wants to test whether or not the true mean weight of a burger at a certain restaurant is 7 ounces. To test this, he goes out and measures the weight of a random sample of 20 burgers from this restaurant.

H 0 : μ = 7 (the true mean weight is equal to 7 ounces)

H A : μ ≠ 7 (the true mean weight is not equal to 7 ounces)

Example 5: Citizen Support

A politician claims that less than 30% of citizens in a certain town support a certain law. To test this, he goes out and surveys 200 citizens on whether or not they support the law.

H 0 : p ≥ .30 (the true proportion of citizens who support the law is greater than or equal to 30%)

H A : μ < 0.30 (the true proportion of citizens who support the law is less than 30%)

Additional Resources

Introduction to Hypothesis Testing Introduction to Confidence Intervals An Explanation of P-Values and Statistical Significance

Featured Posts

5 Statistical Biases to Avoid

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.

2 Replies to “How to Write a Null Hypothesis (5 Examples)”

you are amazing, thank you so much

Say I am a botanist hypothesizing the average height of daisies is 20 inches, or not? Does T = (ave – 20 inches) / √ variance / (80 / 4)? … This assumes 40 real measures + 40 fake = 80 n, but that seems questionable. Please advise.

Leave a Reply Cancel reply

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

Banner

IB Math SL Internal Assessment: Statistical Analysis

  • Statistical Analysis

Chi Squared

Chi Squared Test for Independence  compares two catagorical variables to test for independence. 

  • Define the null and alternate hypothesis
  • Calculate the expected values
  • Calculate the Chi Squared calculated value
  • Calculate the degrees of freedom and use this to find the Chi Squared critical value from a critical value table
  • Compare the Chi Squared calculated value to the critical value to find if you accept or deny your null hypothesis
  • Notes on Chi Squared
  • Spirit Day Data

Correlation and Linear Regression

Correlation  is the relationship between two variables. Once a relationship is established,  Linear Regression  can be used to create a linear model

  • Correlation Notes
  • Linear Regression Notes
  • Correlation and Linear Regression Example
  • << Previous: Research
  • Next: Citations >>
  • Last Updated: Jan 9, 2024 9:24 AM
  • URL: https://robinsonss-fcps.libguides.com/IBSL1IA

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

An AI Tool for Automated Research Question and Hypothesis Generation from a given Scientific Literature

bhaskatripathi/HypothesisHub

Folders and files, repository files navigation, hypothesishub.

HypothesisHub is an AI Tool for the Automated Generation of Research Questions and Hypotheses from Scientific Literature. It applies a chain of reasoning to scientific literature to generate questions and hypotheses. OpenAI and Langchain serve as the underlying technologies for the tool.

Open In Colab

  • Generates research questions from a given scientific literature
  • Generates a null hypothesis (H0) and an alternate hypothesis (H1) for each research question
  • Handles cases where either H0 or H1 is not present
  • Automatically generates missing H1 using the LLMChain if needed
  • Negates hypothesis statement if H0 is missing

Sequence Diagram

Output image

Please give a star if you like this project and find it useful.

Star History

Star History Chart

  • Jupyter Notebook 100.0%

null hypothesis math ai

Hypothesis Maker

Ai-powered research hypothesis generator.

  • Scientific Research: Generate a hypothesis for your experimental or observational study based on your research question.
  • Academic Studies: Formulate a hypothesis for your thesis, dissertation, or academic paper.
  • Market Research: Develop a hypothesis for your market research study to understand consumer behavior or market trends.
  • Social Science Research: Create a hypothesis for your social science research to explore societal or behavioral patterns.

New & Trending Tools

Ai text message responder, chemistry expert ai, bible study ai assistant.

COMMENTS

  1. IB MATH AI SL: Null Hypothesis ex. 2 (t-test, p-value ...

    From Paper 1 (TZ2 May 2021)Full exam solution: https://www.youtube.com/watch?v=Sv4uCuAjlWw&t=1010sChapters0:00 Introduction0:31 A) Null and alternative2:26 B...

  2. 4.7.1 Hypothesis Testing

    A hypothesis is an assumption that is made about a particular population parameter or the distribution of the population. A population parameter is a numerical characteristic which helps define a population. Such as the mean value of the population. The null hypothesis is denoted and sets out the assumed population parameter or distribution ...

  3. Hypothesis Testing [IB Math AI SL/HL]

    Revision Village - Voted #1 IB Math Resource! New Curriculum 2021-2027. This video covers Hypothesis Testing. Part of the IB Mathematics Applications & Inter...

  4. 4.11.1 Hypothesis Testing

    A hypothesis is an assumption that is made about a particular population parameter or the distribution of the population. A population parameter is a numerical characteristic which helps define a population. Such as the mean value of the population. The null hypothesis is denoted and sets out the assumed population parameter or distribution ...

  5. 4.7.4 The t-test

    85. The maths teacher wants to investigate whether the scores are different between the students studying each language. A t-test is to be performed at a 10% significance level. a) Write down the null and alternative hypotheses. b) Find the p -value for this test. c) Write down the conclusion to the test.

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

  7. Null & 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 ( H0) answers "No, there's no effect in the population.". The alternative hypothesis ( Ha) answers "Yes, there is an effect in the ...

  8. 9.1: Null and Alternative Hypotheses

    Review. In a hypothesis test, sample data is evaluated in order to arrive at a decision about some type of claim.If certain conditions about the sample are satisfied, then the claim can be evaluated for a population. In a hypothesis test, we: Evaluate the null hypothesis, typically denoted with \(H_{0}\).The null is not rejected unless the hypothesis test shows otherwise.

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

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

  11. Intuitive Hypothesis Testing with Examples

    Based on what we saw above, we know that we're more likely to reject H₀ when-. 1. the sample difference is greater like in the first example and. 2. when the number of observations is greater like in the second example. Hypothesis testing, in essence, involves three steps. Hypothesis Testing Process.

  12. Null hypothesis

    Basic definitions. The null hypothesis and the alternative hypothesis are types of conjectures used in statistical tests to make statistical inferences, which are formal methods of reaching conclusions and separating scientific claims from statistical noise.. The statement being tested in a test of statistical significance is called the null hypothesis. . The test of significance is designed ...

  13. IB MATH AI SL: Null hypothesis ex. 3 (Degrees freedom, estimate

    From Paper 1 (TZ2 May 2021)Full exam solution: https://www.youtube.com/watch?v=Sv4uCuAjlWw&t=1010sChapters0:00 Introduction1:28 A) Estimate each day2:08 B) D...

  14. Writing null and alternative hypotheses

    Writing null and alternative hypotheses. A ketchup company regularly receives large shipments of tomatoes. For each shipment that is received, a supervisor takes a random sample of 500 tomatoes to see what percent of the sample is bruised and performs a significance test. If the sample shows convincing evidence that more than 10 % of the entire ...

  15. Null Hypothesis Definition

    The null hypothesis is what you attempt to disprove or nullify with evidence to the contrary. It is contrasted with the alternative hypothesis, denoted as H1 or Ha, which expresses that there is a statistically significant relationship between two variables. The process of hypothesis testing involves choosing a null hypothesis which is tested ...

  16. Null hypothesis

    The null hypothesis (H 0) is the basis of statistical hypothesis testing. It is the default hypothesis (assumed to be true) that states that there is no statistically significant difference between some population parameter (such as the mean), and a hypothesized value. It is typically based on previous analysis or knowledge.

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

    Whenever we perform a hypothesis test, we always write a null hypothesis and an alternative hypothesis, which take the following forms: H0 (Null Hypothesis): Population parameter =, ≤, ≥ some value. HA (Alternative Hypothesis): Population parameter <, >, ≠ some value. Note that the null hypothesis always contains the equal sign.

  18. Hypothesis Generator

    Create null (H0) and alternative (H1) hypotheses based on a given research question and dataset. HyperWrite's Hypothesis Generator is a powerful AI tool that helps you create null and alternative hypotheses for your research. This tool takes a given research question and dataset and generates hypotheses that are clear, concise, and testable. By utilizing the latest AI models, it simplifies the ...

  19. IB Math SL Internal Assessment: Statistical Analysis

    Define the null and alternate hypothesis; Calculate the expected values; Calculate the Chi Squared calculated value; Calculate the degrees of freedom and use this to find the Chi Squared critical value from a critical value table; Compare the Chi Squared calculated value to the critical value to find if you accept or deny your null hypothesis

  20. An AI Tool for Automated Research Question and Hypothesis ...

    Generates a null hypothesis (H0) and an alternate hypothesis (H1) for each research question; Handles cases where either H0 or H1 is not present; Automatically generates missing H1 using the LLMChain if needed; Negates hypothesis statement if H0 is missing

  21. 4.7.2 Chi-squared Test for Independence

    STEP 4: Decide whether there is evidence to reject the null hypothesis EITHER compare the χ² statistic with the given critical value. If χ² statistic > critical value then reject H 0; If χ² statistic < critical value then accept H 0; OR compare the p-value with the given significance level. If p-value < significance level then reject H 0

  22. Hypothesis Testing

    4.7 Hypothesis Testing. A new technology company, TechBright, has developed a battery that they claim has a longer lifespan than the product sold by its main competitor, Elektrik. A survey has been completed recording the battery life, in hours, of 12 batteries from each company. The results are shown in the table below.

  23. Hypothesis Maker

    Create a hypothesis for your research based on your research question. HyperWrite's Hypothesis Maker is an AI-driven tool that generates a hypothesis based on your research question. Powered by advanced AI models like GPT-4 and ChatGPT, this tool can help streamline your research process and enhance your scientific studies.