Suvarna Garge (Editor)

Biweight midcorrelation

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In statistics, biweight midcorrelation (also called bicor) is a measure of similarity between samples. It is median-based, rather than mean-based, thus is less sensitive to outliers, and can be a robust alternative to other similarity metrics, such as Pearson correlation or mutual information.

Contents

Derivation

Here we find the biweight midcorrelation of two vectors x and y , with i = 1 , 2 , , m items, representing each item in the vector as x 1 , x 2 , , x m and y 1 , y 2 , , y m . First, we define med ( x ) as the median of a vector x and mad ( x ) as the median absolute deviation (MAD), then define u i and v i as,

u i = x i med ( x ) 9 mad ( x ) , v i = y i med ( y ) 9 mad ( y ) .

Now we define the weights w i ( x ) and w i ( y ) as,

w i ( x ) = ( 1 u i 2 ) 2 I ( 1 | u i | ) w i ( y ) = ( 1 v i 2 ) 2 I ( 1 | v i | )

where I is the identity function where,

I ( x ) = { 1 , if  x > 0 0 , otherwise

Then we normalize so that the sum of the weights is 1:

x ~ i = ( x i med ( x ) ) w i ( x ) j = 1 m [ ( x j med ( x ) ) w j ( x ) ] 2 y ~ i = ( y i med ( y ) ) w i ( y ) j = 1 m [ ( y j med ( y ) ) w j ( y ) ] 2 .

Finally, we define biweight midcorrelation as,

b i c o r ( x , y ) = i = 1 m x ~ i y ~ i

Applications

Biweight midcorrelation has been shown to be more robust in evaluating similarity in gene expression networks, and is often used for weighted correlation network analysis.

Implementations

Biweight midcorrelation has been implemented in the R statistical programming language as the function bicor as part of the WGCNA package

References

Biweight midcorrelation Wikipedia