Performs chi-square test on contingency tables.
Super classes
LearnNonparam::PermuTest
-> LearnNonparam::ContingencyTableTest
-> ChiSquare
Methods
Examples
t <- pmt(
"table.chisq", n_permu = 0
)$test(Table5.4.2)$print()
#>
#> Chi-Square Test on Contingency Table
#>
#> scoring: none type: permu(210) method: default
#> statistic = 4.277778, p-value = 0.3142857
t$type <- "asymp"
t
#>
#> Chi-Square Test on Contingency Table
#>
#> scoring: none type: asymp method: default
#> statistic = 4.277778, p-value = 0.1177856