Skip to content
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

Regime specific standard deviation of residuals by using Volatility function #65

Open
ch-pg opened this issue Aug 15, 2020 · 1 comment

Comments

@ch-pg
Copy link

ch-pg commented Aug 15, 2020

The function conditional_volatility <- Volatility(fit) extracts the conditional volatility at each point. By data/conditional_volatility I get the residuals.

The residuals have close to unit standard deviation. But when I calculate the standard deviation of the residuals in each regime, they differ greatly, e.g. with one regime at 0.7 and the other at 1.6.

I'm not sure how the function Volatility works here. I imagine that they would also have unit standard deviation respectively, since the data in each regime is filtered by a GARCH model. This post might not be so relevant here, but could anyone help explain this?

@keblu
Copy link
Owner

keblu commented Nov 24, 2020

Do you have a code snippet. Not sure I get entirely your questions. If residuals of the whole process have close to unit standard deviation, this is expected and shows that the model fits well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants