Statalist


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

st: margeff with mlogit


From   Mabel Andalon <mabel.andalon@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: margeff with mlogit
Date   Sun, 02 Mar 2008 14:49:08 -0500

Dear Stata users,

Thanks to Tamas Bartus, I'm using the March 1st version of the "margeff" command after estimating a mlogit whith DV comparp (values 0, 1 and 2).
I'm using the replace option because I want to use the estout command afterwards.

This is the error I get:

. local indep_var trvoteco polpar hs college homemex propertymex age pctinus catholic male homeown attendch nodoc
. local optionsreg c(b(star fmt(%9.5f)) se(fmt(%9.3f))) s(N, fmt(%9.0g)) starlevels(* 0.05 ** 0.01 *** 0.001 /*
*/ stardetach collabels(, none) legend varlabel(_cons Constant) unstack posthead("") prefoot("") postfoot("")
. mlogit comparp `indep_var', baseoutcome(0)
[output omitted]

. margeff, outcome(1) replace
invalid syntax
r(198);

Does anybody know what could be wrong?

Thanks!

Mabel

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