The Jonckheere-Terpstra test for association

Described in Chapter 7 "The rxc Table"

JonckheereTerpstra_test_rxc(n)

Arguments

n

the observed table (an rxc matrix)

Value

An object of the contingencytables_result class, basically a subclass of base::list(). Use the utils::str() function to see the specific elements returned.

Examples

JonckheereTerpstra_test_rxc(table_7.7)
#> The Jonckheere-Terpstra test for association: P = 0.006720, Z = -2.710
JonckheereTerpstra_test_rxc(table_7.8)
#> The Jonckheere-Terpstra test for association: P = 0.000000, Z =  7.658
JonckheereTerpstra_test_rxc(table_7.9)
#> The Jonckheere-Terpstra test for association: P = 0.000000, Z = 15.985