This function derives the Loglikelihood for ui.probit
.
LogL.probit(par, rho, X.z = X.z, X.y = X.y, y = y, z = z)
Coeficient values the logliklihood should be drived at.
The value of the sensitivity parameter.
covariate matrix for missingness mechanism
covariate matrix for the outcome regression
outcome vector
indicator of wether y is missing or not