Statalist


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

st: Automating regressions


From   max r <[email protected]>
To   [email protected]
Subject   st: Automating regressions
Date   Mon, 8 Jun 2009 10:10:10 -0400

Hi All:

I have a panel dataset, with 1500 panels each with 100 time periods. I
want to run a simple cross-sectional regression for each of the 100
time periods and store the residuals as a separate variable each time.
I can do this one by one using "if time_var==   " at the end of each
regression, wondering if there is  easier way to perform this ?


Thanks,
Max R
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index