Calculate bayes_R2 for each group in a multilevel model?

100,000 is a lot and thus 10-15 mins is not that much. The speed depends also how many cores you are using. Pareto k warning is not an error and doesn’t affect the speed. See the links in the other thread you started. We’ll soon have sub-sampling LOO implemented which an provide faster estimate in case of very large n (Magnusson, Andersen, Jonasson, Vehtari (2019)).

1 Like