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

Re: st: getting coeffients


From   Ulrich Kohler <[email protected]>
To   [email protected]
Subject   Re: st: getting coeffients
Date   Tue, 6 May 2003 08:59:16 +0200

The slopes are in a matrix called e(b):

. matrix list e(b)

One  way to access single coefficients in a program is by _b[varname]. For 
example, if variable xyz is among your independent variables you might use 
something like 

. display _b[xyz]

regards

uli



David Airey wrote:
> If I do a regression, how do I get the slope? I can get the F, df, and
> other things in the return list or test return list, but where is the
> slope? I need to use it in a program.
>
> -Dave
>
> *
> *   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/

-- 
[email protected]


*
*   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