Estimating Variances of Errors in the State Space Framework

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

dhanssen
Posts: 35
Joined: Sun Oct 12, 2008 11:03 am

Estimating Variances of Errors in the State Space Framework

Postby dhanssen » Wed Jun 24, 2009 9:56 am

Hi,

This is a very basic question, but I wanted to make sure that I was interpreting the code correctly. If I would like to estimate a random variance for the error in your state or signal equations, the code is the following:


@state sv1 = sv1(-1) + [var = exp(c(2))]

(and similar for the signal)

However, if you would like to estimate the model with a known variance (say, variance = 1), the code is the following

@signal y = c(1) + sv1 + sv2 + [var = 1]

Is this correct? Thanks!

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

Re: Estimating Variances of Errors in the State Space Framework

Postby startz » Wed Jun 24, 2009 10:07 am

That's exactly the example which appears in the documentation for state space.

dhanssen
Posts: 35
Joined: Sun Oct 12, 2008 11:03 am

Re: Estimating Variances of Errors in the State Space Framework

Postby dhanssen » Wed Jun 24, 2009 10:27 am

Ha - yes, which is why I used it. I just wanted to make sure that I was interpreting correctly what it meant. It sounds like I am?

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

Re: Estimating Variances of Errors in the State Space Framework

Postby startz » Wed Jun 24, 2009 10:34 am

Yes. (Okay, I admit I haven't tried it. :) )

dhanssen
Posts: 35
Joined: Sun Oct 12, 2008 11:03 am

Re: Estimating Variances of Errors in the State Space Framework

Postby dhanssen » Mon Jun 29, 2009 12:25 pm

What is the reason for gettng the following error message: "Missing or Negative Variance found in State Equation 1" when I try to estimate the variance in this manner in the state equation? I get a similiar message, only appled to the signal equation, at times as well.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests