Statistical Inference Calculators

Draw conclusions from samples: confidence intervals and margins of error, sample sizes for surveys, correlation and regression for paired data, and ANOVA and chi-square tests with p-values and critical values.

Which inference calculator to use

  • Reporting a survey or sample result with a range: Confidence Interval Calculator, for a mean or a proportion.
  • Checking how precise a poll is, the ± figure: Margin of Error Calculator.
  • Planning a survey before you start: Sample Size Calculator tells you how many completed responses you need.
  • How strongly two paired variables move together: Correlation Calculator, with Pearson r and Spearman.
  • Predicting one variable from another with a straight line: Linear Regression Calculator.
  • Comparing the means of 2 to 5 groups at once: ANOVA Calculator.
  • Testing counts in categories against independence or expected shares: Chi-Square Calculator.

Margin of error, sample size and p-values in plain terms

Halving the margin of error needs about four times as many responses. Population size hardly matters once it is large, so about 1,000 responses give roughly ± 3% for a city or a whole country.

A p-value is the chance of seeing a result at least this extreme if there were really no effect. A small p-value, commonly below 0.05, suggests the effect is real, but it does not tell you how large or important it is.

Questions

What is the difference between a confidence interval and the margin of error?

The margin of error is half the width of the confidence interval. A result of 52% ± 3% has the interval 49% to 55%.

Should I use correlation or regression?

Use correlation to measure the strength of a relationship. Use regression when you want an equation to predict one variable from the other.