Log-likelihood matrix for the simple Bradley–Terry model
Source:R/loo_helper.R, R/utils.R
make_bt_simple_loo.RdBuilds an T_iter x D matrix of log-likelihood values, where T_iter is the number of
posterior draws and D is the number of observed unordered pairs (i<j) with
n_ij > 0. This is suitable as input to loo.
Builds an \(S \times D\) matrix of log-likelihood values, where \(S\) is the number of posterior draws and \(D\) is the number of observed unordered pairs (i<j) with \(n_{ij} > 0\).