Pearson_LR_tests_cum_OR_2xc {contingencytables}R Documentation

The Pearson chi-squared and likelihood ratio tests for cumulative ORs in 2xc tables

Description

The Pearson chi-squared and likelihood ratio tests for cumulative ORs in 2xc tables

Described in Chapter 6 "The Ordered 2xc Table"

Usage

Pearson_LR_tests_cum_OR_2xc(n, direction = "decreasing")

Arguments

n

the observed counts (a 2xc matrix)

direction

the direction of column probabilities ("increasing" or "decreasing")

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

# Postoperative nausea (Lydersen et al., 2012a)
Pearson_LR_tests_cum_OR_2xc(lydersen_2012a)

[Package contingencytables version 3.0.0 Index]