get_parameters: An Extractor Function for Model Parameters

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function is not intended to be called directly by users. During the multiple imputation process, the mi function estimates models and stores the estimated parameters in the parameters slot of an object that inherits from the missing_variable-class. The get_parameter function simply extracts these parameters for storeage, which are usually the estimated coefficients but may also include ancillary parameters.

Usage

1

Arguments

object

Usually an estimated model, such as that produced by glm

...

Additional arguments, currently not used

Details

There is method for the object produced by polr, which also returns the estimated cutpoints in a proportional odds model. However, the default method simply calls coef and returns the result. If users implement their own models, it may be necessary to write a short get_parameters method.

Value

A numeric vector of estimated parameters

Author(s)

Ben Goodrich and Jonathan Kropko, for this version, based on earlier versions written by Yu-Sung Su, Masanao Yajima, Maria Grazia Pittau, Jennifer Hill, and Andrew Gelman.

See Also

fit_model

Examples

1
showMethods("get_parameters")

mi documentation built on May 1, 2019, 10:13 p.m.