# Is there a simple way to conduct a significance test on the equality of coefficients from a logistic regression?

Elsewhere some have proposed a method for conducting a significance test on the equality of slope coefficients using the equation:

$$Z = \frac{\beta_1-\beta_2}{\sqrt{(SE\beta_1)^2+(SE\beta_2)^2}}$$

following from Clogg, C. C., Petkova, E., & Haritou, A. (1995). Statistical methods for comparing regression coefficients between models. American Journal of Sociology, 100(5), 1261-1293. and is cited by Paternoster, R., Brame, R., Mazerolle, P., & Piquero, A. (1998). Using the correct statistical test for equality of regression coefficients. Criminology, 36(4), 859-866. equation 4. Cohen, Cohen, West, and Aiken, propose something quite similar in equation 2.8.6 of Applied Multiple Regression / Correlation Analysis for the Behavioral Sciences (3rd Ed).

Question in two parts.

Part 1. How does this approach apply in the context of logistic regression? Specifically, it would seem like the outcome variable of 0s and 1s can't be Z scored in the typical way one might do in order to produce standardized slopes. If this approach won't work at all, is there one that is similarly 'easy'?

Part 2. In OLS, how does this approach apply if the predictor variables are 0 and 1? Would you still Z transform them to get a standardized slope, or because they are on the same scale should they be left as is? Are they on the same scale at all if the mean of one is not equal to the mean of the other? What would you do if just one of the predictors is binary?

• Since this is a test for equality of coefficients, it doesn't matter whether the predictors themselves are binary or continuous or something else. Similarly with the outcome variables... although in the case of logistic regression we are relying on asymptotics, whereas with OLS we either rely on asymptotics or make the assumption that the residuals are i.i.d. Normal (not the predictors!). – jbowman Apr 23 at 22:19
• This approach is invalid in general because it assumes the coefficient estimates are (at least approximately) uncorrelated. – whuber Apr 24 at 2:16
• I presume it's intended to be used for models fitted to separate samples rather than the same set of data – Glen_b Apr 24 at 2:43
• @whuber I'm curious, what approach is valid under more general circumstances? – russellpierce Apr 24 at 3:25
• The denominator is supposed to be the standard deviation of the difference of the estimates, $\hat\beta_1 - \hat\beta_2.$ That is given by $$\sqrt{\operatorname{Var}(\hat\beta_1) + \operatorname{Var}(\hat\beta_2) - 2\operatorname{Cov}(\hat\beta_1, \hat\beta_2)}.$$ The covariance term becomes appreciable when the estimates are correlated. – whuber Apr 24 at 3:28