what is the output of kruskalwallis?
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ameligege
am 24 Feb. 2015
Beantwortet: Brendan Hamm
am 24 Feb. 2015
Hello every one
p = kruskalwallis(X) p = kruskalwallis(X,group) p = kruskalwallis(X,group,displayopt) [p,table] = kruskalwallis(...) [p,table,stats] = kruskalwallis(...)
all these built in function that I run but I want the output is a set of values not table or single value how I can?
0 Kommentare
Akzeptierte Antwort
Brendan Hamm
am 24 Feb. 2015
I am not sure what "set of values" you are looking for. The output from the call:
p = kruskalwallis(X)
is simply the p value for the hypothesis test with null hypothesis H0: The columns of X all come from the same distribution and alternative hypothesis H1: At least one column comes from a different distribution. The table and stats variables simply give you more information regarding this test.
To interpret p, choose a significance level alpha (common choices are 0.01, 0.05, 0.1) and if the p value is less than alpha you would reject the null in favor of the alternative. Otherwise you would conclude there is statistical evidence to support the null hypothesis.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Hypothesis Tests finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!