grr: Gradient for the loglikelihood used by ui_probit

View source: R/grr.R

grrR Documentation

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, Xz = Xz, Xy = Xy, y = y, z = z)

Arguments

par

Coefficients.

rho

Rho.

Xz

Covariate matrix for missingness.

Xy

Covariate matrix for outcome.

y

Outcome.

z

Missing or not.


ui documentation built on June 25, 2026, 5:09 p.m.

Related to grr in ui...