-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
refactored GARCH and added Mv(Gaussian/StudentT)RandomWalk #1603
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
Conversation
Does this fix #1491? |
No, but I'll make it so |
Actually that's probably a different problem. But do let me know if you have an idea. |
return (Normal.dist(0., sd=self.initial_vol).logp(x[0]) + | ||
tt.sum(Normal.dist(0, sd=vol).logp(x[1:]))) | ||
vol = self.get_volatility(x) | ||
return (Normal.dist(0., sd=vol[0]).logp(x[0]) + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this be simplified now to: tt.sum(Normal.dist(0, sd=vol).logp(x))
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
Ready to merge, #1491 is not related |
* refactored GARCH and added Mv(Gaussian/StudentT)RandomWalk * refactored garch logp * added docs * fix typo * even more typos * better description for tau
Added useful (I hope) distributions from my experiments and refactored garch a bit so it can be used as following