implicitIF_full: Full implicit influence function (beta, u, sigma, theta) for...

View source: R/influence_full.R

implicitIF_fullR Documentation

Full implicit influence function (beta, u, sigma, theta) for a fitted rlmerMod object.

Description

Extends implicitIF by adding the \sigma-DAS and \theta-DAS scoring equations to the implicit-derivative linear system. The Jacobian of the full score wrt (\beta, u, \log \sigma, \theta) is computed numerically via numDeriv::jacobian with Richardson extrapolation; the Jacobian wrt the response is a central finite difference column by column. Only DASvar and DAStau methods are supported (DAStau additionally requires block sizes \le 2).

Usage

implicitIF_full(fit, eps = 1e-06)

Arguments

fit

An rlmerMod object.

eps

Numerical step for numDeriv::jacobian (default 1e-6).

Details

This function is the engine behind cooks.distance / influence; users who only want Cook's distance should call those S3 methods.

The numerical Jacobian is slow (a few seconds on Penicillin); each call recomputes it from scratch.

Value

A list with components IF_beta (p \times n), IF_u (q \times n), IF_sigma (1 \times n), IF_theta (L \times n), and the model-based delta-method covariance vcov_model_delta.

See Also

implicitIF, cooks.distance


robustlmm documentation built on June 21, 2026, 5:12 p.m.