This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _mgc / _threshold_mgc_map

function

scipy.stats._mgc:_threshold_mgc_map

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_mgc.py:432

Signature

def _threshold_mgc_map(stat_mgc_map, samp_size)

Summary

Finds a connected region of significance in the MGC-map by thresholding.

Parameters

stat_mgc_map : ndarray

All local correlations within [-1,1].

samp_size : int

The sample size of original data.

Returns

sig_connect : ndarray

A binary matrix with 1's indicating the significant region.

Aliases

  • scipy.stats._mgc._threshold_mgc_map