R/KruskalWallis_asymptotic_test_rxc.R
KruskalWallis_asymptotic_test_rxc.Rd
The Kruskal-Wallis asymptotic test for singly ordered rxc tables
Described in Chapter 7 "The rxc Table"
KruskalWallis_asymptotic_test_rxc(n)
An object of the contingencytables_result class,
basically a subclass of base::list()
. Use the utils::str()
function
to see the specific elements returned.
KruskalWallis_asymptotic_test_rxc(table_7.5)
#> (average rank in row 1: W_1 = 286.4383)
#> (average rank in row 2: W_2 = 273.5411)
#> (average rank in row 3: W_3 = 177.8810)
#> (average rank in row 4: W_4 = 275.7105)
#> (average rank in row 5: W_5 = 280.2559)
#> (average rank in row 6: W_6 = 283.9118)
#> (correction term for ties: C_ties = 0.7241)
#> Asymptotic Kruskal-Wallis test: T = 11.965, df = 5, P = 0.03527
KruskalWallis_asymptotic_test_rxc(table_7.6)
#> (average rank in row 1: W_1 = 81.2105)
#> (average rank in row 2: W_2 = 80.4302)
#> (average rank in row 3: W_3 = 63.1328)
#> (correction term for ties: C_ties = 0.6908)
#> Asymptotic Kruskal-Wallis test: T = 9.162, df = 2, P = 0.01024