On Friday, Rafa De Hoyos wrote:
> svymlogit occ schooling experience region, b(1)
> mfx compute, nose
>
> where occ is made out of 6 categories
>
> The following error appeared:
>
> too few variables specified
> occupation has 6 outcomes and so you must specify 6 new variables, or
> you can use the outcome() option and specify variables one at a time
> r(102);
>
Rafa needs to specify which response outcome he would like marginal
effects of, as follows:
svymlogit occ schooling experience region, b(1)
mfx compute, predict(p outcome(3)) nose
Usually when you don't specify the -predict- option in -mfx-, it just
uses the default -predict- option for the estimation command you are
following. But -mlogit- is unusual in that it doesn't have a default
predict option. Try the following:
clear
sysuse auto
mlogit rep for
predict p
and you will get the same type of message that Rafa did.
May
*
* 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/