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, is already up and running.

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

Re: st: margeff/margins discrepancy

From   Michael Norman Mitchell <>
Subject   Re: st: margeff/margins discrepancy
Date   Sun, 25 Apr 2010 20:44:23 -0700

Dear Richard

Indeed, I am using a different version of -margeff- than you are. I am using this version from
Stata Journal volume 5, issue 3

and here is the -which- information

. which margeff
*! Marginal effects for categorical dependent variable models
*! This version: 22 April 2005 (Stata Journal submission)
*! Author: Tamas Bartus (Corvinus University Budapest)

  I don't know if that helps to solve this, but there it is :)

Best regards,

Michael N. Mitchell
See the Stata tidbit of the week at...

On 2010-04-25 8.47 PM, Richard Williams wrote:
At 09:14 PM 4/25/2010, Michael Mitchell wrote:

 Hmmm... ran your code and I get the same coefficient and se from
-margeff- and -margins- using Stata 11, see below


  Did I do something wrong not to get different results?

It is not often that we get questions like this -- "Did I do something wrong that caused me to get the correct results?" :)

Personally, I get different results from the two programs, margeff and margins. Why you get it right, I don't know. Are you using the same versions of Stata and margeff as everyone else? If so, is there any chance that at some point you patched your margeff and have since forgotten about it? Here is what I get.

. which margeff
*! Obtain partial effects after estimation
*! Version 2.2.0 (20 August 2009) (Revision of Stata Journal submission)
*! Author:        Tamas Bartus        (Corvinus University, Budapest)

. update query

Stata executable
    folder:               C:\Program Files\Stata11\
    name of file:         StataSE.exe
    currently installed:  20 Apr 2010
    latest available:     20 Apr 2010

Ado-file updates
    folder:               C:\Program Files\Stata11\ado\updates\
    names of files:       (various)
    currently installed:  20 Apr 2010
    latest available:     20 Apr 2010

Utilities updates
    folder:               C:\Program Files\Stata11\utilities
    names of files:       (various)
    currently installed:  11 Feb 2010
    latest available:     11 Feb 2010

    Do nothing; all files up to date.

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:
*   For searches and help try:

© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index