Norton and Ai (2003) and Norton, Wang and Ai (2004) discuss methods for calculating the appropriate marginal effects for interactions in binary logit/probit models. These functions are direct translations of the Norton, Wang and Ai (2004) Stata code. These functions are not intended to be called by the user directly, rather they are called as needed by `intEff`

.

1 2 3 4 5 6 | ```
logit_cc(obj=obj, int.var=int.var, vars=vars, b=b, X=X)
logit_cd(obj=obj, int.var=int.var, vars=vars, b=b, X=X)
logit_dd(obj=obj, int.var=int.var, vars=vars, b=b, X=X)
probit_cc(obj=obj, int.var=int.var, vars=vars, b=b, X=X)
probit_cd(obj=obj, int.var=int.var, vars=vars, b=b, X=X)
probit_dd(obj=obj, int.var=int.var, vars=vars, b=b, X=X)
``` |

`obj` |
A binary logit or probit model estimated with |

`int.var` |
The name of the interaction variable. |

`vars` |
A vector of the two variables involved in the interaction. |

`b` |
Coefficients from the |

`X` |
Model matrix from the |

A data frame with the following variable:

`int_eff` |
The correctly calucalted marginal effect. |

`linear` |
The incorrectly calculated marginal effect following the linear model analogy. |

`phat` |
Predicted Pr(Y=1|X). |

`se_int_eff` |
Standard error of |

`zstat` |
The interaction effect divided by its standard error |

Dave Armstrong (UW-Milwaukee, Department of Political Science)

Norton, Edward C., Hua Wang and Chunrong Ai. 2004. Computing Interaction Effects and Standard Errors in Logit and Probit Models. The Stata Journal 4(2): 154-167.

Ai, Chunrong and Edward C. Norton. 2003. Interaction Terms in Logit and Probit Models. Economics Letters 80(1): 123-129.

Norton, Edward C., Hua Wang and Chunrong Ai. 2004. inteff: Computing Interaction Effects and Standard Errors in Logit and Probit Models, Stata Code. http://www.stata-journal.com/software/sj4-3/.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.