Illegal lags or index specification

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

TracyW
Posts: 7
Joined: Fri Aug 20, 2010 7:49 am

Illegal lags or index specification

Postby TracyW » Fri Aug 20, 2010 8:01 am

I am trying to estimate an equation of the form:

Code: Select all

peak_css=c*(1/reserve_margin + (1-1/0.2))
Where peak_css is a time series of prices, reserve_margin is a time series of available spare capacity in the system. My objective is to get an equation where the prices respond to available capacity up to a certain point, and then beyond that don't react any more.

Whenever I try to estimate this equation I get the error "Illegal lax or index specification for coefficient C". What does this mean and how can I estimate my question?
I also get the same error when I try to estimate the simpler equation:

Code: Select all

peak_css=c+d*reserve_margin+e*rm_inv
But I don't get an error when I estimate

Code: Select all

peak_css c reserve_margin rm_inv
I am using Eviews version 7.

Regards,
Tracy

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

Re: Illegal lags or index specification

Postby EViews Gareth » Fri Aug 20, 2010 8:03 am

When writing an explicit expression for an equation, you cannot use C as a constant, and you must list the coefficients you want to use. Thus, you should change your equation to be:

Code: Select all

peak_css=c(1)+c(2)*reserve_margin+c(3)*rm_inv

TracyW
Posts: 7
Joined: Fri Aug 20, 2010 7:49 am

Re: Illegal lags or index specification

Postby TracyW » Fri Aug 20, 2010 8:11 am

Oh how simple - and it now works - fantastic!


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests