VTcoeffs: Effect sizes of association between categorical variables

View source: R/vtcoeffs.r

VTcoeffsR Documentation

Effect sizes of association between categorical variables

Description

Effect sizes of association between categorical variables

Usage

VTcoeffs(table, correct=FALSE, ...)

Arguments

table

Contingency table

correct

Perform continuity correction in underlying chi-square test?

...

Additional arguments to underlying chisq.test()

Details

Association between categorical variables.

Calculates Cramer's V and Tschuprow's, original and corrected (Bergsma, 2013)

Alternative: vcd::assocstats()

Includes magnitude interpretation for original Cramer's V (for df < 6).

Value

Data frame with coefficients, values and tables.

Author(s)

Alexey Shipunov

Examples

x <- margin.table(Titanic, 1:2)
VTcoeffs(x)
VTcoeffs(x)[2, ] # most practical

shipunov documentation built on Feb. 16, 2023, 9:05 p.m.

Related to VTcoeffs in shipunov...