ef_variability: Variability matrix

View source: R/ef_variability.R

ef_variabilityR Documentation

Variability matrix

Description

Compute the variability matrix associated with the Pearson estimating function.

Usage

ef_variability(sensitivity, product, inv_C, C, res, W)

Arguments

sensitivity

A matrix. In general the output from ef_sensitivity.

product

A list of matrix.

inv_C

A matrix. In general the output from mt_build_sigma.

C

A matrix. In general the output from mt_build_sigma.

res

A vector. The residuals vector, i.e. (y_vec - mu_vec).

W

Matrix of weights.

Details

This function implements the equation 8 of Bonat and Jorgensen (2016).

Value

The variability matrix associated witht the Pearson estimating function.

Author(s)

Wagner Hugo Bonat and Eduardo Elias Ribeiro Jr


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