-
-
Notifications
You must be signed in to change notification settings - Fork 26
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 R2 as performance statistic #483
Comments
@AlejandroCatalina: Is line |
@avehtari: The SE formula provided in stan-dev/loo#205 (comment) refers to LOO - |
The first one is intentional.
Can be used with K-fold-CV and pointwise evaluation.
We have used Bayesian-R2 for that as it has some benefits in that case, but the same formula could be used, too
Can be used |
Implemented by 0ed8391 |
Resolved by #496. |
As suggested by @avehtari, it would be good to have$R^2$ as a performance statistic in projpred. This could be called $R^2$ .
stats = "R2"
(andstat = "R2"
forsuggest_size()
), for example. According to @avehtari, we should go for LOO -There is also related code at
projpred/R/summary_funs.R
Lines 170 to 187 in bec6258
* (n / (n - 1)
can be omitted because it cancels out.) In those lines,bayesboot::rudirichlet()
is used. According to @avehtari, the SE could also be calculated without a Dirichlet approach, using the formula from stan-dev/loo#205 (comment).The text was updated successfully, but these errors were encountered: