KRUSKAL_WALLIS_MV(VARARGIN)PerformaKruskal-Wallisone-factor'analysis of variance'formultivariatedata.[PVAL,KW,DF]=vlt.stats.kruskal_wallis_mv(X1,...,XK)Returnstheprobability(PVAL)ofthenullhypothesisthatthedistributionsofX1,...,XKareequal.ThemultivariatepointsXishouldbearrangedincolumnform.TheKWstatisticanddegreesoffreedomDFarereturned.TheKruskal-Wallistestisaranktestbasedontheorderofthedatapointsratherthantheirvalue(seeANOVA1).WeimplementthetestdescribedbyChoiandMardenandchoosethekerneltobe(X-Y)/||(X-Y)||(seethereference).Reference:ChoiandMarden,J.Amer.Stat.Assoc.,92:1581-1590warning:thishasbeentestedfornormaldistributionsandseemstoperformreasonably,butIcouldnotfindexampledataforwhichtheauthorshadperformedanalysis;upshot:thisisnot100%tested