Loading…

Hypothesis Tests

Statistics • Hypothesis Tests About the Mean and Proportion

View all topics

Hypothesis Tests: An Introduction

Build H0 and H1, choose a significance level (α), see rejection / nonrejection regions, and (optionally) explore Type I (α) and Type II (β) errors and power (1 − β).

The null hypothesis (H0) always includes = (or ≥ / ≤). The alternative (H1) determines whether the test is two-tailed, left-tailed, or right-tailed.

Used for the standard error σ/√n (intro z setup).

If provided, the calculator estimates β and power for your chosen α, tail, and n.

Quick reference: signs and tails
Test type H0 sign (typical) H1 sign Rejection region
Two-tailed = Both tails (area α/2 each)
Left-tailed = or ≥ < Left tail (area α)
Right-tailed = or ≤ > Right tail (area α)

Decisions are stated as reject H0 or do not reject H0.

Ready

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How do I choose between a mean test and a proportion test in this calculator?

Choose the mean (mu) option when your data represent a numeric measurement and the population standard deviation sigma is known for a z setup. Choose the proportion (p) option when your data represent successes out of n and you are testing a population proportion.

What is the difference between a two-tailed, left-tailed, and right-tailed hypothesis test?

The alternative hypothesis determines the tail: two-tailed tests use not equal and split alpha into both tails, left-tailed tests use less than and put alpha in the left tail, and right-tailed tests use greater than and put alpha in the right tail. The tail choice controls where the rejection region is located.

How is the z test statistic computed for a mean or proportion?

For a mean with known sigma, z = (xbar - mu0) / (sigma / sqrt(n)). For a proportion, z = (p-hat - p0) / sqrt(p0(1 - p0) / n), where p-hat = x/n.

When do I reject the null hypothesis using the p-value approach?

Using the p-value approach, reject H0 when the computed p-value is less than or equal to alpha. Otherwise, do not reject H0.

What do beta and power mean and how does this calculator estimate them?

Beta is the probability of not rejecting H0 when H0 is false, and power equals 1 - beta. If you provide an assumed true value (mu_true or p_true), the calculator estimates beta and power for your chosen alpha, tail direction, and sample size.