<>
*************
// Setup
webuse pig, clear
// One-level random-effects model
xtmixed weight week || id:
//show 'em
mat l e(b)
di exp(_b[lns1_1_1:_cons])
di exp(_b[lnsig_e:_cons])
//store 'em
scalar sdcons=exp(_b[lns1_1_1:_cons])
scalar sdres=exp(_b[lnsig_e:_cons])
scalar list _all
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Marcelo Jenny
Gesendet: Freitag, 8. Mai 2009 12:10
An: [email protected]
Betreff: st: addressing coefficients for residuals variance from xtmixed
Hi,
how can I address the estimated values of the variance components from a
xtmixed model.
Using matrix list e(b) I can see that they are the last elements in the
vector of coefficients
I need a little help for the step of transferring a specific element of
the vector into a scalar.
Thanks in advance,
Marcelo
--
Mag. Marcelo Jenny
Lehrstuhl f. Politische Wissenschaft III
Prof. Wolfgang C. Müller
Fakultät für Sozialwissenschaften
Universität Mannheim
Seminargebäude A5, Zi. 338
D-68131 Mannheim
Tel. +49/621/181-2077
Fax: +49/621/181-2080
Email: [email protected]
*
* 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/
*
* 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/