Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: predict
From
Richard Williams <[email protected]>
To
[email protected], statalist <[email protected]>
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: [email protected]
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/