Alternative hypothesis
# Alternative hypothesis

In statistical hypothesis testing, the alternative hypothesis is one of the proposed proposition in the hypothesis test. In general the goal of hypothesis test is to demonstrate that in the given condition, there is sufficient evidence supporting the credibility of alternative hypothesis instead of the exclusive proposition in the test (null hypothesis). It is usually consistent with the research hypothesis because it is constructed from literature review, previous studies, etc. However, the research hypothesis is sometimes consistent with the null hypothesis.

In statistics, alternative hypothesis is often denoted as $H_a$ or $H_1.$ Hypotheses are formulated to compare in a statistical hypothesis test.

In the domain of inferential statistics two rival hypotheses can be compared by explanatory power and predictive power.

## Basic definition

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 hypothesis. The test of significance is designed to assess the strength of the evidence against the null hypothesis. Usually, the null hypothesis is a statement of 'no effect' or 'no difference'." Null hypothesis is often denoted as $H_0.$

The statement that is being tested against the null hypothesis is the alternative hypothesis. Alternative hypothesis is often denoted as $H_a$ or $H_1.$

In statistical hypothesis testing, to prove the alternative hypothesis is true, it should be shown that the data is contradictory to the null hypothesis. Namely, there is sufficient evidence against null hypothesis to demonstrate that the alternative hypothesis is true.

## Example

One example is where water quality in a stream has been observed over many years, and a test is made of the null hypothesis that "there is no change in quality between the first and second halves of the data", against the alternative hypothesis that "the quality is poorer in the second half of the record".

If the statistical hypothesis testing is thought of as a judgement in a court trial, the null hypothesis corresponds to the position of the defendant (the defendant is innocent) while the alternative hypothesis is in the rival position of prosecutor (the defendant is guilty). The defendant is innocent until proven guilty, so likewise in a hypothesis test, the null hypothesis is initially presumed to be true. To prove the statement of the prosecutor, evidence must be convincing enough to convict the defendant; this is analogous to sufficient statistical significance in a hypothesis test.

In the court, only legal evidence can be considered as the foundation for the trial. As for hypothesis testing, a reasonable test statistic should be set to measure the statistic significance of the null hypothesis. Evidence would support the alternative hypothesis if the null hypothesis is rejected at a certain significance level. However, this does not necessarily mean that the alternative hypothesis is true due to the potential presence of a type I error. In order to quantify the statistical significance, the test statistic variables are assumed to follow a certain probability distribution such as the normal distribution or t-distribution to determine the probability of obtaining test results at least as extreme as the results actually observed, under the assumption that the null hypothesis is correct, which is defined as the p-value. If the p-value is smaller than the than the chosen significance level (α), it can be claimed that observed data is sufficiently inconsistent with the null hypothesis and hence the null hypothesis may be rejected. After testing, a valid claim would be "at the significance level of (α), the null hypothesis is rejected, supporting the alternative hypothesis instead". In the metaphor of a trial, the announcement may be "with tolerance for the probability α of an incorrect conviction, the defendant is guilty."

## History

The concept of an alternative hypothesis in testing was devised by Jerzy Neyman and Egon Pearson, and it is used in the Neyman–Pearson lemma. It forms a major component in modern statistical hypothesis testing. However it was not part of Ronald Fisher's formulation of statistical hypothesis testing, and he opposed its use. In Fisher's approach to testing, the central idea is to assess whether the observed dataset could have resulted from chance if the null hypothesis were assumed to hold, notionally without preconceptions about what other models might hold. Modern statistical hypothesis testing accommodates this type of test since the alternative hypothesis can be just the negation of the null hypothesis.

## Types

In the case of a scalar parameter, there are four principal types of alternative hypothesis:

* Point. Point alternative hypotheses occur when the hypothesis test is framed so that the population distribution under the alternative hypothesis is a fully defined distribution, with no unknown parameters; such hypotheses are usually of no practical interest but are fundamental to theoretical considerations of statistical inference and are the basis of the Neyman–Pearson lemma.
* One-tailed directional. A one-tailed directional alternative hypothesis is concerned with the region of rejection for only one tail of the sampling distribution.
* Two-tailed directional. A two-tailed directional alternative hypothesis is concerned with both regions of rejection of the sampling distribution.
* Non-directional. A non-directional alternative hypothesis is not concerned with either region of rejection, but, rather, it is only concerned that null hypothesis is not true.
