Learn R Programming

ordinalTables (version 1.0.0.3)

Ireland_symmetry: Fits symmetry model.

Description

Ireland, C. T., Ku, H. H., & Kullback, S. (1969). Symmetry and marginal homogeneity of an r × r contingency table. Journal of the American Statistical Association, 64(328), 1323-1341.

Usage

Ireland_symmetry(n, truncated = FALSE)

Value

a list containing mdis: value of the minimum discriminant information statistic (appox chi-squared) df: dgrees of freedom x_star: matrix of model-based counts p_star: matrix of model-based p-values

Arguments

n

matrix of observed counts

truncated

should the diagonal be excluded. Default is FALSE, include the diagonal.

Examples

Run this code
Ireland_symmetry(vision_data)

Run the code above in your browser using DataLab