-
Notifications
You must be signed in to change notification settings - Fork 19
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
Extend available methods #19
Comments
This includes methods for different objects that make sense in this context. Beside calculating stuff ex-post the main functionality is calculation of quantiles and improved printing, etc. |
|
I'll add (Remember to mention density != HPDI) |
Thanks @oDNAudio for adding the summary method. I've split it up to return the coefficients and feed that to a print-method. Medium term it might make sense to create more selected outputs and allow retrieving some HPDIs. But I think that can be done in another issue. Closing this, as all must-add methods have been added. |
At the moment only
plot()
andprint()
exist for the bvar object.Important standard methods are:
fitted()
: Probably better to calculate ex-post.predict()
: This is currently done in the main chain, as it shouldn't necessitate too much additional effort. Allowing to calculate this ex-post should not be an issue, however.summary()
: This really needs to be readded.residuals()
: Seefitted()
Further potential methods are:
coef()
: Should be useful and rather straightforward. Optionally consider the vars implementation ofAcoef()
andBcoef()
.vcov()
: Should also be straightforward.logLik()
: Might as well.irf()
: Seepredict()
.fevd()
: Nice shorthand.stability()
: Additional dependency, but might make sense.Phi()
&Psi()
: Would address facilitating switches from and to vars.The text was updated successfully, but these errors were encountered: