Seasonal dummies using VAR

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

henriqueld
Posts: 19
Joined: Wed Jan 21, 2015 8:16 am

Seasonal dummies using VAR

Postby henriqueld » Wed Jan 21, 2015 8:21 am

Good afternoon, everyone.

I'm estimating the pass-through of the exchange rate to the inflation with VAR and, in order to get rid of all seasonality, I wanted to use seasonal dummies for each quarter of the year (I have a sampe that goes from 2000 to 2014, quarterly). Anyway, can anyone tell me how to insert those kind of dummies to my VAR model?

Thanks!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Seasonal dummies using VAR

Postby EViews Gareth » Wed Jan 21, 2015 8:50 am

Do you want them as exogenous or endogenous variables?

henriqueld
Posts: 19
Joined: Wed Jan 21, 2015 8:16 am

Re: Seasonal dummies using VAR

Postby henriqueld » Wed Jan 21, 2015 9:10 am

Endogenous.

What I just did was create 3 series, each of them with a "1" according to what quarter it represents. Then typed the three of them into the Exogenous box. Would that be right if I wanted them Exogenously? Or is there a right way to do that?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Seasonal dummies using VAR

Postby EViews Gareth » Wed Jan 21, 2015 9:18 am

You can use @expand(@quarter) to generate seasonal dummies in EViews. I doubt you want them to be endogenous though. You can enter them in the exogenous box, but be sure to drop the constant.

henriqueld
Posts: 19
Joined: Wed Jan 21, 2015 8:16 am

Re: Seasonal dummies using VAR

Postby henriqueld » Wed Jan 21, 2015 9:30 am

You can use @expand(@quarter) to generate seasonal dummies in EViews. I doubt you want them to be endogenous though. You can enter them in the exogenous box, but be sure to drop the constant.
I'd only want to drop the constant if I added 4 dummy variables, right? I mean, 1 for each quarter of the year.
Or even if I only use 3 dummies, I'd still want to drop the constant?

Thanks!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Seasonal dummies using VAR

Postby EViews Gareth » Wed Jan 21, 2015 9:34 am

If you use @expand(@quarter) it will put the four dummies in, so yeah, that's why you'd want to drop the constant.

henriqueld
Posts: 19
Joined: Wed Jan 21, 2015 8:16 am

Re: Seasonal dummies using VAR

Postby henriqueld » Wed Jan 21, 2015 9:37 am

OK, perfect! Thanks, Gareth! :D


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests