Learn R Programming

ordinalTables (version 1.0.0.3)

model_ii_star_update_phi: Updates estimate of phi vector

Description

Updates estimate of phi vector

Usage

model_ii_star_update_phi(n, fHat, mu, phi, exclude_diagonal = FALSE)

Value

list containing: phi: updated estimate of the phi vector mu: updated estimate of vector mu

Arguments

n

matrix of observed counts

fHat

current model-based counts for each cell

mu

alternative row coefficients

phi

vector of column location parameters

exclude_diagonal

logical, Should the cells on the main diagonal be excluded? Default is FALSE, use all cells