quadratic trend and linear trend

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

chrispusch
Posts: 3
Joined: Fri May 27, 2016 8:12 am

quadratic trend and linear trend

Postby chrispusch » Fri May 27, 2016 8:19 am

HI all,

please help me estimating the output gap according to following regression equation.
Y(t)= a + b*t+ c * t^2 + u
y is the gdp at time t
t is a time trend i.e. the number of observations
and u is the error term and will be the output gap

I have already estimated the output gap with the help of the HP filter and want to employ this method next, but can not figure out how to get this regression into eviews.
I have 184 estimations of gdp.

thanks in advance for your help.

kind regards
chris

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

Re: quadratic trend and linear trend

Postby EViews Gareth » Fri May 27, 2016 8:41 am

Which part are you having difficulty with?

chrispusch
Posts: 3
Joined: Fri May 27, 2016 8:12 am

Re: quadratic trend and linear trend

Postby chrispusch » Fri May 27, 2016 8:44 am

I understand the equation, but I don't know how to estimate it in eviews.
basically, if I open the window "estimate equation" where would I go from there?

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

Re: quadratic trend and linear trend

Postby EViews Gareth » Fri May 27, 2016 9:30 am

Enter the name of your dependent variable, followed by

Code: Select all

c @trend @trend^2

chrispusch
Posts: 3
Joined: Fri May 27, 2016 8:12 am

Re: quadratic trend and linear trend

Postby chrispusch » Fri May 27, 2016 9:48 am

Thank you Gary, very quick reply and very helpful!!!


If I run the regression, should I use HAC to account for heteroskedasticity and autocorrelation, or is this not necessary in this case?

thanks in advance!


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests