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
quadratic trend and linear trend
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: quadratic trend and linear trend
Which part are you having difficulty with?
-
chrispusch
- Posts: 3
- Joined: Fri May 27, 2016 8:12 am
Re: quadratic trend and linear trend
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?
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
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
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!
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!
Who is online
Users browsing this forum: No registered users and 2 guests
