Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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" <dvmaster@gmail.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index