Start Here
Not sure which test to use? The Categorical Data Analysis Wizard asks a few questions and gives you a direct recommendation.
Open the Categorical Data Analysis Wizard →
StatClinicClinical Statistics SuiteTesting associations and comparing proportions between categorical variables.
Not sure which test to use? The Categorical Data Analysis Wizard asks a few questions and gives you a direct recommendation.
Open the Categorical Data Analysis Wizard →Journals expect more than a p-value. For each test, report the effect estimate and its 95% confidence interval alongside the p-value:
Chi-square/Fisher compare independent groups; McNemar compares paired proportions at 2 time points; Cochran’s Q extends McNemar to 3+ related time points.
Use chi-square when all expected cell frequencies in your table are at least 5. Use Fisher’s exact test when any expected frequency is below 5 -- it is valid for any sample size.
Use McNemar when the same subjects are measured twice (paired data), e.g. positive/negative before vs. after an intervention. Chi-square assumes independent groups.
Cochran’s Q extends McNemar’s test to 3 or more related (repeated) binary measurements on the same subjects.
Use Odds Ratio for case-control studies (where incidence can’t be directly calculated). Use Relative Risk for cohort studies and RCTs where you have true incidence data in both groups.
NNT is the number of patients who need to receive the treatment for one additional patient to benefit, calculated as 1 divided by the absolute risk reduction.
Use the Exact Binomial Test rather than a chi-square approximation, especially with small samples or proportions near 0 or 1.