Debian Codegraph @

docs/manual/Table__Report_one-way_Kruskal-Wallis___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Table: Report one-way Kruskal-Wallis...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Table: Report one-way Kruskal-Wallis...
13 </b></font></table></table>
14 <p>Performs a one-way Kruskal-Wallis analysis on the data in one column of a selected <a href="Table.html">Table</a> and reports the results in the info window. This test is sometimes refered to as a one-way analysis of variance for <i>non-normally distributed</i> data.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Column with data</b>
18 <dd>the label of the column whose data will be analyzed.</dd>
19 <dt><b>Factor</b>
20 <dd>the label of the column with the names of the levels.</dd>
21 </dl>
22 <h2>Algorithm</h2>
23 <p>The analysis is done on the ranked data and consists of the following steps:</p>
24 <dl>
25 <dd style="position:relative;padding-left:1em;text-indent:-2em">1. Rank all the <i>N</i> data points together, i.e. rank the data from 1 to <i>N</i>.</dd>
26 <dd style="position:relative;padding-left:1em;text-indent:-2em">2. The test statistic is:</dd>
27 </dl>
28 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>K</i> = (12 / (<i>N</i>(<i>N</i>+1)) &#931;<sub><i>i</i>=1</sub><sup><i>g</i></sup> <i>n</i><sub><i>i</i></sub> (meanRank<sub><i>i</i></sub>)<sup>2</sup> - 3(<i>N</i>+1),</table>
29 <dl>
30 <dd>where <i>g</i> is the number of levels, <i>n</i><sub><i>i</i></sub> the number of data in <i>i</i>-th level and meanRank<sub><i>i</i></sub> the average rank of the <i>i</i>-th level.</dd>
31 <dd style="position:relative;padding-left:1em;text-indent:-2em">3. The <i>p</i> value is <i>approximated by the &#967;<sup>2</sup> (</i>K, <i>g</i> - 1) distribution.</dd>
32 </dl>
33 <hr>
34 <address>
35 <p>© djmw 20120617</p>
36 </address>
37 </body>
38 </html>