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 at the end of May, and its replacement, statalist.org is already up and running.


[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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index