KRUSKAL_WALLIS_TEST-Kruskal-Wallisone-factoranalysisofvariancePerformaKruskal-Wallisone-factor"analysis of variance".[PVAL,K,DF]=KRUSKAL_WALLIS_TEST(X1,...,XK)Supposeavariableisobservedfor@var{k}>1differentgroups,andletX1,...,XKbethecorrespondingdatavectors.Underthenullhypothesisthattheranksinthepooledsamplearenotaffectedbythegroupmemberships,theteststatisticKisapproximatelychi-squarewithDF=K-1degreesoffreedom.Thep-value(1minustheCDFofthisdistributionatK)isreturnedinPVAL}.Ifnooutputargumentisgiven,thep-valueisdisplayed.[FromOctave2.5.1]Updated2024-04-23:NaNsareexcluded(SDV)Author:KH<Kurt.Hornik@ci.tuwien.ac.at>Description:Kruskal-Wallistest