Statistical Test Selector

Select the variable you're testing against your outcome — organised the same way as your Data Collection Form — to get a recommended test, or browse the full reference table below.

Find Your Test

Select the variable you want to test against your outcome — organised the same way as your Data Collection Form. The recommendation updates live as you answer.

1Which variable do you want to test against your outcome?

Demographics
Age Continuous
Gender Nominal
Weight Continuous
BMI Continuous
Baseline Parameters / Classification / Study-Specific Details / Another Outcome
Baseline Parameters
Classification into Type
Study-Specific Details
Another Outcome Variable

2What type of data is your Outcome?

Nominal e.g. complication type
Dichotomous e.g. union yes/no
Ordinal e.g. functional grade
Continuous e.g. score, ROM, blood loss

3Is the continuous variable normally distributed?

Yes — Normalparametric
No — Not Normalnon-parametric
Not Checked Yet
Testing

Special Situations

These don't fit the group-comparison wizard above — click to expand.

Time-to-Event / Survival Data — e.g. time to union, implant failure, reoperation▶
PurposeTest
Describe survival over timeKaplan-Meier survival curve
Compare 2 or more groupsLog-rank test
Adjust for confoundersCox proportional hazards regression
Diagnostic Accuracy — new test vs a reference standard▶
Sensitivity, specificity, positive predictive value, negative predictive value against the reference standard; overall discrimination summarised with a ROC curve and AUC.
Agreement / Reliability — inter-observer or intra-observer▶
Data TypeTest
Categorical ratings, 2 ratersCohen's kappa
Categorical ratings, >2 ratersFleiss' kappa
Continuous measurementsIntraclass correlation coefficient (ICC), with Bland-Altman plot to show the pattern of disagreement
Multivariable / Adjusted Analysis — controlling for confounders▶
Outcome TypeTest
ContinuousMultiple linear regression
BinaryLogistic regression
OrdinalOrdinal (proportional odds) logistic regression
Count (e.g. number of complications)Poisson or negative binomial regression
Time-to-eventCox regression

Almost always needed once a significant univariate association is found, to check it survives adjustment for confounders.

Master Reference Table

Data Type2 Independent Groups2 Related Groups>2 Independent Groups>2 Related GroupsAssociation / Correlation
Nominal / DichotomousChi-square test (Fisher's exact if any expected cell <5)McNemar's testChi-square test of independenceCochran's Q testPhi coefficient / Cramer's V; Odds ratio, Relative risk
OrdinalMann-Whitney U testWilcoxon signed-rank testKruskal-Wallis test (+ post-hoc Dunn's)Friedman test (+ post-hoc)Spearman's rho / Kendall's tau; Chi-square trend test
Continuous — NormalIndependent (unpaired) t-testPaired t-testOne-way ANOVA (+ post-hoc Tukey)Repeated-measures ANOVAPearson's correlation; Linear regression
Continuous — Non-normalMann-Whitney U testWilcoxon signed-rank testKruskal-Wallis testFriedman testSpearman's rho

Worked Orthopaedic Examples

Research QuestionData TypeDesignTest
Union rate: dual-plating vs single-platingDichotomous2 independent groupsChi-square / Fisher's exact
Knee Society Score at 6 months, two techniquesContinuous, check normality2 independent groupsUnpaired t-test or Mann-Whitney
VAS pain score pre-op vs post-op, same patientsOrdinal / often-skewed continuous2 related groupsWilcoxon signed-rank
Functional outcome across 3 AO/OTA fracture gradesOrdinal outcome, >2 groups>2 independent groupsKruskal-Wallis
Blood loss vs surgical timeContinuous vs continuousCorrelationPearson's or Spearman's, depending on normality
Predictors of surgical site infection (age, diabetes, BMI, surgical time)Dichotomous outcome, multiple predictorsMultivariableLogistic regression
Implant survivorship over 3 yearsTime-to-eventComparing 2 implant typesKaplan-Meier + Log-rank
Two surgeons grading the same X-rays on Tönnis classificationOrdinal, same subjects rated twiceAgreementWeighted Cohen's kappa

Common Errors to Avoid