Hypothesis Statement Writer (H0 and H1)

Turn a claim into correct H0 and H1 statements for ten common tests, pick the tail from the wording, and get the decision rule and conclusion sentence.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Describe the claim

    Type the claim or research question in your own words.

  2. 2
    Detect the tail

    Press Detect direction from the claim and read the reason given.

  3. 3
    Choose the test

    Pick one of the ten tests and fill in the context, value and group names.

  4. 4
    Check the statements

    Read H0 and H1 in symbols and in words.

  5. 5
    Set α and df

    Choose the significance level and degrees of freedom to get the decision rule.

  6. 6
    Conclude

    Enter your p-value, read the conclusion, then copy, print or save the set.

About this tool

Many marks in a statistics exam are lost before any calculation, in the hypotheses and the final sentence. H0 is written about the sample mean instead of the population, the wrong tail is chosen, or the conclusion says the test "proves" something. This writer guides you through the wording. Describe the claim in your own words and the tool reads phrases like "more than", "at least" or "different from" to choose the tail and decide whether the claim belongs in H0 or H1. Choose the test from ten common ones, add the context, and you get H0 and H1 in symbols and in words, the test statistic formula, the distribution, the critical region for your α and degrees of freedom, and a conclusion sentence in context once you enter a p-value. Saved sets can be copied into a report.

Who it is for

Students in AP Statistics, A-level, IB, psychology, biology, sport science and business courses, and anyone writing up a hypothesis test for a coursework project or lab report.

The rules the writer follows

Hypotheses are statements about a population parameter (μ, p, μ₁ − μ₂, ρ, σ²), never about a sample statistic. H0 always contains the equality. H1 is what you are looking for evidence of, so it uses ≠ for a change in either direction, > for an increase and < for a decrease. A claim with "at least" or "at most" contains equality, so it goes in H0, and H1 is the opposite direction. The chi-square, goodness-of-fit and ANOVA tests are written in words, because their hypotheses are about independence, a distribution or several means.

The ten tests

One-sample mean, two independent means, paired differences, one proportion, two proportions, Pearson correlation, chi-square independence, chi-square goodness of fit, one-way ANOVA and two variances (F test). Each comes with the usual statistic formula and the distribution under H0, and the degrees-of-freedom hint for that test.

Decisions and conclusions

The tool computes the critical value for your α, tails and degrees of freedom, so the decision rule is stated in numbers. Enter the p-value from your calculator or software and it writes a conclusion in context: reject or do not reject H0, sufficient or insufficient evidence at the stated level, and what that means for the claim. It never says H0 is proven true.

Worked example

Claim: "The machine fills bottles with less than 500 ml on average." H0: μ = 500, H1: μ < 500, one-tailed. With 25 bottles (df = 24) at α = 0.05 the decision rule is reject H0 if t ≤ −1.711. With p = 0.031: since 0.031 ≤ 0.05, reject H0; there is sufficient evidence at the 5% level that the mean fill volume is less than 500 ml.

Limits

Claim detection relies on key phrases and can be wrong for unusual wording, so always check the direction it picks. The tool writes hypotheses and conclusions; it does not run the test from raw data or check its conditions. Some courses prefer H0: μ ≥ 500 for a lower-tailed test; the equality form used here is the most common in textbooks and is accepted by major exam boards.

Worked example

"Less than 500 ml": H0 μ = 500, H1 μ < 500; df 24, reject if t ≤ −1.711; p = 0.031 rejects H0.

Quick facts

Frequently asked questions

Why does H0 always contain an equals sign?

The test assumes H0 is true to work out the distribution of the statistic, which needs one exact value of the parameter. The equality gives that value.

Where does the claim go?

If the claim is a strict inequality or a "difference", it is H1. If it includes equality ("is", "at least", "at most"), it is H0 and the test looks for evidence against it.

When should I use a two-tailed test?

When a change in either direction matters, or when the question only says "different" or "has changed". Use one tail only when the direction is stated before seeing the data.

Can a test prove H0 is true?

No. Failing to reject H0 means the data do not give enough evidence against it at that level. The conclusion sentence is worded to reflect this.

What should a conclusion contain?

The comparison of p with α (or the statistic with the critical value), the decision about H0 and a sentence in the context of the question at the stated significance level.

Can I save several hypothesis sets?

Yes. Save to my list keeps each set in this browser; you can copy one, print all or download them as text.

Guides for this tool

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