Search found 35 matches

by dhanssen
Wed Jul 01, 2009 1:28 pm
Forum: Estimation
Topic: Using the State Space Framework on Panel Data
Replies: 7
Views: 7530

Re: Using the State Space Framework on Panel Data

Yes it does, thank you very much. One final question -- would one expect the smoothed/filtered estimates to begin at the initial value specified with @mprior statement (or at 0 if not specified)? It seems that this happens for the step ahead predicted states, but not for the other two, and I am tryi...
by dhanssen
Wed Jul 01, 2009 10:52 am
Forum: Estimation
Topic: Using the State Space Framework on Panel Data
Replies: 7
Views: 7530

Re: Using the State Space Framework on Panel Data

Thank you very much for clearing this up. I will limit my work to simpler data sets without the panel structure. In the meantime, could you please tell me or refer me to a reference which will clear up the difference between the options under the Proc-->Make State Series menu? There are 1) Predicted...
by dhanssen
Tue Jun 30, 2009 9:27 am
Forum: Estimation
Topic: Using the State Space Framework on Panel Data
Replies: 7
Views: 7530

Re: Using the State Space Framework on Panel Data

Thank you for your help! I have posted an example of what I am working with. Unless I am doing something wrong (very possible) it appears through my state variable forecast that the estimates are continuing across cross sections (meaning it is not recognizing the panel structure), since if they were...
by dhanssen
Mon Jun 29, 2009 5:21 pm
Forum: Estimation
Topic: Using the State Space Framework on Panel Data
Replies: 7
Views: 7530

Using the State Space Framework on Panel Data

Hello, I using the sspace object on my workfile which has a balance panel structure. I want to use a fixed effects model for the cross sections. As far as I understand, this must be done "manually" using the sspace object, so I have done this both by creating a set of dummies for the cross...
by dhanssen
Mon Jun 29, 2009 12:25 pm
Forum: Estimation
Topic: Estimating Variances of Errors in the State Space Framework
Replies: 4
Views: 5633

Re: Estimating Variances of Errors in the State Space Framework

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.
by dhanssen
Thu Jun 25, 2009 5:09 pm
Forum: Estimation
Topic: Missing Values in the Signal Eq of the State Space Model
Replies: 18
Views: 15034

Re: Missing Values in the Signal Eq of the State Space Model

Thank you -- how could you tell this? I do not see any missing values. I'm sorry I'm so slow here.
by dhanssen
Thu Jun 25, 2009 4:17 pm
Forum: Estimation
Topic: Missing Values in the Signal Eq of the State Space Model
Replies: 18
Views: 15034

Re: Missing Values in the Signal Eq of the State Space Model

Thank you! The workfile just contains an example of what is happening, the specification doesn't make sense right now. It is a panel data set. Please let me know if you need more information.
by dhanssen
Thu Jun 25, 2009 3:26 pm
Forum: Estimation
Topic: Missing Values in the Signal Eq of the State Space Model
Replies: 18
Views: 15034

Re: Missing Values in the Signal Eq of the State Space Model

I lied about the final follow - up, sorry. One more question -- I've filled in all the values now, per the suggestion above, and am getting the same error message. I know longer have any missing values, so is there any reason this could happen? I have a lot of zero values and times when the observat...
by dhanssen
Wed Jun 24, 2009 4:34 pm
Forum: Estimation
Topic: Viewing estimated values of the state variable
Replies: 0
Views: 2201

Viewing estimated values of the state variable

Hello, I have run my State Space Model which includes one state variable, sv1. The final stage value of sv is Final State SV1 -0.008414 However, I would like to see the path of SV1 throughout the time period. From what I understand, to do this you go to View --> State Views --> Graph State Series. T...
by dhanssen
Wed Jun 24, 2009 4:29 pm
Forum: Estimation
Topic: Missing Values in the Signal Eq of the State Space Model
Replies: 18
Views: 15034

Re: Missing Values in the Signal Eq of the State Space Model

OKay, so I will just fill in the missing values with the most recent existing value. This is better than estimating it, so I'll use it. Thanks!
by dhanssen
Wed Jun 24, 2009 1:53 pm
Forum: Estimation
Topic: Missing Values in the Signal Eq of the State Space Model
Replies: 18
Views: 15034

Re: Missing Values in the Signal Eq of the State Space Model

One final follow-up question here. Is there a way to possibly tell the state to stay "as is" for observations where it encounters missing values ( i.e. some setting or coding that will accomplish this)? I am trying to avoid having to fill in these missing with an estimated value.
by dhanssen
Wed Jun 24, 2009 10:27 am
Forum: Estimation
Topic: Estimating Variances of Errors in the State Space Framework
Replies: 4
Views: 5633

Re: Estimating Variances of Errors in the State Space Framework

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?
by dhanssen
Wed Jun 24, 2009 9:56 am
Forum: Estimation
Topic: Estimating Variances of Errors in the State Space Framework
Replies: 4
Views: 5633

Estimating Variances of Errors in the State Space Framework

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) How...
by dhanssen
Mon Jun 22, 2009 1:59 pm
Forum: Estimation
Topic: Missing Values in the Signal Eq of the State Space Model
Replies: 18
Views: 15034

Re: Missing Values in the Signal Eq of the State Space Model

Great -- thanks so much for your help.

Go to advanced search