Have a language expert improve your writing

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

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

Null & Alternative Hypotheses | Definitions, Templates & Examples

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

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

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

Table of contents

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

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

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

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

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

Receive feedback on language, structure, and formatting

Professional editors proofread and edit your paper by focusing on:

  • Academic style
  • Vague sentences
  • Style consistency

See an example

alternative hypothesis in statistics and probability

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

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

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

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

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

Examples of null hypotheses

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

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

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

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

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

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

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

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

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

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

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

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

Examples of alternative hypotheses

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

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

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

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

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

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

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

Null and alternative hypotheses are similar in some ways:

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

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

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

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

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

General template sentences

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

Does independent variable affect dependent variable ?

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

Test-specific template sentences

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

( )
test 

with two groups

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

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

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

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

Methodology

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

Research bias

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

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

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

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

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

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

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

Cite this Scribbr article

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

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

Is this article helpful?

Shaun Turney

Shaun Turney

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

Alternate Hypothesis in Statistics: What is it?

What is the alternate hypothesis.

  • The status quo (null) hypothesis (H 0 ),
  • The research (alternate) hypothesis (H a or H 1 ).

alternate hypothesis

  • Null hypothesis : President re-elected with 5 percent majority
  • Alternate hypothesis: President re-elected with 1-2 percent majority.

Stating the alternate hypothesis

  • If you want to support a claim, make it the alternative hypothesis.
  • If you do not wish to support a claim, make it the null hypothesis.
  • H 0 : μ < 1000
  • H 1 : μ ≥ 1000 (your claim)
  • H 0 : μ ≥ 1200
  • Ha: u < 1200.

Alternate Hypothesis Examples

  • 9 Hypothesis Tests
  • Hypothesis Testing Memo

Comments are closed.

All Subjects

study guides for every class

That actually explain what's on your next test, alternative hypothesis, from class:, data science statistics.

The alternative hypothesis is a statement that proposes a potential outcome or effect that is contrary to the null hypothesis. It suggests that there is a statistically significant effect or relationship present in the data, and it serves as the basis for hypothesis testing. Understanding the alternative hypothesis is crucial for determining the validity of statistical claims and plays a key role in various statistical methods and analyses.

congrats on reading the definition of Alternative Hypothesis . now let's actually learn it.

5 Must Know Facts For Your Next Test

  • The alternative hypothesis is denoted as H1 or Ha, and it represents the researcher’s expectation of an effect or difference based on prior knowledge or theory.
  • In hypothesis testing, if the p-value is less than the significance level, the null hypothesis is rejected in favor of the alternative hypothesis.
  • There are two types of alternative hypotheses: one-tailed (which specifies the direction of the effect) and two-tailed (which does not specify direction).
  • Formulating a clear alternative hypothesis helps guide the research design and analysis, making it easier to interpret results.
  • Statistical power increases when the sample size is larger, which enhances the ability to detect a true effect suggested by the alternative hypothesis.

Review Questions

  • The alternative hypothesis plays a central role in hypothesis testing by providing a statement that researchers aim to support or provide evidence for. During testing, data collected from experiments are analyzed to determine if there is sufficient evidence to reject the null hypothesis in favor of the alternative. If the results show a statistically significant outcome, it suggests that the proposed relationship or effect described in the alternative hypothesis may exist.
  • Choosing between a one-tailed and two-tailed alternative hypothesis can significantly influence how statistical tests are conducted and interpreted. A one-tailed test is used when researchers have a specific directional prediction about the outcome, which can lead to a more powerful test for detecting effects in that direction. In contrast, a two-tailed test assesses both directions but may require more evidence to reject the null hypothesis since it accounts for variability in both potential outcomes.
  • Incorrectly formulating an alternative hypothesis can lead to misleading conclusions and impact research outcomes significantly. If an alternative hypothesis does not accurately reflect what researchers aim to investigate, it may result in failure to detect real effects or relationships, thus affecting validity. Moreover, making decisions based on flawed hypotheses can influence policy recommendations or practical applications derived from research findings, leading to erroneous interpretations and actions based on incorrect assumptions.

Related terms

Null Hypothesis : The null hypothesis is a statement asserting that there is no effect or no difference, serving as the starting point for statistical testing.

Hypothesis Testing : A statistical method used to determine whether there is enough evidence to reject the null hypothesis in favor of the alternative hypothesis.

Significance Level : The significance level, often denoted as alpha (α), represents the threshold at which you reject the null hypothesis, usually set at 0.05 or 0.01.

" Alternative Hypothesis " also found in:

Subjects ( 75 ).

  • AP Psychology
  • AP Statistics
  • Advanced Communication Research Methods
  • Advanced Design Strategy and Software
  • Advanced quantitative methods
  • Analytical Chemistry
  • Bayesian Statistics
  • Big Data Analytics and Visualization
  • Biostatistics
  • Business Analytics
  • Business Anthropology
  • Business Decision Making
  • Causal Inference
  • College Introductory Statistics
  • Communication Research Methods
  • Communication in Healthcare
  • Computational Chemistry
  • Covering Politics
  • Data Journalism
  • Data Visualization for Business
  • Data, Inference, and Decisions
  • Documentary Forms
  • Engineering Applications of Statistics
  • Engineering Probability
  • Epidemiology
  • Experimental Design
  • Financial Mathematics
  • Foundations of Data Science
  • Fundamentals of Ecology
  • Fundamentals of Mechanical Prototyping
  • Healthcare Quality and Outcomes
  • History of Mathematics
  • Honors Statistics
  • Intro to Business Statistics
  • Introduction to Advanced Programming in R
  • Introduction to Biostatistics
  • Introduction to Business Analytics
  • Introduction to Econometrics
  • Introduction to Environmental Science
  • Introduction to Mathematical Economics
  • Introduction to Political Research
  • Introduction to Probabilistic Methods in Mathematics and the Sciences
  • Introduction to Probability
  • Introduction to Programming in R
  • Introduction to Public Health
  • Introductory Probability and Statistics for Business
  • Linear Modeling: Theory and Applications
  • Machine Learning Engineering
  • Market Research: Tools and Techniques for Data Collection and Analysis
  • Marketing Research
  • Marketing Strategy
  • Mathematical Modeling
  • Mathematical Probability Theory
  • Mathematical and Computational Methods in Molecular Biology
  • Media Effects
  • Methods for Public Health Practice
  • Methods of Mathematics: Calculus, Statistics, and Combinatorics
  • Philosophy of Science
  • Predictive Analytics in Business
  • Preparatory Statistics
  • Principles & Techniques of Data Science
  • Principles of Finance
  • Probabilistic & Statistical Decision-Making for Management
  • Probability and Statistics
  • Professionalism and Research in Nursing
  • Public Health Policy and Administration
  • Public Policy Analysis
  • Reproducible and Collaborative Statistical Data Science
  • Risk Management and Insurance
  • Sampling Surveys
  • Statistical Inference
  • Statistical Methods for Data Science
  • Structural Health Monitoring
  • Theoretical Statistics
  • Thinking Like a Mathematician

© 2024 Fiveable Inc. All rights reserved.

Ap® and sat® are trademarks registered by the college board, which is not affiliated with, and does not endorse this website..

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

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

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

5.1 - introduction to hypothesis testing.

Previously we used confidence intervals to estimate unknown population parameters. We compared confidence intervals to specified parameter values and when the specific value was contained in the interval, we concluded that there was not sufficient evidence of a difference between the population parameter and the specified value. In other words, any values within the confidence intervals were reasonable estimates of the population parameter and any values outside of the confidence intervals were not reasonable estimates. Here, we are going to look at a more formal method for testing whether a given value is a reasonable value of a population parameter. To do this we need to have a hypothesized value of the population parameter. 

In this lesson we will compare data from a sample to a hypothesized parameter. In each case, we will compute the probability that a population with the specified parameter would produce a sample statistic as extreme or more extreme to the one we observed in our sample. This probability is known as the  p-value  and it is used to evaluate statistical significance.

A test is considered to be statistically significant  when the p-value is less than or equal to the level of significance, also known as the alpha (\(\alpha\)) level. For this class, unless otherwise specified, \(\alpha=0.05\); this is the most frequently used alpha level in many fields. 

Sample statistics vary from the population parameter randomly. When results are statistically significant, we are concluding that the difference observed between our sample statistic and the hypothesized parameter is unlikely due to random sampling variation.

Logo for LOUIS Pressbooks

Chapter 8: Hypothesis Testing with One Sample

8.1 Null and Alternative Hypotheses

Learning objectives.

By the end of this section, the student should be able to:

  • Describe hypothesis testing in general and in practice.

Hypothesis Testing

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

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.

  • Ha: μ < 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.

H0: p ≤ 0.066

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

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

a statement about the value of a population parameter, in case of two hypotheses, the statement assumed to be true is called the null hypothesis (notation H0) and the contradictory statement is called the alternative hypothesis (notation Ha).

Introductory Statistics Copyright © 2024 by LOUIS: The Louisiana Library Network is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License , except where otherwise noted.

Share This Book

Alternative hypothesis

by Marco Taboga , PhD

In a statistical test, observed data is used to decide whether or not to reject a restriction on the data-generating probability distribution.

The assumption that the restriction is true is called null hypothesis , while the statement that the restriction is not true is called alternative hypothesis.

A correct specification of the alternative hypothesis is essential to decide between one-tailed and two-tailed tests.

Table of contents

Mathematical setting

Choice between one-tailed and two-tailed tests, the critical region, the interpretation of the rejection, the interpretation must be coherent with the alternative hypothesis.

  • Power function

Accepting the alternative

More details, keep reading the glossary.

In order to fully understand the concept of alternative hypothesis, we need to remember the essential elements of a statistical inference problem:

we observe a sample drawn from an unknown probability distribution;

in principle, any valid probability distribution could have generated the sample;

however, we usually place some a priori restrictions on the set of possible data-generating distributions;

A couple of simple examples follow.

When we conduct a statistical test, we formulate a null hypothesis as a restriction on the statistical model.

[eq1]

The alternative hypothesis is

[eq2]

The alternative hypothesis is used to decide whether a test should be one-tailed or two-tailed.

The null hypothesis is rejected if the test statistic falls within a critical region that has been chosen by the statistician.

The critical region is a set of values that may comprise:

only the left tail of the distribution or only the right tail (one-tailed test);

both the left and the right tail (two-tailed test).

The choice of the critical region depends on the alternative hypothesis. Let us see why.

The interpretation is different depending on the tail of the distribution in which the test statistic falls.

[eq7]

The choice between a one-tailed or a two-tailed test needs to be done in such a way that the interpretation of a rejection is always coherent with the alternative hypothesis.

When we deal with the power function of a test, the term "alternative hypothesis" has a special meaning.

[eq10]

We conclude with a caveat about the interpretation of the outcome of a test of hypothesis.

The interpretation of a rejection of the null is controversial.

According to some statisticians, rejecting the null is equivalent to accepting the alternative.

However, others deem that rejecting the null does not necessarily imply accepting the alternative. In fact, it is possible to think of situations in which both hypotheses can be rejected. Let us see why.

According to the conceptual framework illustrated by the images above, there are three possibilities:

the null is true;

the alternative is true;

neither the null nor the alternative is true because the true data-generating distribution has been excluded from the statistical model (we say that the model is mis-specified).

If we are in case 3, accepting the alternative after a rejection of the null is an incorrect decision. Moreover, a second test in which the alternative becomes the new null may lead us to another rejection.

There are three cases, including one case in which it is incorrect to accept the alternative hypothesis after a rejection of the null.

You can find more details about the alternative hypothesis in the lecture on Hypothesis testing .

Previous entry: Almost sure

Next entry: Binomial coefficient

How to cite

Please cite as:

Taboga, Marco (2021). "Alternative hypothesis", Lectures on probability theory and mathematical statistics. Kindle Direct Publishing. Online appendix. https://www.statlect.com/glossary/alternative-hypothesis.

Most of the learning materials found on this website are now available in a traditional textbook format.

  • Maximum likelihood
  • Binomial distribution
  • Beta distribution
  • Convergence in probability
  • Delta method
  • Exponential distribution
  • Chi-square distribution
  • Set estimation
  • Wishart distribution
  • Mathematical tools
  • Fundamentals of probability
  • Probability distributions
  • Asymptotic theory
  • Fundamentals of statistics
  • About Statlect
  • Cookies, privacy and terms of use
  • Precision matrix
  • Loss function
  • Integrable variable
  • Critical value
  • To enhance your privacy,
  • we removed the social buttons,
  • but don't forget to share .

9.1 Null and Alternative Hypotheses

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

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

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

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.

Example 9.1

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

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

Example 9.2

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

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

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

Example 9.3

We want to test if college students take less than five years to graduate from college, on the average. The null and alternative hypotheses are: H 0 : μ ≥ 5 H a : μ < 5

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

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

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

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.

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

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

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

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

  • Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Statistics By Jim

Making statistics intuitive

Alternative hypothesis

By Jim Frost

The alternative hypothesis is one of two mutually exclusive hypotheses in a hypothesis test. The alternative hypothesis states that a population parameter does not equal a specified value. Typically, this value is the null hypothesis value associated with no effect , such as zero. If your sample contains sufficient evidence, you can reject the null hypothesis and favor the alternative hypothesis. The alternative hypothesis is often denoted as H 1 or H A .

If you are performing a two-tailed hypothesis test, the alternative hypothesis states that the population parameter does not equal the null hypothesis value. For example, when the alternative hypothesis is H A : μ ≠ 0, the test can detect differences both greater than and less than the null value.

A one-tailed alternative hypothesis can test for a difference only in one direction. For example, H A : μ > 0 can only test for differences that are greater than zero.

  • How Hypothesis Tests Work: Significance Levels (Alpha) and P values
  • How to Identify the Distribution of Your Data
  • When Can I Use One-Tailed Hypothesis Tests?
  • Examples of Hypothesis Tests: Busting Myths about the Battle of the Sexes
  • Failing to Reject the Null Hypothesis
  • How to Conduct Hypothesis Testing in Statistics

The Fundamentals of Hypothesis Testing: What Every Student Should Know

Dr. Mary Johnson

Hypothesis testing is a fundamental statistical technique used to make inferences about populations based on sample data. This blog will guide you through the process of hypothesis testing, helping you understand and apply the concepts to solve similar assignments efficiently. By following this structured approach, you'll be able to solve your hypothesis testing homework problem with confidence.

Understanding the Basics of Hypothesis Testing

Hypothesis testing involves making a decision about the validity of a hypothesis based on sample data. It comprises four key steps: defining hypotheses, calculating the test statistic, determining the p-value, and drawing conclusions. Let's explore each of these steps in detail.

Defining Hypotheses

The first step in hypothesis testing is to define the null and alternative hypotheses. These hypotheses represent the statements we want to test.

Null Hypothesis (H0)

How to Conduct Hypothesis Testing

The null hypothesis (H0) is a statement that there is no effect or difference. It serves as the default assumption that we aim to test against.

Alternative Hypothesis (Ha or H1)

The alternative hypothesis (Ha or H1) is a statement that indicates the presence of an effect or difference. It represents what we want to prove.

Types of Tests

Depending on the direction of the hypothesis, we have three types of tests: left-tailed, right-tailed, and two-tailed tests.

Left-Tailed Test

A left-tailed test is used when we want to determine if the population mean is less than a specified value.

Right-Tailed Test

A right-tailed test is used when we want to determine if the population mean is greater than a specified value.

Two-Tailed Test

A two-tailed test is used when we want to determine if the population mean is different from a specified value, either higher or lower.

Example Scenario

Consider a scenario where we want to test if the average vehicle price from a sample is less than $27,000. We would set up our hypotheses as follows:

  • Null Hypothesis (H0): μ = 27,000
  • Alternative Hypothesis (Ha): μ < 27,000

Calculating the Test Statistic

Once the hypotheses are defined, the next step is to calculate the test statistic. The test statistic helps us determine the likelihood of observing the sample data under the null hypothesis.

Formula for the T-Test Statistic

The t-test statistic is calculated using the formula:

[ t = \frac{\bar{X} - \mu}{S / \sqrt{n}} ]

  • (\bar{X}) is the sample mean
  • (S) is the sample standard deviation
  • (n) is the sample size
  • (\mu) is the population mean defined in the null hypothesis

Standard Error

The denominator of the t-test formula, (S / \sqrt{n}), is known as the standard error (SE). It measures the variability of the sample mean.

Example Calculation

Let's calculate the test statistic for our vehicle price example. Given:

  • Sample mean ((\bar{X})) = 25,650
  • Sample standard deviation (S) = 3,488
  • Sample size (n) = 10
  • Population mean ((\mu)) = 27,000

First, we calculate the standard error (SE):

[ SE = \frac{S}{\sqrt{n}} = \frac{3488}{\sqrt{10}} \approx 1103 ]

Next, we calculate the test statistic (t):

[ t = \frac{25650 - 27000}{1103} \approx -1.2238 ]

Determining the P-Value

The p-value is a critical component of hypothesis testing. It indicates the probability of obtaining a test statistic as extreme as the one observed, assuming the null hypothesis is true.

Calculating the P-Value

The method to calculate the p-value depends on the type of test (left-tailed, right-tailed, or two-tailed) and the direction of the alternative hypothesis.

For a left-tailed test, the p-value is calculated using the T.DIST() function in Excel.

For a right-tailed test, the p-value is calculated using the T.DIST.RT() function in Excel.

For a two-tailed test, the p-value is calculated using the T.DIST.2T() function in Excel. When the test statistic is negative, use the absolute value function (ABS()) to remove the negative sign before calculating the p-value.

For our vehicle price example with a left-tailed test, we calculate the p-value using the T.DIST() function in Excel:

[ \text{p-value} = T.DIST(-1.2238, 9, TRUE) \approx 0.1261 ]

Drawing Conclusions

The final step in hypothesis testing is to draw a conclusion based on the p-value and a pre-determined significance level ((\alpha)).

Significance Level ((\alpha))

The significance level ((\alpha)) is the threshold for deciding whether to reject the null hypothesis. Common values for (\alpha) are 0.05, 0.01, 0.10, and 0.005.

Decision Rule

  • If the p-value is less than (\alpha), we reject the null hypothesis.
  • If the p-value is greater than (\alpha), we fail to reject the null hypothesis.

Example Conclusion

For our vehicle price example with (\alpha = 0.05):

  • p-value = 0.1261
  • (\alpha) = 0.05

Since 0.1261 > 0.05, we fail to reject the null hypothesis. There is not enough evidence to suggest that the average vehicle price is less than $27,000.

Practical Examples of Hypothesis Testing

To further illustrate hypothesis testing, let's explore three different scenarios: left-tailed test, right-tailed test, and two-tailed test.

Left-Tailed Test Example

In this example, we test if the average vehicle price is less than $27,000.

Step-by-Step Process

Define Hypotheses:

Calculate Test Statistic:

  • Standard error (SE) = 1103
  • Test statistic (t) = -1.2238

Determine P-Value:

Draw Conclusion:

  • Since 0.1261 > 0.05, fail to reject the null hypothesis.
  • Conclusion: There is not enough evidence to suggest that the average vehicle price is less than $27,000.

Right-Tailed Test Example

In this example, we test if the average vehicle price is greater than $23,500.

  • Null Hypothesis (H0): μ = 23,500
  • Alternative Hypothesis (Ha): μ > 23,500
  • Population mean ((\mu)) = 23,500
  • Test statistic (t) = 1.9490
  • p-value = 0.0416
  • Since 0.0416 < 0.05, reject the null hypothesis.
  • Conclusion: There is enough evidence to suggest that the average vehicle price is greater than $23,500.

Two-Tailed Test Example

In this example, we test if the average vehicle price is different from $23,500.

  • Alternative Hypothesis (Ha): μ ≠ 23,500
  • p-value = 0.0831
  • Since 0.0831 > 0.05, fail to reject the null hypothesis.
  • Conclusion: There is not enough evidence to suggest that the average vehicle price is different from $23,500.

Tips for Conducting Hypothesis Testing

Successfully conducting hypothesis testing involves several critical steps. Here are some tips to help you perform hypothesis testing effectively.

Proper Data Collection

Accurate and reliable data collection is crucial for hypothesis testing. Ensure that your sample is representative of the population and collected using appropriate methods.

Random Sampling

Use random sampling techniques to avoid bias and ensure that your sample accurately represents the population.

Sample Size

Ensure that your sample size is large enough to provide reliable results. Larger sample sizes reduce the margin of error and increase the power of the test.

Verify Assumptions

Hypothesis tests often rely on certain assumptions about the data. Verify these assumptions before proceeding with the test.

Many hypothesis tests, including the t-test, assume that the data follows a normal distribution. Use graphical methods (e.g., histograms, Q-Q plots) or statistical tests (e.g., Shapiro-Wilk test) to check for normality.

Independence

Ensure that the observations in your sample are independent of each other. Independence is a key assumption for most hypothesis tests.

Utilize Software Tools

Software tools like Excel , R , and SPSS can simplify the calculations involved in hypothesis testing and reduce the risk of errors.

Excel provides several functions for hypothesis testing, such as T.DIST(), T.DIST.RT(), and T.DIST.2T(). Use these functions to calculate p-values and make decisions based on your test statistics.

R is a powerful statistical software that offers various packages for hypothesis testing. Use functions like t.test() to perform t-tests and obtain p-values and confidence intervals.

Interpret Results Carefully

Proper interpretation of the results is crucial for drawing accurate conclusions from hypothesis testing.

Statistical Significance

A statistically significant result (p-value < (\alpha)) indicates that there is strong evidence against the null hypothesis. However, it does not imply practical significance. Consider the context and the practical implications of the results.

Type I and Type II Errors

Be aware of the potential for Type I and Type II errors. A Type I error occurs when the null hypothesis is incorrectly rejected, while a Type II error occurs when the null hypothesis is not rejected despite being false. The significance level ((\alpha)) affects the probability of Type I errors, while the sample size and effect size influence the probability of Type II errors.

Report Results Transparently

When reporting the results of hypothesis testing, include all relevant information to ensure transparency and reproducibility.

Detailed Description

Provide a detailed description of the hypotheses, test statistic, p-value, significance level, and the conclusion. This information helps others understand and evaluate your analysis.

Confidence Intervals

Include confidence intervals for the estimated parameters. Confidence intervals provide a range of plausible values for the population parameter and offer additional context for interpreting the results.

Common Pitfalls in Hypothesis Testing

Hypothesis testing is a powerful tool, but it is essential to be aware of common pitfalls to avoid incorrect conclusions.

Misinterpreting P-Values

P-values indicate the probability of obtaining a test statistic as extreme as the one observed, assuming the null hypothesis is true. A small p-value suggests strong evidence against the null hypothesis, but it does not provide a measure of the effect size or practical significance.

P-Value Misconceptions

Avoid common misconceptions about p-values, such as believing that a p-value of 0.05 means there is a 5% chance that the null hypothesis is true. P-values do not measure the probability that the null hypothesis is true or false.

Ignoring Assumptions

Ignoring the assumptions underlying hypothesis tests can lead to incorrect conclusions. Always verify the assumptions before proceeding with the test.

Assumption Violations

If the assumptions are violated, consider using alternative tests that do not rely on those assumptions. For example, if the data is not normally distributed, use non-parametric tests like the Wilcoxon rank-sum test or the Mann-Whitney U test.

Overemphasizing Statistical Significance

Statistical significance does not imply practical significance. A result can be statistically significant but have a negligible practical effect. Always consider the context and practical implications of the results.

Effect Size

Report and interpret effect sizes alongside p-values. Effect sizes provide a measure of the magnitude of the observed effect and offer valuable context for interpreting the results.

Hypothesis testing is a critical tool in statistics for making inferences about populations based on sample data. By understanding the steps involved—defining hypotheses, calculating the test statistic, determining the p-value, and drawing conclusions—you can approach hypothesis testing with confidence.

Ensure proper data collection, verify assumptions, utilize software tools, interpret results carefully, and report findings transparently to enhance the reliability and validity of your hypothesis tests. By avoiding common pitfalls and considering both statistical and practical significance, you'll be well-equipped to tackle statistics homework and research projects effectively.

Post a comment...

How to conduct hypothesis testing in statistics submit your homework, attached files.

File Actions

IMAGES

  1. Null and Alternative Hypothesis

    alternative hypothesis in statistics and probability

  2. Null Hypothesis and Alternative Hypothesis

    alternative hypothesis in statistics and probability

  3. Research Hypothesis Generator

    alternative hypothesis in statistics and probability

  4. Alternative hypothesis

    alternative hypothesis in statistics and probability

  5. Alternative hypothesis

    alternative hypothesis in statistics and probability

  6. Alternative Hypothesis

    alternative hypothesis in statistics and probability

VIDEO

  1. Hypothesis Testing

  2. Hypothesis Tests| Some Concepts

  3. Statistics and probability

  4. Statistics and probability- Hypothesis testing of coefficients in multiple Linear regression

  5. Learn about hypothesis testing on population proportion

  6. Null Hypothesis vs Alternative Hypothesis|Difference between null and alternative hypothesis

COMMENTS

  1. Null & Alternative Hypotheses

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

  2. Alternate Hypothesis in Statistics: What is it?

    In hypothesis-testing, there are always two competing hypotheses under consideration [1]: The status quo (null) hypothesis (H 0), The research (alternate) hypothesis (H a or H 1). You can think of the alternate hypothesis as just an alternative to the null. For example, if your null is "I'm going to win up to $1,000" then your alternate ...

  3. Alternative Hypothesis

    The alternative hypothesis is a statement that suggests a potential outcome or effect in a statistical test, contrasting with the null hypothesis. It represents what researchers aim to support through evidence gathered from data analysis, indicating that there is a significant difference or relationship that exists within the context of the data being studied.

  4. Alternative Hypothesis

    The alternative hypothesis is a statement that proposes a potential outcome or effect that is contrary to the null hypothesis. It suggests that there is a statistically significant effect or relationship present in the data, and it serves as the basis for hypothesis testing. Understanding the alternative hypothesis is crucial for determining the validity of statistical claims and plays a key ...

  5. 9.1 Null and Alternative Hypotheses

    The actual test begins by considering two hypotheses.They are called the null hypothesis and the alternative hypothesis.These hypotheses contain opposing viewpoints. H 0, the —null hypothesis: 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.

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

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

  8. 8.1: The null and alternative hypotheses

    These kinds of null hypotheses are the subject of Chapters 8 through 12. The Null hypothesis (HO) (H O) is a statement about the comparisons, e.g., between a sample statistic and the population, or between two treatment groups. The former is referred to as a one-tailed test whereas the latter is called a two-tailed test.

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

  10. 9.1: Introduction to Hypothesis Testing

    In hypothesis testing, the goal is to see if there is sufficient statistical evidence to reject a presumed null hypothesis in favor of a conjectured alternative hypothesis.The null hypothesis is usually denoted \(H_0\) while the alternative hypothesis is usually denoted \(H_1\). An hypothesis test is a statistical decision; the conclusion will either be to reject the null hypothesis in favor ...

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

  12. 5.1

    This probability is known as the p-value and it is used to evaluate statistical significance. p-value Given that the null hypothesis is true, the probability of obtaining a sample statistic as extreme or more extreme than the one in the observed sample, in the direction of the alternative hypothesis

  13. Examples of null and alternative hypotheses (video)

    The null and alternative hypotheses are both statements about the population that you are studying. The null hypothesis is often stated as the assumption that there is no change, no difference between two groups, or no relationship between two variables. The alternative hypothesis, on the other hand, is the statement that there is a change, difference, or relationship.

  14. Alternative hypothesis

    The alternative hypothesis and null hypothesis are types of conjectures used in statistical tests, which are formal methods of reaching conclusions or making judgments on the basis of data. 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 ...

  15. 8.1 Null and Alternative Hypotheses

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

  16. Alternative hypothesis

    Notation. Usually, the null hypothesis is denoted by , while the alternative hypothesis is denoted by . Mathematical setting. In order to fully understand the concept of alternative hypothesis, we need to remember the essential elements of a statistical inference problem: we observe a sample drawn from an unknown probability distribution;

  17. Null and Alternative Hypotheses || Hypothesis Testing || Statistics and

    ‼️FOURTH QUARTER‼️🟣 GRADE 11: NULL AND ALTERNATIVE HYPOTHESES‼️FOURTH QUARTER PLAYLISTS ARE ALREADY AVAILABLE‼️🟣 GRADE 11General MathematicsFirst Quarter: ...

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

  19. 8.4: The Alternative Hypothesis

    8.4: The Alternative Hypothesis. If the null hypothesis is rejected, then we will need some other explanation, which we call the alternative hypothesis, HA H A or H1 H 1. The alternative hypothesis is simply the reverse of the null hypothesis, and there are three options, depending on where we expect the difference to lie.

  20. Hypothesis Testing

    This statistics video tutorial provides a basic introduction into hypothesis testing. It provides examples and practice problems that explains how to state ...

  21. 9.1 Null and Alternative Hypotheses

    The actual test begins by considering two hypotheses.They are called the null hypothesis and the alternative hypothesis.These hypotheses contain opposing viewpoints. H 0: The null hypothesis: It is a statement of no difference between the variables—they are not related. This can often be considered the status quo and as a result if you cannot accept the null it requires some action.

  22. Alternative hypothesis

    The alternative hypothesis is one of two mutually exclusive hypotheses in a hypothesis test. The alternative hypothesis states that a population parameter does not equal a specified value. Typically, this value is the null hypothesis value associated with no effect, such as zero.If your sample contains sufficient evidence, you can reject the null hypothesis and favor the alternative hypothesis.

  23. 9.2: Hypothesis Testing

    Null and Alternative Hypotheses. The actual test begins by considering two hypotheses.They are called the null hypothesis and the alternative hypothesis.These hypotheses contain opposing viewpoints. \(H_0\): The null hypothesis: It is a statement of no difference between the variables—they are not related. This can often be considered the status quo and as a result if you cannot accept the ...

  24. How to Conduct Hypothesis Testing in Statistics

    It indicates the probability of obtaining a test statistic as extreme as the one observed, assuming the null hypothesis is true. Calculating the P-Value The method to calculate the p-value depends on the type of test (left-tailed, right-tailed, or two-tailed) and the direction of the alternative hypothesis.