<< covmat Statistics std >>

fact >> Statistics > snk

snk

analysis of variance et comparison of means by Student-Newman-Keuls (SNK)

Calling sequence

res_snk = snk(x,classes);

Description

x:

a matrix (n x q) or a div structure

classes:

a vector identifying the classes

res_snk:

res_snk.anova contains the analysis of variance of each of the variables in x

res_snk.snk contains the classification of the means by SNK

Warning: SNK is correct for a same number of observations in each class; if not, SNK gives an approximate result with an error increasing with the variability of the number of observations of the classes

Examples

[res]=snk(x,classes)

Authors


Report an issue
<< covmat Statistics std >>