-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Is there a LOO R2? #1931
Comments
Missed that message somehow. We don't have that yet, and I'm not too familiar with the method so I'm not sure if it should be here or at bambi cc @aloctavodia @tomicapretto what do you think? Also, would you be interested in contributing it to either ArviZ or bambi @hadjipantelis ? |
It sounds interesting, and it looks like something we could have in Bambi. However, I'm not very familiar with the method and it would require me to study it a little. I can add it to our TODO list, but I don't think we're going to tackle it very soon. |
Hmm... OK, @OriolAbril. Would you guys prefer this in |
I think ArviZ has a much wider adoption than Bambi. However, as far as I've read so far, you need more information about the model for which you're computing R^2. And in Bambi you have all that information so it seems like a better place. |
What are the needed parts for loo_r2? |
I'm not sure. But the code in brms seems to do different things for at least two different families of regression models. |
@ahartikainen: Reading through @tomicapretto: It seems to me that the implementation errs for unordered categorical models and/or gives some rather strong-worded warnings if used with ordinal families. Family type doesn't look like to be a show-stopper here. (Most people would probably look twice at an R^2 for a non-continuous variable anyway...) |
It looks like E_loo or equivalent should go in ArviZ and use the data in posterior predictive group. loo_predict (and similars) would go in bambi (if the posterior predictive group is not present, ArviZ can't populate it, bambi can). |
I am just playing with ArviZ and it is great. There is a
r2_score
to get Bayesian R²; is there a LOO equivalent akin to the one discussed in https://avehtari.github.io/bayes_R2/bayes_R2.html or inloo_R2
forbrms
?The text was updated successfully, but these errors were encountered: