mc_correction: Pearson correction term

View source: R/mc_correction.R

mc_correctionR Documentation

Pearson correction term

Description

Compute the correction term associated with the Pearson estimating function.

Usage

mc_correction(D_C, inv_J_beta, D, inv_C)

Arguments

D_C

A list of matrices.

inv_J_beta

A matrix. In general it is computed based on the output of the [mcglm]{mc_quasi_score}.

D

A matrix. In general it is the output of the mc_link_function.

inv_C

A matrix. In general the output of the mc_build_C.

Details

It is an internal function useful inside the fitting algorithm.

Value

A vector with the correction terms to be used on the Pearson estimating function. The returned object is intended for internal use only.

Author(s)

Wagner Hugo Bonat


mcglm documentation built on Jan. 9, 2026, 1:07 a.m.