Compute the negative log-likelihood for obtaining heuristic residuals.
loglikhresid(par, y, x, par1)
vector of numeric. Contain the intercept, first entry, and coefficient of log(sigma), second entry.
vector of numeric. Centered outcomes within each stratum.
matrix. The design matrix including intercept term.
vector of numeric. The estimated coefficients from RO-logit model.