Page 1 of 1
Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 8:21 am
by henriqueld
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!
Re: Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 8:50 am
by EViews Gareth
Do you want them as exogenous or endogenous variables?
Re: Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 9:10 am
by henriqueld
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?
Re: Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 9:18 am
by EViews Gareth
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.
Re: Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 9:30 am
by henriqueld
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!
Re: Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 9:34 am
by EViews Gareth
If you use @expand(@quarter) it will put the four dummies in, so yeah, that's why you'd want to drop the constant.
Re: Seasonal dummies using VAR
Posted: Wed Jan 21, 2015 9:37 am
by henriqueld
OK, perfect! Thanks, Gareth! :D