Effect Size Calculator

David B. Wilson, PhD, George Mason University
Version date: 2023.11.27

Odds Ratio/Risk Ratio from 2 by 2 Frequency Table with Pre-test

Pre-post correlation

Pre-test/Baseline Frequencies

Post-test/Follow-up Frequencies

Yes

No

Yes

No

Treatment

Control

Odds ratio

OR =

95% C.I. =

ORlogged =

vORlogged =

seORlogged =

Notes: This method computes the odds ratio from 2-by-2 frequency data adjusted for baseline differences on the outcome variable (i.e., pretest 2-by-2 frequency data). Study authors rarely report the pretest/posttest correlation. Fortunately, this correlation is unneeded for computing the baseline adjusted effect size. However, the correlation does affect the standard error/variance. For a robust standard error estimator, set the correlation to 0 (this reproduces the standard error for the treatment effect from a difference-in-differences GEE logistic regression model).