Page 1 of 1

Illegal lags or index specification

Posted: Fri Aug 20, 2010 8:01 am
by TracyW
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

Re: Illegal lags or index specification

Posted: Fri Aug 20, 2010 8:03 am
by EViews Gareth
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

Re: Illegal lags or index specification

Posted: Fri Aug 20, 2010 8:11 am
by TracyW
Oh how simple - and it now works - fantastic!