Command for regression for specific year

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

HenryWentworth
Posts: 1
Joined: Wed Oct 02, 2013 1:32 am

Command for regression for specific year

Postby HenryWentworth » Wed Oct 02, 2013 1:42 am

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: :

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

Re: Command for regression for specific year

Postby EViews Gareth » Wed Oct 02, 2013 7:50 am

Code: Select all

smpl 2000 2000 equation eq01.ls y c x


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests