Hypothesis Testing

Hypothesis Testing

Hypothesis testing is an act in statistics whereby an analyst tests an assumption regarding a population parameter. The null hypothesis is usually a hypothesis of equality between population parameters; e.g., a null hypothesis may state that the population mean return is equal to zero. If it is found that the 100 coin flips were distributed as 40 heads and 60 tails, the analyst would assume that a penny does not have a 50% chance of landing on heads and would reject the null hypothesis and accept the alternative hypothesis. 4. The fourth and final step is to analyze the results and either reject the null hypothesis, or state that the null hypothesis is plausible, given the data. All analysts use a random population sample to test two different hypotheses: the null hypothesis and the alternative hypothesis.

Hypothesis testing is used to assess the plausibility of a hypothesis by using sample data.

What Is Hypothesis Testing?

Hypothesis testing is an act in statistics whereby an analyst tests an assumption regarding a population parameter. The methodology employed by the analyst depends on the nature of the data used and the reason for the analysis.

Hypothesis testing is used to assess the plausibility of a hypothesis by using sample data. Such data may come from a larger population, or from a data-generating process. The word "population" will be used for both of these cases in the following descriptions.

Hypothesis testing is used to assess the plausibility of a hypothesis by using sample data.
The test provides evidence concerning the plausibility of the hypothesis, given the data.
Statistical analysts test a hypothesis by measuring and examining a random sample of the population being analyzed.

How Hypothesis Testing Works

In hypothesis testing, an analyst tests a statistical sample, with the goal of providing evidence on the plausibility of the null hypothesis.

Statistical analysts test a hypothesis by measuring and examining a random sample of the population being analyzed. All analysts use a random population sample to test two different hypotheses: the null hypothesis and the alternative hypothesis.

The null hypothesis is usually a hypothesis of equality between population parameters; e.g., a null hypothesis may state that the population mean return is equal to zero. The alternative hypothesis is effectively the opposite of a null hypothesis (e.g., the population mean return is not equal to zero). Thus, they are mutually exclusive, and only one can be true. However, one of the two hypotheses will always be true.

4 Steps of Hypothesis Testing

All hypotheses are tested using a four-step process:

  1. The first step is for the analyst to state the two hypotheses so that only one can be right.
  2. The next step is to formulate an analysis plan, which outlines how the data will be evaluated.
  3. The third step is to carry out the plan and physically analyze the sample data.
  4. The fourth and final step is to analyze the results and either reject the null hypothesis, or state that the null hypothesis is plausible, given the data.

Real-World Example of Hypothesis Testing

If, for example, a person wants to test that a penny has exactly a 50% chance of landing on heads, the null hypothesis would be that 50% is correct, and the alternative hypothesis would be that 50% is not correct.

Mathematically, the null hypothesis would be represented as Ho: P = 0.5. The alternative hypothesis would be denoted as "Ha" and be identical to the null hypothesis, except with the equal sign struck-through, meaning that it does not equal 50%.

A random sample of 100 coin flips is taken, and the null hypothesis is then tested. If it is found that the 100 coin flips were distributed as 40 heads and 60 tails, the analyst would assume that a penny does not have a 50% chance of landing on heads and would reject the null hypothesis and accept the alternative hypothesis.

If, on the other hand, there were 48 heads and 52 tails, then it is plausible that the coin could be fair and still produce such a result. In cases such as this where the null hypothesis is "accepted," the analyst states that the difference between the expected results (50 heads and 50 tails) and the observed results (48 heads and 52 tails) is "explainable by chance alone."

Related terms:

Alpha Risk

Alpha risk is the risk in a statistical test of rejecting a null hypothesis when it is actually true.  read more

Investment Analyst

An investment analyst is an expert at evaluating financial information, typically for the purpose of making buy, sell, and hold recommendations for securities. read more

Bonferroni Test

A Bonferroni Test is a type of multiple comparison test used in statistical analysis. read more

Chi-Square (χ2) Statistic

A chi-square (χ2) statistic is a test that measures how expectations compare to actual observed data (or model results). read more

Mutually Exclusive

Mutually exclusive is a statistical term describing two or more events that cannot occur simultaneously. read more

Null Hypothesis : Testing & Examples

A null hypothesis is a type of hypothesis used in statistics that proposes that no statistical significance exists in a set of given observations. read more

P-Value

P-value is the level of marginal significance within a statistical hypothesis test, representing the probability of the occurrence of a given event. read more

Test

A test is when a stock’s price approaches an established support or resistance level set by the market. read more

Two-Tailed Test

A two-tailed test is the statistical testing of whether a distribution is two-sided and if a sample is greater than or less than a range of values. read more

Wilcoxon Test

The Wilcoxon test, which refers to either the Rank Sum test or the Signed Rank test, is a nonparametric test that compares two paired groups. read more