Page 1 of 1

Regressing a sample

Posted: Tue Mar 15, 2011 12:34 pm
by marcounam
One question :
I have the following command :

for !i=10 to 24
equation totcredgdplag{!i}.ls mean_transformado_miguel c totcred_gdp(-!i)
next
How do i modify it, so that it regresses on just a particular sample of the series mean_transformado_miguel? In particular i would like for it to regress starting from 2005 to 2010.

Re: Regressing a sample

Posted: Tue Mar 15, 2011 1:00 pm
by startz

Code: Select all

smpl 2005 2010

Re: Regressing a sample

Posted: Tue Mar 15, 2011 2:37 pm
by marcounam
Thanks for your response! Exactly where will i put that part? Thanks a lot!

Re: Regressing a sample

Posted: Tue Mar 15, 2011 2:41 pm
by EViews Gareth

Code: Select all

smpl 2005 2010 for !i=10 to 24 equation totcredgdplag{!i}.ls mean_transformado_miguel c totcred_gdp(-!i) next smpl @all