[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: stata code for two-part model

From   "Shehzad Ali" <>
To   <>
Subject   st: stata code for two-part model
Date   Sat, 16 Aug 2008 04:01:19 +0100


I was wondering if someone can help with stata code for calculating marginal
effects after two-part models for say, cost of care. Here, first part is a
probit model for seeking care or not, and the second part is an OLS model of
cost of care, conditional on decision to seek care. Here is the simplified

probit care $xvar

reg cost $zvar if care==1


I understand that mfx after the second part gives us the marginal effects
for the OLS part only, and not the conditional marginal effects.

Any help would be appreciated.



Shehzad Ali
Department of Social Policy & Social Work
University of York
YO10 5DD

Tel: *44 (0) 773 813 0094

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index