-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
As discussed on the Turing Slack, MCMCChains should overload methods defined in ArviZ's PosteriorStats for Chains inputs, similar to how it overloads methods in MCMCDiagnosticTools.
This would introduce some breaking changes:
MCMCChains.summarizewould be replaced withPosteriorStats.summarize. The returned object would similarly be a table, but the API is different enough that this would be breaking.MCMCChains.hpdwould be replaced withPosteriorStats.hdi.- ArviZ renamed
hpdtohdisome time ago because it a strictly more descriptive name. The HDI is a distributional property, appropriate for both priors and posteriors, but also other distributions. A deprecation warning can be used here. - PosteriorStats also uses a default interval probability of 0.94. As McElreath argues, any default is arbitrary and using a "non-standard" probability encourages the user to think about the interval they select and avoids potential confusion for those coming from a more frequentist background. McElreath recommends 0.89 for no reason than because it's prime. Its estimates are also more stable with low sample size. We use 0.94 because it's more conservative.
- ArviZ renamed
This would introduce several new functions:
r2_scoreloo_pitloowaiccompare
A loo method is also defined and exported by ParetoSmooth, so if loo is also exported by MCMCChains, this would cause namespace collisions. We should discuss how we want to handle this.
EDIT: Of these functions, it probably only makes sense to overload r2_score and maybe loo_pit for Chains inputs.
ParadaCarleton
Metadata
Metadata
Assignees
Labels
No labels