mosaicperm.statistics.mean_maxcorr_stat¶
- mosaicperm.statistics.mean_maxcorr_stat(residuals: array, **kwargs) float[source]¶
Mean maximum (absolute) correlation statistic. This is defined as:
\[\begin{align*} \frac{1}{p} \sum_{i=1}^p \max_{j \ne i} |\hat C_{i,j}| \end{align*}\]where \(\hat C_{i,j}\) is the empirical correlation between the residuals of subjects i and j.
- Parameters:
- residualsnp.array
(n_obs, n_subjects) array of residuals
- kwargsdict
kwargs for
active_subsetpreprocessing function.
- Returns:
- mmcfloat
Mean maximum absolute correlation.