Algunas partes de esta página aún no están traducidas al español y se muestran en inglés.
Choose a statistical test from three facts: what your question asks (compare groups, test a relationship or predict an outcome), what type your outcome variable is (continuous, ordinal, categorical or binary), and whether observations are independent or paired. For example, two independent groups with a continuous outcome usually need an independent-samples t-test, or a Mann–Whitney U test if assumptions are not met.
Ideas clave
- Start from the research question, not the software menu
- Outcome type and study design decide most choices
- Check assumptions before trusting a p-value
- Always report an effect size
- Plan your analysis before you collect data
Statistics software offers dozens of tests, which makes it easy to choose one because it gives a "significant" result. A better approach is to decide the test from your design before you analyse. Three questions settle most decisions.
Question 1: What does your research question ask?
- Differences: do groups or conditions differ? (e.g. do online and on-campus students differ in satisfaction?)
- Relationships: are two variables associated? (e.g. is study time related to marks?)
- Prediction: which factors predict an outcome, controlling for others?
Question 2: What type is your outcome variable?
- Continuous: measured on a scale with meaningful intervals (marks, income, time).
- Ordinal: ordered categories (single Likert items, rankings).
- Categorical / binary: groups without order (yes/no, region, diagnosis).
Question 3: Are the observations independent or paired?
Independent means different people in each group. Paired (related) means the same people measured twice, or matched pairs.
Decision table
| Your question | Outcome | Design | Parametric test | Non-parametric alternative |
|---|---|---|---|---|
| Compare 2 groups | Continuous | Independent | Independent-samples t-test | Mann–Whitney U |
| Compare 2 measurements | Continuous | Paired | Paired t-test | Wilcoxon signed-rank |
| Compare 3+ groups | Continuous | Independent | One-way ANOVA (+ post-hoc tests) | Kruskal–Wallis |
| Compare 3+ measurements | Continuous | Paired | Repeated-measures ANOVA | Friedman test |
| Association of 2 variables | Both continuous | — | Pearson correlation | Spearman correlation |
| Association of 2 variables | Both categorical | Independent | Chi-square test of independence | Fisher's exact test (small expected counts) |
| Predict an outcome from several factors | Continuous | — | Multiple linear regression | — |
| Predict an outcome from several factors | Binary | — | Binary logistic regression | — |
| Predict a count | Count | — | Poisson or negative binomial regression | — |
| Time until an event | Time-to-event | — | Cox regression; Kaplan–Meier curves | Log-rank test |
| Internal consistency of a scale | Item scores | — | Cronbach's alpha | — |
For multi-item Likert scales, researchers commonly sum or average items into a scale score and treat it as continuous; single Likert items are usually treated as ordinal. Follow the convention in your field and justify it.
Which assumptions should I check?
- Independence of observations — decided by your design.
- Normality of the outcome within groups or of model residuals — check with plots (Q-Q, histograms) rather than relying only on tests, which are over-sensitive in large samples.
- Equal variances between groups — Levene's test; use Welch's t-test or ANOVA if variances differ.
- Linearity and absence of strong multicollinearity for regression.
- Expected cell counts of at least 5 in most cells for chi-square.
How do I report results?
Report the test, the statistic, degrees of freedom, exact p-value and an effect size, in the style your department requires. An APA-style example with hypothetical numbers:
Online students reported higher satisfaction (M = 4.1, SD = 0.6) than on-campus students (M = 3.7, SD = 0.7), t(118) = 3.36, p = .001, d = 0.61.
Common effect sizes are Cohen's d for two groups, η² or partial η² for ANOVA, r for correlations and odds ratios for logistic regression.
Plan sample size first
The number of participants affects which tests are reliable. For surveys estimating a percentage or a mean, our sample size calculator gives a starting point; for tests of differences, a power analysis (for example with G*Power) is more appropriate.
Need help applying this to your own data? Our statistics tutoring works through your analysis step by step in SPSS, R, Stata or Python.
Preguntas frecuentes
When should I use a non-parametric test?
Consider one when your outcome is ordinal, or when a continuous outcome is clearly non-normal in a small sample or has serious outliers. With larger samples, t-tests and ANOVA are fairly robust to moderate non-normality; check what your field normally reports.
What is the difference between correlation and regression?
Correlation measures the strength and direction of a relationship between two variables. Regression models how an outcome changes with one or more predictors and lets you control for other variables.
Is p < .05 enough to report?
No. Report the test statistic, degrees of freedom, exact p-value and an effect size with, ideally, a confidence interval. Statistical significance does not tell you how large or important an effect is.
Esta guía ofrece consejos generales. La normativa de tu universidad, la rúbrica y tu tutor siempre tienen prioridad.