grr: Gradient for the loglikelihood used by ui.probit
Description
This function derives the gradient in order for ui.probit
to run faster.
Usage
grr(par, rho, X.z = X.z, X.y = X.y, y = y, z = z)
Arguments
X.z
Covariate matrix for missingness.
X.y
Covariate matrix for outcome.