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

st: extracting coefficients from a linear regression


From   "David Fisher" <djfisher81@msn.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: extracting coefficients from a linear regression
Date   Thu, 09 Jun 2005 09:39:45 +0000

Hi!
Is there a command in Stata that will store the coefficients (a and b) from a linear regression in new, separate variables? I've looked at "predict" and similar, but I can only find how to extract residuals and fitted values.
Thanks!
David Fisher


*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index