mc_pearson: Pearson estimating function

Description Usage Arguments Details Value Author(s)

View source: R/mc_pearson.R

Description

Compute the Pearson estimating function its sensitivity and variability matrices.

Usage

1
2
3
mc_pearson(y_vec, mu_vec, Cfeatures, inv_J_beta = NULL, D = NULL,
  correct = FALSE, compute_sensitivity = TRUE,
  compute_variability = FALSE, 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_sensitivity

Logical.

compute_variability

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/mcglm documentation built on June 23, 2020, 11:06 a.m.