Log-likelihood in the ordered probit model
This function computes the log-likelihood value given the threshold increments d
.
ll_ordered(d, y, mu, Tvec)
d
: A numeric vector of threshold increments.y
: A matrix of the choices.mu
: A matrix of the systematic utilities.Tvec
: The element Tvec
in sufficient_statistics
.The log-likelihood value.
ll_ordered(c(0,0,0), matrix(1), matrix(1), 1)
Useful links