nispace.stats.misc.compute_meff

nispace.stats.misc.compute_meff(X, method='galwey')[source]

Effective number of independent tests from data matrix via eigendecomposition.

Parameters:
  • X (array-like, shape (n_maps, n_features)) –

  • method ("galwey" (default) or "li_ji") – Galwey (2009) Genet Epidemiol 33:559; Li & Ji (2005) Ann Hum Genet 69:519.

Return type:

float