Learn R Programming

ordinalTables (version 1.0.0.3)

Goodman_uniform_association: Fits Goodman's (1979) uniform association model

Description

Fits Goodman's (1979) uniform association model

Usage

Goodman_uniform_association(
  n,
  max_iter = 25,
  verbose = FALSE,
  exclude_diagonal = FALSE
)

Value

a list containing alpha: row effects beta: column effects theta: uniform association parameter log_likelihood: log(likelihood) g_squared: G^2 fit measure chisq: X^2 fit measure df: degrees of freedom

Arguments

n

matrix of observed counts

max_iter

maximum number of iterations. Default is 10.

verbose

should cycle-by-cycle info be printed out? Default is FALSE

exclude_diagonal

logical. Should the cells of the main diagonal be excluded from the computations? Default is FALSE, include all cells.