enrichwith (version 0.3.1)

get_bias_function.lm: Function to compute/extract a function that returns the first term in the expansion of the bias of the MLE for the parameters of an object of class lm/enriched_lm

Description

Function to compute/extract a function that returns the first term in the expansion of the bias of the MLE for the parameters of an object of class lm/enriched_lm

Usage

# S3 method for lm
get_bias_function(object, ...)

Arguments

object

an object of class lm orenriched_lm

...

currently not used

Details

The computed/extracted function has arguments

coefficients

the regression coefficients at which the first-order bias is evacuated. If missing then the maximum likelihood estimates are used

dispersion

the dispersion parameter at which the first-order bias is evaluated. If missing then the maximum likelihood estimate is used