An auxiliary function that finds the smoothed maximal within the significant region R: If area of R is too small, return the last local corr otherwise take the maximum within R.
Smoothing(localCorr, m, n, R)is all local correlations
is the number of rows of localCorr
is the number of columns of localCorr
is a binary matrix of size m by n indicating the significant region.
A list contains the following:
statis the sample MGC statistic within [-1,1]
optimalScalethe estimated optimal scale as a list.