Samiksha Jaiswal (Editor)

Permutational analysis of variance

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

Permutational multivariate analysis of variance (PERMANOVA), is a non-parametric multivariate statistical test. PERMANOVA is used to compare groups of objects and test the null hypothesis that the centroids and dispersion of the groups as defined by measure space are equivalent for all groups. A rejection of the null hypothesis means that either the centroid and/or the spread of the objects is different between the groups. Hence the test is based on the prior calculation of the distance between any two objects included to the experiment. PERMANOVA shares some resemblance to ANOVA where they both measure the sum-of-squares within and between group and make use of F test to compare within-group to between-group variance. However, while ANOVA bases the significance of the result on assumption of normality, PERMANOVA draws tests for significance by comparing the actual F test result to that gained from random permutations of the objects between the groups. Moreover, whilst PERMANOVA tests for similarity based on a chosen distance measure, ANOVA tests for similarity of the group averages.

Contents

Calculation of the statistic

In the simple case of a single factor with p groups and n objects in each group,the total sum-of-squares is determined as:

S S T = 1 N i = 1 N 1 j = i + 1 N d i j 2

where N is the total number of objects, and d i j 2 is the squared distance between objects i and j.

Similarly, the within groups sum-of-squares is determined:

S S W = 1 n i = 1 N 1 j = i + 1 N d i j i j 2

Then, the between groups sum-of-squares can be calculated as the difference between the overall and the within groups sum-of-squares:

S S A = S S T S S W

Finally, a pseudo F-statistic is calculated:

F = ( S S a p 1 ) ( S S w N p )

where p is the number of groups.

Drawing significance

Finally, the PERMANOVA procedure draws significance for the actual F statistic by performing multiple permutations of the data. In each such the items are shuffled between groups. For each such permutation of the data the permutation f-statistic is calculated. The p-value is then calculated by:

P = ( count  F p > F ) + 1 ( total count  F p ) + 1

Where F is the F statistic of gained from the actual data and F p is a permutation p-value.

Implementation and use

PERMANOVA is widely used in the field of ecology and is implemented in several software packages including PERMANIVA software, PRIMER and R Vegan package.

References

Permutational analysis of variance Wikipedia