Constants in First Differenced Equations

For questions regarding programming in the EViews programming language.

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

undergrad
Posts: 9
Joined: Wed Jul 23, 2014 10:52 am

Constants in First Differenced Equations

Postby undergrad » Tue Aug 12, 2014 12:09 pm

I am attempting to execute first differenced equations that include polynomial lags. I do not want the first differenced equations to contain a constant, as the constant should cancel out of this type of equation. However, I got a lag specification error in my first differenced regression equation each time I attempted to run it. After some troubleshooting, I found that the error dissapeared if I included a constant in the equation.

Is there a way for me to run PDL regessions on first differenced variables without a constant?

For example, I would like to run a regression like this:
eq!X.ls(cov=hac) ps1 pdl(d(ipr),!OL,!D) pdl(d(un),!OL,!D) pdl(d(unionprq),!OL,!D) pdl(d(unipr),!OL,!D) pdl(d(unionipr),!OL,!D) pdl(d(tsaspl),!TSAL,!D) pdl(d(tfp4),!TFPL,!D)

Thanks for your help

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

Re: Constants in First Differenced Equations

Postby startz » Tue Aug 12, 2014 12:28 pm

I think you've found a bug. It doesn't look to have anything to do with the data being first differenced. It seems the bug happens any time pdl is the only right hand side variable.

Really odd, given that pdl has been in the code for probably 30 years.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests