Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: margeff with mlogit


From   "Tamas Bartus (tbartus)" <tamas.bartus@uni-corvinus.hu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: margeff with mlogit
Date   Mon, 03 Mar 2008 09:45:10 +0100

> Dear Stata users,
> 
> Thanks to Tamas Bartus, I'm using the March 1st version of the 
> "margeff" 

 
> . mlogit comparp `indep_var', baseoutcome(0)
> [output omitted]
> 
> . margeff, outcome(1) replace
> invalid syntax
> r(198);

No idea. For me, the following works fine

sysuse auto
qui mlogit  rep78 displacement foreign
margeff, outcome(1) replace

Average partial effects after margeff
      y  = Pr(rep78=1) 

------------------------------------------------------------------------------
    variable |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
displacement |  -.0001934   .0002754    -0.70   0.482    -.0007332    .0003464
     foreign |  -.0548526     581531    -0.00   1.000     -1139780     1139780
------------------------------------------------------------------------------

Tamas

. 

------------------------------------------------

Tamas Bartus, PhD
Associate Professor, Institute of Sociology and Social Policy
Corvinus University, Budapest 
1093 Budapest, Közraktár utca 4-6.
Phone:  +36-1-482-7301         
Fax:      +36-1-482-7348
Homepage: www.uni-corvinus.hu/bartus

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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