get_information_function.glm: Function to compute/extract a function that returns the...

Description Usage Arguments Details

View source: R/enrich.glm.R

Description

Function to compute/extract a function that returns the information matrix for an object of class glm/enriched_glm

Usage

1
2
## S3 method for class 'glm'
get_information_function(object, ...)

Arguments

object

an object of class glm orenriched_glm

...

currently not used

Details

The computed/extracted function has arguments

coefficients

the regression coefficients at which the information matrix is evaluated. If missing then the maximum likelihood estimates are used

dispersion

the dispersion parameter at which the information matrix is evaluated. If missing then the maximum likelihood estimate is used

type

should the function return th 'expected' or 'observed' information? Default is expected

QR

If TRUE, then the QR decomposition of

W^{1/2} X

is returned, where

W

is a diagonal matrix with the working weights (object$weights) and

X

is the model matrix.

CHOL

If TRUE, then the Cholesky decomposition of the information matrix at the coefficients is returned


ikosmidis/enrichwith documentation built on Jan. 1, 2020, 9:44 a.m.