log of the intercept in least squares

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

trout
Posts: 2
Joined: Fri Jul 30, 2010 8:13 am

log of the intercept in least squares

Postby trout » Fri Jul 30, 2010 8:44 am

I was estimating a power regression y=a*x^(-b), where a and b are my coefficients. The natural log of the function ln(y)=ln(a)-b*ln(x) fitted the data quite well. But I am not sure if e-views estimated this relationship with nls or ols. More generally, what does eviews actually do when you take the log of the intercept?

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

Re: log of the intercept in least squares

Postby EViews Gareth » Fri Jul 30, 2010 8:46 am

Depends on how you specified the equation.

trout
Posts: 2
Joined: Fri Jul 30, 2010 8:13 am

Re: log of the intercept in least squares

Postby trout » Fri Jul 30, 2010 10:01 am

The equation was specified as: log(y)=log(C(1))-C(2)*log(x). I didn't realize before but it has "Convergence achieved after 6 iterations", so it must be nls. Which makes sense seeing as though it's nonlinear in the coefficients.

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

Re: log of the intercept in least squares

Postby EViews Gareth » Fri Jul 30, 2010 10:12 am

Indeed.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests