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]
[no subject]
> matrix betas = e(betas)
> local xtmgcoeff = _betas[varname]
This will not work for matrices. The notation _b[varname] is one way
of accessing the estimated coefficient and standard errors. See [U]
13.5 Accessing coefficients and standard errors
The size of the betas matrix will be the number of groups x the number
of variables - if you want each coefficient as local variable you will
have specify each element. Perhaps you want to use - svmat betas,
names(matcol)- to create variables from the matrix.
Scott
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/