Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: margeff/margins discrepancy

From   Richard Williams <>
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:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

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