bicovWeights(x, pearsonFallback = TRUE, maxPOutliers = 1,
outlierReferenceWeight = 0.5625,
defaultWeight = 0)
outlierReferenceWeight
below.x
but the weights themselves
would not be finite, for example, when a column in x
is constant.x
giving the weights.Langfelder P, Horvath S (2012) Fast R Functions for Robust Correlations and Hierarchical Clustering Journal of Statistical Software 46(11) 1-17 PMID: 23050260 PMCID: PMC3465711
That article also describes the Pearson fallback and maximum proportion of outliers in detail. For a full discussion of the biweight midcovariance and midcorrelation, see
Wilcox RR (2005). Introduction to Robust Estimation and Hypothesis Testing. 2nd edition. Academic Press, Section 9.3.8, page 399 as well as Section 3.12.1, page 83.
bicor
x = rnorm(100);
x[1] = 10;
plot(x, bicovWeights(x));
Run the code above in your browser using DataLab