bundles / scipy 1.17.1 / scipy / stats / _mgc / _mgc_stat
function
scipy.stats._mgc:_mgc_stat
source: /scipy/stats/_mgc.py :383
Signature
def _mgc_stat ( distx , disty ) Summary
Helper function that calculates the MGC stat. See above for use.
Parameters
distx, disty: ndarraydistxanddistyhave shapes(n, p)and(n, q)or(n, n)and(n, n)if distance matrices.
Returns
stat: floatThe sample MGC test statistic within
[-1, 1].stat_dict: dictContains additional useful additional returns containing the following keys:
stat_mgc_map
stat_mgc_map
opt_scale
opt_scale
Aliases
-
scipy.stats._mgc._mgc_stat