There are 500 stocks series, named as S1 S2 S3 etc... in my excel spreadsheet. I want to get regression result of each of them separately.
Is that possible to input all the name of these 500 series at once time and finally get their results altogether?
That will save a lot of work.
My current codes is like:
Code: Select all
OPEN DATA "C:\Users\aixia\Desktop\51 return"
CALENDAR(D) 2006:04:03
DATA(FORMAT=XLS,ORG=OBS) 2006:04:03 2010:03:30 S1
*
set r1 = S1Aixia