Statistical inference

Hypothesis testing calculator

Choose the test, enter raw data or summary statistics, and get the test statistic, p-value, confidence interval, and a direct view of the rejection region.

Valid A: 0Time: 0 msα: 0.05

Choose a test

Tests are grouped by the parameter you want to evaluate.

Tests on means

Choose the test family first and then the specific test.

Data input

Use raw data when you have the full sample, or summary statistics when you are working from published results.

Valid values: 0Ignored tokens: 0

The population mean is equal to 0.

Results

The panel summarizes the test, the critical value, and the associated confidence interval.

The test cannot be computed yet
  • Sample A needs at least two valid values.

Visualization

The distribution under H0 and the confidence interval help you quickly see whether the statistic falls inside or outside the rejection region.

Statistic distribution and rejection region

The curve shows the theoretical distribution under H0, with the p-value area and the critical region shaded.

Confidence interval

The segment shows the estimated interval and the line marks the reference value.

Test assumptions

When raw data is available, some assumptions are checked automatically.

Assumptions will appear here when the test can be computed.

About this tool

Hypothesis testing is the statistical procedure that allows decisions to be made based on data. A null hypothesis H0H_0 is formulated representing the default state, and it is evaluated whether the observed data are sufficiently improbable under that hypothesis to reject it in favor of the alternative hypothesis H1H_1.

The p-value does not measure the probability that H0H_0 is true. It measures P(data∣H0)P(\text{data} \mid H_0), the probability of obtaining results as extreme as those observed assuming H0H_0 is true. If p<αp < \alpha (usually α=0.05\alpha = 0.05), we reject H0H_0. For a two-sample t-test, the statistic is t=xˉ1−xˉ2sp1/n1+1/n2t = \frac{\bar{x}_1 - \bar{x}_2}{s_p\sqrt{1/n_1 + 1/n_2}} where sps_p is the pooled standard deviation. Each test has its own statistic and reference distribution under H0H_0.

This tool supports the most common tests: one- and two-sample t-tests, proportion tests, chi-squared, and ANOVA. For each, you can visualize the distribution of the test statistic, the rejection region, and the corresponding p-value.