Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Conditional marginal effects in heckprob
From
"Garrido, Melissa" <[email protected]>
To
<[email protected]>
Subject
st: Conditional marginal effects in heckprob
Date
Mon, 23 Aug 2010 10:14:21 -0400
Hi -
I have a question about the -margins- command in Stata 11, when used
after heckprob.
I want to get conditional marginal effects of my outcome variable, but
I'm not sure whether I have the correct syntax (and haven't found the
answer in the help files).
Is the default option within -margins- to calculate the conditional
marginal effect, or is there something additional I need to specify?
Here is what I have:
****
heckprob diedvsroutinetotal = $indepvar , select (not_transfer =
$indepvar $instruments)
/*Marginal effects at means:*/
margins, dydx(*) atmeans
/*Average marginal effect:*/
margins, dydx(*)
***
Thank you,
Melissa
--------------------------------------------------------------------
Melissa Garrido, PhD
Research Health Science Specialist
GRECC/REAP, James J Peters VA Medical Center
130 West Kingsbridge Road
Bronx, NY 10468
718-584-9000 x 3804
[email protected]
Assistant Professor
Department of Geriatrics & Palliative Medicine
Box 1070
Mount Sinai School of Medicine
One Gustave L. Levy Place
New York, NY 10029
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/