
Agreement index A based on entropy of weights
Source:R/calc_model_weight_diagnostics.R
calc_model_agreement_index.RdFor the retained set \(\mathcal B = \{i : w_i > 0\}\), computes entropy \(H(\tilde{\mathbf w}) = -\sum_{i\in \mathcal B}\tilde w_i \log \tilde w_i\) and \(A = H(\tilde{\mathbf w}) / \log|\mathcal B|\), with the convention \(A=0\) when \(|\mathcal B| \le 1\).
See also
Other calibration-metrics:
calc_convergence_diagnostics(),
calc_model_cvw(),
calc_model_ess()