ef_pearson: Pearson estimating function

View source: R/ef_pearson.R

ef_pearsonR Documentation

Pearson estimating function

Description

Compute the Pearson estimating function its sensitivity and variability matrices.

Usage

ef_pearson(
  y_vec,
  mu_vec,
  Cfeatures,
  inv_J_beta = NULL,
  D = NULL,
  correct = FALSE,
  compute_variability = FALSE,
  compute_sensitivity = TRUE,
  W
)

Arguments

y_vec

A vector.

mu_vec

A vector.

Cfeatures

A list of matrices.

inv_J_beta

A matrix.

D

A matrix.

correct

Logical.

compute_variability

Logical.

compute_sensitivity

Logical.

W

Matrix of weights.

Details

Compute the Pearson estimating function its sensitivity and variability matrices. For more details see Bonat and Jorgensen (2016) equations 6, 7 and 8.

Value

A list with three components: (i) a vector of quasi-score values, (ii) the sensitivity and (iii) variability matrices associated with the Pearson estimating function.

Author(s)

Wagner Hugo Bonat


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