Running a regression with exponential form

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

wing0011
Posts: 3
Joined: Sun Sep 25, 2011 4:56 am

Running a regression with exponential form

Postby wing0011 » Sun Sep 25, 2011 5:12 am

Hi,

I've been asked to run a regression with an exponential from... but I don't know what should be typed in in eviews, please help!!!!

my regression is: E (lwage|exper, educ) = b0 +b1exper +b2(1-exp (b3*educ))

Don't know how to do because not sure how to deal with the things that inside the bracket, since b3 is inside the exp...
have tried to expand the whole equation, but still cannot solve the problem of b3 inside the bracket.

Thanks a lot in advance!

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

Re: Running a regression with exponential form

Postby startz » Sun Sep 25, 2011 8:37 am

EViews is perfectly happy to run a nonlinear regression where you write out an explicit formula using c(1), c(2), etc. for the names of the coefficients.

For instance

Code: Select all

ls y = c(1) + exp(c(2)*x)

wing0011
Posts: 3
Joined: Sun Sep 25, 2011 4:56 am

Re: Running a regression with exponential form

Postby wing0011 » Mon Sep 26, 2011 6:04 am

Thank you so much, startz!

I have tried, it works!!!

agamonim
Posts: 4
Joined: Fri Apr 20, 2018 10:58 pm

Re: Running a regression with exponential form

Postby agamonim » Sat May 19, 2018 7:26 am

Thank you so much!! My regression is similar and writing the equation in this way worked for me.


Return to “Estimation”

Who is online

Users browsing this forum: lpando08 and 3 guests