-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compute_variance_decompositions R vs cpp #69
Comments
Hey @adamwang15 Thank you so much for this feedback! I'm on it. This issue is given a high priority and I will address it before submitting the new package version to CRAN. Gretings, Tomasz |
todos
|
+ create a cpp function forecast_sigma2_sv + create a cpp function forecast_sigma2_msh + update the cpp forecast_bsvar_sv functions
+ corrected S_T and h_T type in forecast_sigma2* + S_T now sources from the posterior in numerical integration
+ created cpp bsvars_fevd_homosk + created cpp bsvars_fevd_heterosk + included volatility forecasting in heterosk fevds + made them work YAY!
Hey @adamwang15 Can you have a look? It seems to me both functions, mine and yours, are fine. When I run the following script, all the values at the outcome are the same. Run the following script from a
What do you think? |
Hey @donotdespair Great! The two functions give identical results on my laptop as well, thanks for fixing this! |
Hey @donotdespair
compute_variance_decompositions
gives a different result from the R functioncompute_fevd
Here is a reproducible example
Seems like the R function is correct, have a look! Thanks.
Best,
Adam
The text was updated successfully, but these errors were encountered: