| multilevel_missing_data.frame {mi} | R Documentation |
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
characterindicating which variables define the multilevel structure- mdf_list
Object of class
mdf_listwhose elements contain amissing_data.framefor each group. This slot is filled automatically by theinitializemethod.
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