On this page
A study question branches into group comparisons, relationships between numerical variables and a proportion estimate, with assumptions to check before choosing a method.
The question and study design determine which methods are worth considering.

Choose a starting point

Which method may fit your study design?

Open the branch that matches your outcome and question. Follow the study design—not the shape of your spreadsheet.

What kind of question are you asking?
Compare the mean of a numerical outcome
One sample compared with a reference value

A one-sample t-test may fit when one numeric sample is compared with a fixed population mean and the population standard deviation is unknown. Choose the reference and test direction from the research question before looking at the result.

Open the one-sample t-test calculator

Two groups or two measurements

Same participants twice, or genuinely matched units? A paired t-test may fit when the outcome is numerical and the paired differences meet the method’s conditions.

Open the paired t-test calculator

Different, independent participants in each group? Welch’s t-test may fit a comparison of two numerical group means when the design and conditions are appropriate.

Open the Welch’s t-test calculator

Three or more independent groups defined by one factor

A classical one-way ANOVA may fit an omnibus comparison of means when observations are independent and the model assumptions are reasonable. Its linked calculator also gives pooled pairwise t comparisons with Holm-adjusted p-values; this is not Tukey HSD. Neither the selector nor calculator covers repeated-measures, multi-factor or unequal-variance designs.

Open the one-way ANOVA calculator

Repeated measurements across three or more times, or several factors

This selector does not cover that design. Do not treat repeated measurements as independent groups or use a one-way calculator as a substitute. Check your course materials or consult a statistician about an analysis that accounts for the design.

Examine the association between two numerical variables

For paired observations and a question about a linear relationship, Pearson’s r describes the direction and strength of linear association. Inspect a scatterplot and unusual observations. Correlation does not establish causation, and the calculator does not provide an inferential test.

Open the Pearson correlation calculator and scatterplot

Work with categorical data
Estimate one proportion after collecting categorical data

This is an interval-estimation question rather than a test comparing groups. If each observation is an independent success/failure outcome, the Wilson interval tool can estimate one proportion. It does not compare two groups.

Open the proportion confidence-interval calculator

Compare proportions in two independent groups

A two-proportion z-test may fit an independent success/failure outcome in two groups when the normal approximation is reasonable. The calculator reports the signed difference, a two-sided confidence interval and the pooled z-test with a selected alternative; specify a direction before inspecting results. Check the counts and study design first.

Open the two-proportion z-test calculator

Are two categorical variables associated?

A chi-square test of independence may fit a two-way table of observed counts when independent cases each contribute to one cell. Inspect expected counts before using the approximation. For a sparse 2 × 2 table, a conditional exact method may be appropriate; this does not make it suitable for paired or clustered data.

Open the chi-square association calculator Open Fisher’s exact 2 × 2 calculator

Do two raters agree on the same items?

For two raters independently assigning one nominal label to each of the same items, unweighted Cohen’s kappa summarizes agreement. Keep the item order aligned and inspect the category table and raw agreement. It does not validate the labels or support weighted ratings or more than two raters.

Open the Cohen’s kappa agreement calculator

Predict an outcome or analyze another design

This guide does not cover paired categorical change, chi-square goodness-of-fit, ordinal or weighted agreement, more than two raters, count models, clustered or time-to-event data, prediction, or non-parametric alternatives. Follow the method required by your course or ask a qualified instructor or statistician.

This is an educational navigation aid, not personalized statistical advice. It does not read or upload data, select a test from observed results, or check assumptions.

Start with the study design, not the software

Identify the outcome you measured, the question you want to answer and how each observation relates to the others. A numerical outcome compared across groups is a different problem from a relationship between two numerical variables or a comparison of category counts. Then check whether measurements came from separate participants, the same participants at different times, or another matched structure.

This selector covers only several common introductory designs. It does not inspect a dataset, test assumptions, determine sample size or certify that an analysis is appropriate. If your assignment or research plan names a method, follow that direction and ask your instructor or supervisor when the design is unclear.

Supporting reading: [1]

Summarize one numeric variable before choosing an inferential method

If you first need a count, center and spread for one numeric column, calculate descriptive statistics before asking a group-comparison or relationship question. Review what the values represent and inspect the distribution; these summaries describe the entered data but do not select a test or verify assumptions.

Supporting reading: [11]

Common designs and the methods they may fit

For one numeric sample compared with a fixed reference mean, a one-sample t-test may fit when the population standard deviation is unknown and the study conditions are reasonable. For two numerical measurements taken from the same people or genuinely matched units, a paired t-test analyzes the within-pair differences. For numerical outcomes from two separate, independent groups, Welch’s t-test compares group means without requiring equal population variances. For one numerical outcome across three or more independent groups and one grouping factor, a classical one-way ANOVA tests the omnibus equal-means question under its model assumptions; the linked calculator also reports pooled pairwise t comparisons with Holm-adjusted p-values under that same common-variance model.

The one-sample test uses the difference between the sample mean and a stated reference value divided by the estimated standard error; its degrees of freedom are n − 1. Penn State describes the one-mean test, confidence interval and assumptions, while NIST gives the corresponding statistic. See sources [5] and [6].

For two paired numerical variables where the question concerns a straight-line association, Pearson’s correlation summarizes linear association. A correlation is not a group comparison and does not establish that one variable causes the other. Check a scatterplot and the measurement and sampling design before interpreting the coefficient.

The paired versus independent distinction matters: two columns are not automatically independent just because they are stored separately. Penn State’s applied statistics notes distinguish repeated measurements on the same subject from separate samples; NIST describes paired observations as measurements with a natural one-to-one match. See supporting sources [1] and [2].

Supporting reading: [1] [2] [3] [5] [6]

Distinguish estimation, association and agreement

Categorical data do not point to one universal test. Estimating the share of independent cases in one category is an interval-estimation task. Asking whether two categorical variables are associated is a different question; a chi-square test of independence may fit a two-way table when independent cases each contribute to one cell and the expected counts support the approximation.

If the question is whether a binary outcome proportion differs between two independent groups, use a two-proportion method. Our calculator reports the signed difference and a two-sided Newcombe-Wilson confidence interval alongside a pooled z-test with a selected alternative; choose a direction only when it was specified before reviewing the data. Sparse counts may call for a conditional exact method; paired outcomes require a method that accounts for pairing. NIST and Penn State describe the independent-groups test and its conditions in sources [9] and [10].

When two raters independently label the same items with nominal categories, unweighted Cohen’s kappa summarizes agreement relative to the expected-agreement term from their category frequencies. It does not test a mean difference, validate the categories or establish that the ratings are correct.

Constructed contrast: a table of tutorial group by answer choice concerns association between two variables. A table of Rater A by Rater B labels for the same answers concerns agreement. The table shape alone cannot choose between these questions; identify what the rows, columns and cases represent before opening a calculator.

Supporting reading: [7] [8] [9] [10]

Check assumptions and scope before using a calculator

A calculator can compute a statistic from entered numbers without knowing whether the sample was random, the observations are independent, the measurements are valid or the model is suitable. Review the design, distributions, outliers, measurement scale and course instructions. Classical one-way ANOVA is for one factor and independent groups; repeated-measures or multi-factor designs need methods that account for that structure. NIST’s comparison of several means explains the one-factor model.

Do not choose a method because it produces a preferred p-value. Report the design, estimate, uncertainty and limitations. The American Statistical Association’s statement on p-values cautions that a p-value does not measure effect size or practical importance.

Supporting reading: [2] [3] [4]

When this guide does not fit your data

Ask for methods advice if your outcome is ordinal, your groups are clustered, observations are repeated more than twice, the design has several factors, measurements require a count or time-to-event model, or the main goal is prediction. Paired categorical change, chi-square goodness-of-fit, larger exact tables, weighted or multiple-rater agreement, choosing a non-parametric method and adjusting for several comparisons need guidance beyond these examples. Do not substitute one of the linked calculators merely because its input looks similar.

Questions about this topic

When should I use a one-sample t-test?

Use it when one numeric sample is compared with a fixed reference population mean and the population standard deviation is unknown, provided the design and distribution support the method. It does not compare two groups or account for pairing.

How do I choose between a paired and independent t-test?

Use the way the data were collected. A paired design has a meaningful one-to-one match, such as before-and-after measurements on the same participants. Independent groups contain different units without that pairing. Equal sample sizes alone do not make observations paired.

Should I use a t-test or one-way ANOVA for three groups?

For one numerical outcome measured in three or more independent groups defined by one factor, a classical one-way ANOVA may address the omnibus equal-means question if its assumptions fit. The linked calculator also reports all pooled pairwise t comparisons with Holm-adjusted p-values under the common-variance model; these are not Tukey HSD. Repeated measurements, multiple factors or unequal-variance concerns need a method suited to that design.

Should I use chi-square or Cohen’s kappa for a category table?

Start with the question. Chi-square independence addresses association between two categorical variables when independent cases each contribute to one cell and the approximation is suitable. Unweighted Cohen’s kappa summarizes agreement between two raters assigning nominal labels to the same items. The same table dimensions do not make these methods interchangeable.

Can a test selector decide which method is correct?

No. This guide maps a limited set of common designs to possible starting points. It does not inspect your data or verify sampling, assumptions, measurement quality, research aims or course requirements.

Does a small p-value show that an effect is important?

No. A p-value does not measure effect size or practical importance. Interpret an estimate and its uncertainty in the context of the study design and subject area.

Sources and editorial notes

The supporting reading below informs our editorial guidance. Exercises and scenarios illustrate a method; they do not report a completed product test or measured learning outcome. Read our editorial policy or send a correction with a supporting source to info@ai-essay.com.

  1. Penn State STAT 500: comparing two population parameters and distinguishing paired from independent samples
  2. NIST/SEMATECH e-Handbook: analysis of paired observations
  3. NIST/SEMATECH e-Handbook: comparing means with analysis of variance
  4. American Statistical Association: statement on statistical significance and p-values
  5. Penn State STAT 200: one-sample mean t-test, confidence interval and assumptions
  6. NIST/SEMATECH e-Handbook: confidence limits and one-sample t statistic for the mean
  7. NIST Dataplot: chi-square test of independence for a two-way contingency table
  8. scikit-learn: Cohen’s kappa for agreement between two label assignments
  9. NIST/SEMATECH e-Handbook: pooled z-test and Fisher exact method for two independent proportions
  10. Penn State STAT 200: inference for two independent proportions and normal-approximation conditions
  11. Penn State STAT 200: descriptive measures for quantitative data