Dear all:
I have done the following work with the software EXCEL easily and quickly. But I do not know how to do it with STATA.
The data set has more than 3000 lines, each of which has three parts:
X1, ...,Xn,Y1,....,Yn,Z1,...Zt
First, for each line, I do a simple regression:
Y=a+b*X
Second, for each line, I use the Z's and the estimated a and b to do some calculations.
I hope some one can help me.
Thank you greatly.
K. Sun
*
* 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/