Lably
Skip to content

Permutational analysis of variance

Statistical test

  • 2 min read
  • 3 chapters

Related on Lably

Through Statistical hypothesis test, Centroid and Statistical dispersion

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:

SST=1N∑i=1N−1∑j=i+1Ndij2

where N=pn is the total number of objects, and dij2 is the squared distance between objects i and j.

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

SSW=1n∑i=1N−1∑j=i+1Ndij2δij

where δij is 1 if the observations i and j belong to the same group, and 0 otherwise. Then, the between groups sum-of-squares (SSA) can be calculated as the difference between the overall and the within groups sum-of-squares:

SSA=SST−SSW

Finally, a pseudo F-statistic is calculated:

F=(SSAp−1)(SSWN−p)

where p is the number of groups.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Statistics