mosaicperm.statistics.mean_abscorr_stat¶
- mosaicperm.statistics.mean_abscorr_stat(residuals: array, **kwargs) float[source]¶
Mean absolute correlation statistic. This is defined as:
\[\begin{align*} \frac{1}{\binom{p}{2}} \sum_{i=1}^p \sum_{j < 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:
- macfloat
Mean absolute correlation.