Bookmark and Share

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]

Re: st: marginsplot of marginal effects of a factor variable from a probit, including the baseline


From   "Dimitriy V. Masterov" <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: marginsplot of marginal effects of a factor variable from a probit, including the baseline
Date   Wed, 17 Apr 2013 13:21:47 -0700

Thanks, Maarten!

Here's what I wound up doing:

webuse union, clear
tabstat union , by(year)
probit union ib(80).year
local bl = normal(_b[_cons])

margins, dydx(year)
marginsplot, yline(`bl') ylab(-.15(.05).3)

DVM
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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