Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Accessing the t-stat and p-values in a regression


From   "Nuno Soares" <[email protected]>
To   <[email protected]>
Subject   st: Accessing the t-stat and p-values in a regression
Date   Thu, 30 Nov 2006 15:59:06 -0000

HI everyone,

I'm running a OLS using the -regression- and -statsby- commands in order to
save the results into a dataset. Does anyone knows how to access the t-stats
and p-values associated with the estimated coefficients?
I'm using Statsby in the following way:

Statsby _b e(r2) e(r2_a), by(year) saving(c:\data\results.dta,replace): reg
y x1 x2 x3 x4 x5

Tanks,

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