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

Unclear documentation of rank and weight in arviz.compare() #2305

Open
imranashraf opened this issue Jan 1, 2024 · 1 comment
Open

Unclear documentation of rank and weight in arviz.compare() #2305

imranashraf opened this issue Jan 1, 2024 · 1 comment

Comments

@imranashraf
Copy link

Short Description

I am confused about how arviz.compare() reports the 'rank'. In the documentation it says:

rank: The rank-order of the models. 0 is the best.

Is this best decided taking into account both predictive accuracy as well as simplicity OR is it only based on the predictive accuracy of the models?

And the same question applies to the weight as well.

Relevant documentation or public examples

Here is the link to the documentation I am referring to.

@aloctavodia
Copy link
Contributor

aloctavodia commented Jan 1, 2024

The rank is based on the elpd (expected log pointwise predictive density). The both the predictive accuracy and simplicity are already considered in the elpd. The same goes for the weights, but notice there are different methods to compute the weights, and stacking and BMA has different intepretations. Here you can read more details https://bayesiancomputationbook.com/markdown/chp_02.html#model-comparison

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