Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: saving residuals for many regressions


From   Rodrigo Briceño <[email protected]>
To   [email protected]
Subject   st: saving residuals for many regressions
Date   Thu, 25 Nov 2010 12:39:50 -0600

Dear Stata users. I'm using Stata 9.2 and Windows XP. With your help I
was able to run 97 regressions and save the results (using "estout"
command) of the coefficients, their significance levels and the tests
of heteroskedasticity, normality and autocorrelation.

Now, I have a different challenge: I need to create a table with the
residuals of all the 97 regressions to be read in excel. Following is
my first try of producing the results, but I'm not sure if this is
correct. I would also like to know how to create this excel table in a
similar way that the table that I created using estout.

The second question is if there is possible to save the 97 graphs (of
the residuals) to be created.

foreach i of local isin	{
quietly regress liq `X' if isin2==`i'
predict ehat if e(sample), res
twoway (tsline ehat) if isin2==`i'
list ehat if isin2==`i'
drop ehat
}

Thanks!

-- 
Rodrigo Briceño
Economist
[email protected]
MSN: [email protected]
SKYPE: rbriceno1087

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index