Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: cmp AMEs using margins

From   "Dimitriy V. Masterov" <>
To   Statalist <>
Subject   st: cmp AMEs using margins
Date   Thu, 6 Feb 2014 18:36:53 -0800

I am trying to estimate a model where I have a binary outcome D and
two endogenous variables. X is continuous and Z is binary. I have two
instruments, IV1 and IV2. I am using  David Roodman's -cmp- to do

Here's the sample code:

(D = X i.Z)
(Z = IV1)
(X = IV2)
, ind(4 4 1) nolr difficult;

margins, dydx(*) predict(pr eq(#1)) force;

Is the margins command correct if I want the marginal effects of the
two endogenous variables?

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index