Statalist The Stata Listserver


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

Re: st: Making graphs from micombine mlogit results


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Making graphs from micombine mlogit results
Date   Mon, 23 Apr 2007 19:57:24 -0500

At 04:57 PM 4/23/2007, ucb_gal wrote:
hi, i'm having trouble making a graph from mlogit results. i run my mlogit (i'm using multiple imputation, so i use micombine first):
micombine mlogit depvar black_nh asian_nh native_nh hisp female income [pw=custweight], cluster(R234)

next i'm trying to create variables based on the probabilities generated from the mlogit:
prgen income, x(black_nh=1) generate(blk2) ncases(20)

and then i get the error:
equation 1 not found
r(303);

what's equation 1? what am i doing wrong?
There is no guarantee that post-estimation commands are going to work correctly after micombine, let alone a user-written post-estimation command like prgen.

I don't know if it will help, but I suggest you install -mim- and -mimstack-, available from SSC. As Nick Cox posted last month, "-mim- replaces Patrick Royston's -micombine- (still available via -ssc install ice-) and has in general more facilities and greater rigour than -micombine-. It replaces Galati and Carlin's -mitools-. " The help for -mim- indicates some things you can and cannot do with post-estimation commands. I haven't tried it but it looks like mim's -storebv- option might let you do what you want.



-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index