Estimating State Space Model with exogenous variables

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

purdued
Posts: 8
Joined: Tue Nov 19, 2013 10:30 am

Estimating State Space Model with exogenous variables

Postby purdued » Mon Dec 05, 2016 10:25 am

Hi all,

I'm trying to estimate the following specification:

y(t) = trend + cycle
trend(t) = 2*trend(t-1) - trend(t-2) + e_t(t)
cycle = C(2)*cycle(-1) + c(3)*x(t) + c(4)*z(t-1) + e_c(t)

I'm essentially breaking gdp into trend and cycle with the cycle being described by financial variables x (house prices) and z (interest rate). I have tried to formulate that specification in Eviews as follows:

@signal gdp = trend + cycle
@state trend=2*trend(-1)-dtrend(-1)+[var = exp(c(1))]
@state dtrend=trend(-1)
@state cycle = c(2)*cycle(-1) + c(3)*gph+c(4)*r(-1)+[var = exp(c(5))]

But the answers I get are not correct (coeffs all non-significant). I'm looking to replicate a paper's results which I know to work out so I'm worried its the specification I'm getting wrong.

Any thoughts?

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

Re: Estimating State Space Model with exogenous variables

Postby startz » Mon Dec 05, 2016 11:11 am

That looks right. Try setting the initial values of the c vector to the final values reported in the paper.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests