Learn R Programming

lmmot (version 0.1.4)

motGradient: Gradient of log-Likelihood for mot model

Description

Gradient of log-Likelihood for right censored Multiple Ordinal Tobit (MOT) model.

Usage

motGradient(param, xx, y, tau)

Arguments

param
parameter vector: (beta_0, beta_1, ... , beta_m, sigma).
xx
design matrix of the model.
y
observation vector.
tau
threshold vector from tau_1 to tau_K.

Value

gradient of log-likelihood, vector with all observations.

See Also

lmmot