Regressing a sample

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

marcounam
Posts: 49
Joined: Tue Jan 11, 2011 10:42 am

Regressing a sample

Postby marcounam » Tue Mar 15, 2011 12:34 pm

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.

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Regressing a sample

Postby startz » Tue Mar 15, 2011 1:00 pm

Code: Select all

smpl 2005 2010

marcounam
Posts: 49
Joined: Tue Jan 11, 2011 10:42 am

Re: Regressing a sample

Postby marcounam » Tue Mar 15, 2011 2:37 pm

Thanks for your response! Exactly where will i put that part? Thanks a lot!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Regressing a sample

Postby EViews Gareth » Tue Mar 15, 2011 2:41 pm

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


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests