Thanks everyone for the help! Since my last proposal seems to have some consensus, I’m going with it. I have created a tidybayes issue here to continue this on my end.
Relatedly, I am curious what people would ideally name a function that outputs draws from posterior_linpred()
. Currently tidybayes has these functions:
-
add_fitted_samples()
(fromposterior_linpred()
) -
add_predicted_samples()
(fromposterior_predict()
)
However, I don’t like the “fitted” terminology, and would rather not continue mis-using the word “samples”, so I was thinking of changing these as follows:
-
add_fitted_samples()
->add_linpred_draws()
-
add_predicted_samples()
->add_predicted_draws()
BUT the “linpred” name is a little odd itself (it is not always linear, and as Michael points out these are pushforward realizations, not predictions per se). So maybe this instead:
-
add_fitted_samples()
->add_pushforward_draws()
Or something else entirely. Any thoughts?