R/Pearson_LR_tests_cum_OR_2xc.R
Pearson_LR_tests_cum_OR_2xc.Rd
The Pearson chi-squared and likelihood ratio tests for cumulative ORs in 2xc tables
Described in Chapter 6 "The Ordered 2xc Table"
Pearson_LR_tests_cum_OR_2xc(n, direction = "decreasing")
An object of the contingencytables_result class,
basically a subclass of base::list()
. Use the utils::str()
function
to see the specific elements returned.
# Postoperative nausea (Lydersen et al., 2012a)
Pearson_LR_tests_cum_OR_2xc(lydersen_2012a)
#> Pearson chi-squared test: T = 3.813, P = 0.07223
#> Likelihood ratio test: T = 3.914, P = 0.06856