David B. Wilson, PhD, George Mason University
Version date: 2023.11.27
Binary Dependent Variable: 2 by 2 Frequency Table with Pretest Data
Notes: This method approximates Cohen’s d and Hedges’ g from binary or dichotomous outcome data using the frequencies of a 2-by-2 contingency table for the pretest and post-test. The method produces a difference-in-differences effect size estimate. Two computational methods are provided, the logit method and the Cox logit method. If any cell of the 2-by-2 equals zero, .5 is added to all cells. Enter the correlation between the pretest/post-test values if it is known. If it is unknown, a default value of 0.50 will be used. This value does not affect the effect size but does affect the standard error/variance. As such, the standard error is an approximation. 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).

This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.
