State space wtih a categorical variable

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

motas
Posts: 4
Joined: Sat Jul 09, 2011 11:25 am

State space wtih a categorical variable

Postby motas » Sun Jul 17, 2011 9:25 am

Hey,

I'm using Eviews 7 and I'm trying to compare the forecasts from a standard linear regression with those from a dynamic linear regression (~state space model) for monthly data. Suppose my classic linear model is "y c @expand(month,@droplast)", how can I estimate a state space model with a deterministic monthly component but a stochastic level? When using the Auto-Specification method, Eviews does not accept "@expand(month,@droplast)" I think.

Thank you!

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

Re: State space wtih a categorical variable

Postby startz » Sun Jul 17, 2011 9:40 am

You might try hand-coding in the dummy variables, month=1 month=2, etc.


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 13 guests