Page 1 of 1

Command for regression for specific year

Posted: Wed Oct 02, 2013 1:42 am
by HenryWentworth
Hi,

The data I'm using is panel data and the time period for the data is 7 years, from 2000 to 2007.

I am using Eviews 8.

I'm trying to write a command to create a simple linear regression that allows me to specify the year (e.g. year 2000 only, or a range, e.g. years 2000 to 2005) in which to run the equation. I am aware I can manually change the date range under 'Estimation settings'; Sample: "year range", however, is there a command for this in which I can add to the following equation command?:

equation eq01.ls y c x

Thanks :idea: :

Re: Command for regression for specific year

Posted: Wed Oct 02, 2013 7:50 am
by EViews Gareth

Code: Select all

smpl 2000 2000 equation eq01.ls y c x