ef_correction: Pearson correction term

View source: R/ef_correction.R

ef_correctionR Documentation

Pearson correction term

Description

Compute the correction term associated with the Pearson estimating function.

Usage

ef_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 [mglm4twin]{ef_quasi_score}.

D

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

inv_C

A matrix. In general the output of the mt_build_sigma.

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.

Author(s)

Wagner Hugo Bonat


wbonat/mglm4twin documentation built on Oct. 14, 2023, 9:37 p.m.