You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case where it makes sense to examine LOO-R^2 for posterior_epred(..., re_formula=NA). Now that re_formula=NA is passed also to log_lik() which makes the LOO part to be wrong, and the computed LOO-R^2 values are nonsense (e.g. -0.7, when the correct value is 0.08)
It seems some "further arguments" make sense to be passed to both posterior_epred() and log_lik(), like ndraws and draw_ids, so not passing any "further arguments" to log_lik() is not the solution.
The text was updated successfully, but these errors were encountered:
I think we would have to add new list arguments args_epred and args_log_lik which would then only be passed to the individual functions. I will add this to my todo list for the next release. If you have time, you may of course already make a PR earlier.
loo_R2()
allows "Further arguments passed to ‘posterior_epred’ and ‘log_lik’,which are used in the computation of the R-squared values."
The code has
I have a case where it makes sense to examine LOO-R^2 for
posterior_epred(..., re_formula=NA)
. Now thatre_formula=NA
is passed also tolog_lik()
which makes the LOO part to be wrong, and the computed LOO-R^2 values are nonsense (e.g. -0.7, when the correct value is 0.08)It seems some "further arguments" make sense to be passed to both
posterior_epred()
andlog_lik()
, likendraws
anddraw_ids
, so not passing any "further arguments" tolog_lik()
is not the solution.The text was updated successfully, but these errors were encountered: