grr function

Gradient for the loglikelihood used by ui.probit

Gradient for the loglikelihood used by ui.probit

This function derives the gradient in order for ui.probit to run faster.

grr(par, rho, X.z = X.z, X.y = X.y, y = y, z = z)

Arguments

  • par: Coefficients.
  • rho: Rho.
  • X.z: Covariate matrix for missingness.
  • X.y: Covariate matrix for outcome.
  • y: Outcome.
  • z: Missing or not.
  • Maintainer: Minna Genbaeck
  • License: GPL-2
  • Last published: 2019-11-11

Useful links