Fits Goodman's (1979) Model I
Goodman_model_i(
n,
row_effects = TRUE,
column_effects = TRUE,
max_iter = 25,
verbose = FALSE,
exclude_diagonal = FALSE
)a list containing alpha: row effects beta: column effects gamma: row location weights delta: column location weights log_likelihood: log(likelihood) g_squared: G^2 fit measure chisq: X^2 fit measure df: degrees of freedom
matrix of observed counts
should row effects be included in the model? Default is TRUE
should column effects be included in the model? Default is TRUE
maximum number of iterations. Default is 10
logical. Should cycle-by-cycle output be printed? Default is no
logical. For square tables, should the cells on the diagonal be excluded? Default is FALSE, include all cells