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


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

Re: st: predict


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: predict
Date   Thu, 02 Jun 2011 10:08:01 -0500

At 07:41 AM 6/2/2011, Chiara Mussida wrote:
Deal All,
I run mlogit estimates and thereafter the predict command to get the
predcted outcomes from the equations.
Is there the possibility to obtain the fitted values of the
coefficients of each covariate which determinne each predicted
outcome?

Thanks,
Chiara

I don't understand the question Chiara. Are you saying that, for each case, you want X1B1, X2B2, etc.? Or what? Maybe you could give an example of what you are after.

If you just want the coefficients, they are ereturned as e(b). If you want to do something with them, you could first do something like

mat bmat = e(b)

and then manipulate bmat as you wished.


-------------------------------------------
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
WWW:    http://www.nd.edu/~rwilliam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index