-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add more methods for basic summary stats for Chains #421
Comments
I don't think there's a good reason why they're not defined, I'd love a PR!
…On Fri, May 19, 2023, at 10:34 AM, Sam wrote:
I was recently surprised to find that calling `std()` on a `Chains` threw an error. Looking into it, it appears that only a few individual summary statistics (`mean`, `cor`, and `quantile`) are defined for `Chains` objects. Is there any reason not to implement methods for others, like `cov`, `var`, and `std`? If not I'm willing to make a PR.
—
Reply to this email directly, view it on GitHub <#421>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADHITUKFCDWVAHQNIVGPGLXG6VLXANCNFSM6AAAAAAYIBVNIU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I've started working on a PR and was wondering about what the return type for |
I think the reason we defined it what way was to override a bunch of pretty-printing options. In the case of |
I was recently surprised to find that calling
std()
on aChains
threw an error. Looking into it, it appears that only a few individual summary statistics (mean
,cor
, andquantile
) are defined forChains
objects. Is there any reason not to implement methods for others, likecov
,var
, andstd
? If not I'm willing to make a PR.The text was updated successfully, but these errors were encountered: