Learn R Programming

ordinalTables (version 1.0.0.3)

Goodman_model_i_star: Fits Goodman's (1979) Model I*

Description

Fits Goodman's (1979) Model I*

Usage

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

Value

a list containing alpha: vector of row parameters beta: vector of column parameters theta: vector of common row/column estimates log_likelihood: log(likelihood) at completion 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

verbose

should cycle-by-cycle information be printed out? Default is FALSE, do not print

exclude_diagonal

should the cells along the main diagonal be excluded? Default is FALSE, include all cells