Average pairwise overlap of a Gaussian mixture
Source:R/statistical_metrics.R
compute_average_overlap.RdReturns MixSim's BarOmega: the unweighted mean of pairwise
overlaps
$$
\overline{\omega}
=
\frac{2}{J(J-1)}
\sum_{1\le j<\ell\le J}
\bigl(\Omega_{j\ell}+\Omega_{\ell j}\bigr)
\in[0,1]
$$
(up to the MixSim numerical convention), where
\(\Omega_{j\ell}=\Pr_{X\sim f_j}(X\text{ classified as }\ell)\)
already uses the mixture weights \(\boldsymbol{p}\) inside the
Bayes / MAP rule of MixSim::overlap(). Do not multiply the
directional masses by \(p_j\) again.
Arguments
- true_theta
List validated by
check_true_theta():p(length \(J\) or \(J\times N\)),mu(\(G\times J\)),sigma(\(G\times G\times J\)).- J
Number of cell types (components). Defaults to the third dimension of
sigma.