Time varying SVAR
Moderators: EViews Gareth, EViews Moderator, EViews Esther
Re: Time varying SVAR
Training sample is used for determining prior parameters of Time varying SVAR. There is no test for determining the number. It should be at least 30-40 depending on VAR size.
Because it uses training sample to estimate OLS VAR. In other words, training sample is not used for actual TVSVAR model. If you want use full sample, then you can use uninformative priors (flat) theoretically. But these option is not available for this add-in for the reason of convergence problem.
Lastly, you need to upgrade your Eviews to version 9.
Because it uses training sample to estimate OLS VAR. In other words, training sample is not used for actual TVSVAR model. If you want use full sample, then you can use uninformative priors (flat) theoretically. But these option is not available for this add-in for the reason of convergence problem.
Lastly, you need to upgrade your Eviews to version 9.
Re: Time varying SVAR
Hi, I want to estimate a TVP SVAR with three variables, taxes g GDP. the data are frome 1998Q1 to 2014Q4. And I put in the training smple 40,30,60. And every time I get the following message "the GM01 size is not as the same lenthe simple". Please could somone help me .
and thank you.
and thank you.
Re: Time varying SVAR
What is the version you using? 7 or 8?
Can you run tvsvar_ex.prg (example file)?
Can you run tvsvar_ex.prg (example file)?
Re: Time varying SVAR
Im using Eviews 9 and i can run the Primiceri example. and the variables are in log and first difference, and I tried by eliminating the NAs, and i get the same erreur "GM01 is not as the same lenthe simple"
Re: Time varying SVAR
Could you post the file?
-
- Posts: 22
- Joined: Sat Aug 27, 2016 9:55 am
Re: Time varying SVAR
Hi, Thank Dakila for help on my first question, I have downloaded the add-in, that looks ok, however when following document instructions, I put the details in it gives message "Near singualr Matrix". I don,t get any impulse response but some series and matrixes appear when do not make much sense to me.Please help.
Regards
Regards
Re: Time varying SVAR
the file contains three variables g taxes and gdp all in log and first difference
Re: Time varying SVAR
There is a bug. I will try to fix it. However you can use the following code to fix it:
Code: Select all
pagestruct(start=1998q2)
Re: Time varying SVAR
ali_Economist wrote:Hi, Thank Dakila for help on my first question, I have downloaded the add-in, that looks ok, however when following document instructions, I put the details in it gives message "Near singualr Matrix". I don,t get any impulse response but some series and matrixes appear when do not make much sense to me.Please help.
Regards
1. Try to transform your variables. For example, to annual growth rate
2. Try to change the default prior parameters.
Re: Time varying SVAR
Ok I will try by resizing the simple. thank u very much dakila
-
- Posts: 22
- Joined: Sat Aug 27, 2016 9:55 am
Re: Time varying SVAR
Hi, I want to estimate the TVSVAR model on the attached data file, when I try using the instruction in the add-in document it does not give me IRF output or even the estimation results, I wonder if somebody can help me please.
- Attachments
-
- data set - copy.wf1
- (20.76 KiB) Downloaded 424 times
Re: Time varying SVAR
The following code is working for me.
Code: Select all
svector dtsel=@wsplit("2000m12 2005m12")
tvsvar 2 40 dtsel lnoilprice @ lnftse lnoilprice lnoilsector
-
- Posts: 22
- Joined: Sat Aug 27, 2016 9:55 am
Re: Time varying SVAR
Thank you very much for reply, but it gives message that "DTSEL" is not defined. Please help.
Re: Time varying SVAR
Hello Davaa,
I used the data someone post earlier (the primisceri data) to understand the steps on applying the TVPVAR but i have some questions, is it possible to obtain the FEVD (variance decomposition)? it seems that your program doesn't return it.
Best regards
I used the data someone post earlier (the primisceri data) to understand the steps on applying the TVPVAR but i have some questions, is it possible to obtain the FEVD (variance decomposition)? it seems that your program doesn't return it.
Best regards
Re: Time varying SVAR
No, it is nonsense to estimate FEVD
Who is online
Users browsing this forum: No registered users and 35 guests