Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

multilevel_missing_data.frame

Class "multilevel_missing_data.frame"


Description

This class inherits from the missing_data.frame-class but is customized for the situation where the sample has a multilevel structure.

Details

The fit_model-methods for the multilevel_missing_data.frame class will, by default, utilize multilevel modeling techniques that shrink the estimated parameters for each group toward their global means.

Objects from the Class

Objects can be created by calls of the form new("multilevel_missing_data.frame", ...). However, its users almost always will pass a data.frame to the missing_data.frame function and specify the subclass and groups arguments.

Slots

The multilevel_missing_data.frame class inherits from the missing_data.frame-class and has two additional slots

groups

Object of class character indicating which variables define the multilevel structure

mdf_list

Object of class mdf_list whose elements contain a missing_data.frame for each group. This slot is filled automatically by the initialize method.

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

Examples

## Write example

mi

Missing Data Imputation and Model Checking

v1.0
GPL (>= 2)
Authors
Andrew Gelman [ctb], Jennifer Hill [ctb], Yu-Sung Su [aut], Masanao Yajima [ctb], Maria Pittau [ctb], Ben Goodrich [cre, aut], Yajuan Si [ctb], Jon Kropko [aut]
Initial release
2015-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.