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: margeff/margins discrepancy


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: margeff/margins discrepancy
Date   Mon, 26 Apr 2010 21:02:30 -0500

At 06:27 PM 4/26/2010, Joao Ricardo F. Lima wrote:
Dear Richard and Statalister,

use -margeff, at(mean) replace-

************begin example***********
sysuse nlsw88.dta, clear
probit married wage if age==45
margeff, at(mean) replace
margins, dydx(wage)
*************end example**********

Thanks. I haven't worked through the code, but it appears the at(mean) option avoids the buggy part of the code that Kit discovered. Unfortunately, using at(mean) wipes out one of the biggest advantages of margeff, which is getting the average partial effects. The new margins command will now get you the average partial effects, but margeff is often quicker and easier (plus it is just about the only option if you don't have Stata 11).


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

*
*   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/


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