Study and Productivity

How to Write Null and Alternative Hypotheses Correctly

A practical guide to writing H0 and H1: parameters, one or two tails, where the claim goes, decision rules and conclusion sentences that earn marks.

Saizul Amin
Saizul Amin3 Nov 2026 · 3 min read
How to Write Null and Alternative Hypotheses Correctly

How to Write Null and Alternative Hypotheses Correctly

The calculation in a hypothesis test is often the easy part. Marks slip away in the first line, when the hypotheses are written about the sample instead of the population, and in the last line, when the conclusion claims the test proved something. This guide sets out the rules and shows how the free hypothesis statement writer helps you apply them.

Hypotheses are about parameters

A hypothesis test asks a question about a population, so H₀ and H₁ must use population parameters: μ for a mean, p for a proportion, ρ for a correlation, σ² for a variance. Writing x̄ = 500 is wrong, because the sample mean is known exactly; there is nothing to test.

Always define the parameter in context: "where μ is the mean fill volume, in millilitres, of all bottles filled by the machine". Many mark schemes give a mark just for that sentence.

The null hypothesis contains the equality

H₀ is the "nothing special is happening" statement. It must give the parameter one exact value, because the test works out the distribution of the statistic assuming H₀ is true. So H₀: μ = 500, H₀: p = 0.25 or H₀: ρ = 0.

Choosing the alternative

H₁ states what you are looking for evidence of:

  • μ ≠ 500 if a change in either direction matters (two-tailed);
  • μ > 500 if you suspect an increase (one-tailed, upper);
  • μ < 500 if you suspect a decrease (one-tailed, lower).

Decide the direction from the question, before looking at the data. Words such as "more than", "increased" or "improves" point to >; "less than", "reduced" or "fewer" point to <; "different", "changed" or "has an effect" point to ≠.

Where does the claim go?

A claim containing equality, such as "at least 80% pass" or "at most 5% are faulty", belongs in H₀, and the test looks for evidence against it. A claim of a strict difference ("the new method is faster") belongs in H₁. The writer reads the wording of your claim, explains which case applies and sets the direction, but always check its choice against the question.

Tests without a single parameter

Chi-square tests and ANOVA are written in words. For independence: H₀: there is no association between the two variables; H₁: there is an association. For ANOVA: H₀: all group means are equal; H₁: at least one mean is different. Never write H₁ as "all means are different".

The decision rule

State the significance level and the critical region before calculating. For a lower-tailed t test with 24 degrees of freedom at 5%, the rule is "reject H₀ if t ≤ −1.711". The writer computes this for your α and degrees of freedom.

Conclusions that earn marks

A full conclusion has three parts: the comparison (p = 0.031 ≤ 0.05, or the statistic in the critical region), the decision (reject H₀) and a sentence in context with the significance level ("There is sufficient evidence at the 5% level to suggest that the mean fill volume is less than 500 ml.").

When the result is not significant, write "do not reject H₀" and "insufficient evidence to suggest", never "accept H₀" or "this proves the mean is 500". A non-significant result means the data are compatible with H₀, not that H₀ is true.

Practice

The practice tab gives short scenarios and asks you to pick the correct alternative, then gives p-values and asks for the decision. Saved hypothesis sets can be copied straight into a lab report or coursework.

Limits

Automatic claim detection relies on key phrases and can misread unusual wording. The writer does not run tests from data or check assumptions such as normality or independence. Some courses write one-tailed nulls as μ ≥ 500; follow your teacher's convention.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages