OLS with quadratics

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

Josh
Posts: 10
Joined: Wed Jan 18, 2012 5:01 am

OLS with quadratics

Postby Josh » Tue Jan 31, 2012 1:28 pm

I'm trying to run the regression:

nettfa=c(1)+c(2)*x+c(3)y+c(4)y^2+c(5)*z+c(6)*z^2

The regression runs but I get NA for the values of the coefficients and t-values etc. Is there anything wrong with my equation? For the quadratics, I only have datasets labelled z and y. Do I need to create new data sets that have all the values in x/y squared? If so how do I go about doing that in eviews?

Thanks

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

Re: OLS with quadratics

Postby startz » Tue Jan 31, 2012 2:06 pm

Looks like you're missing some multiplication signs.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests