Pearson_residuals_rxc: The Pearson residuals and the standardized Pearson residuals

View source: R/Pearson_residuals_rxc.R

Pearson_residuals_rxcR Documentation

The Pearson residuals and the standardized Pearson residuals

Description

The Pearson residuals and the standardized Pearson residuals

Described in Chapter 7 "The rxc Table"

Usage

Pearson_residuals_rxc(n)

Arguments

n

the observed counts (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

## Treatment for ear infection (van Balen et al., 2003):
Pearson_residuals_rxc(table_7.3)

## Psychiatric diagnoses vs PA (Mangerud et al., 2004):
Pearson_residuals_rxc(table_7.4)

## Psychiatric diag. vs BMI (Mangerud et al., 2004):
Pearson_residuals_rxc(table_7.5)

ocbe-uio/contingencytables documentation built on Aug. 30, 2024, 7:16 a.m.