Closed tom-a-bond closed 3 years ago
Hi can you share the output of res$loos[[2]]
and res$loos[[3]]
?
This happens some times as part of the estimation of the elpd. I think that generally you don't have to worry about it unless it really looks like something has gone wrong.
I added a little section in the tutorial about the Pareto k warning. Hopefully that helps.
Thanks, this is really helpful. The loos
output is below, only 9/1169 variants are in the ok/bad range, am I right that this means we are probably fine in this case? And are you able to comment on roughly what % of variants would need to be in the ok/bad range before you would say we should start worrying?
print(res$loos[[2]])
Computed from 1000 by 1169 log-likelihood matrix
Estimate SE
elpd_loo 2626.0 61.7
p_loo 0.3 0.2
looic -5252.0 123.3
------
Monte Carlo SE of elpd_loo is 0.0.
All Pareto k estimates are good (k < 0.5).
See help('pareto-k-diagnostic') for details.
print(res$loos[[3]])
Computed from 1000 by 1169 log-likelihood matrix
Estimate SE
elpd_loo 2624.8 61.7
p_loo 1.6 0.5
looic -5249.6 123.4
------
Monte Carlo SE of elpd_loo is NA.
Pareto k diagnostic values:
Count Pct. Min. n_eff
(-Inf, 0.5] (good) 1160 99.2% 600
(0.5, 0.7] (ok) 8 0.7% 544
(0.7, 1] (bad) 1 0.1% 819
(1, Inf) (very bad) 0 0.0% <NA>
See help('pareto-k-diagnostic') for details.
Hi, I get the warning below. Following the suggested help call implies this is an issue with pareto smoothed importance sampling from the package
loo
, but I'm unclear what his means for my CAUSE results- any ideas?