Page 1 of 1

Sample size of regression

Posted: Thu Aug 22, 2013 9:26 am
by meganmao
Hi,

I have a fairly simple question but I can't seem to find the answer for it....
I'm trying to loop a regression and I need to specify the size of the sample. What is the code/command to do it?

This is a simple example of what I'm using:

Code: Select all

for !i=1 to 6 equation eq{!i}.ls y c x{!i}(-!i) next
I'm trying to set the sample to 2009M01 to 2013M07

Thanks!

Re: Sample size of regression

Posted: Thu Aug 22, 2013 9:35 am
by startz

Code: Select all

smpl 2009M01 2013M07

Re: Sample size of regression

Posted: Thu Aug 22, 2013 9:36 am
by meganmao
Ah. I was definitely using the wrong syntax earlier....

Thanks!