Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Accessing beta coefficients after regress, beta


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Re: Accessing beta coefficients after regress, beta
Date   Mon, 12 Jan 2004 20:29:43 -0500

At 06:06 PM 1/12/2004 -0600, Scott Merryman wrote:
In addition to the suggestions by Richard and Kit, -listcoef- will display the
standardized coefficients and can save the results as a matrix.
Thanks Scott. You know, I even looked at that command and thought it was just a shame that it didn't save the results. But, I overlooked the -matrix- option, which does just that. So, an example of how it works is

. quietly reg income educ jobexp black

. quietly listcoef, matrix

. mat list r(b_std)

r(b_std)[1,3]
educ jobexp black
bStdXY .8164197 .36745171 -.11384264

Various other matrices get saved too, e.g. the T values. -return list- shows what they are. It has always seemed like Stata is a little "cheap" in the stuff it saves, so this routine helps to address that.

-------------------------------------------
Richard Williams, Associate Professor
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index