mi.method: Virtual class for all mi classes.

Description Usage Arguments Details Author(s) References See Also

Description

Imputes univariate missing data using linear regression.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
  ## S4 method for signature 'mi.method'
imputed(object,y)
  ## S4 method for signature 'mi.categorical'
imputed(object,y)
  ## S4 method for signature 'mi.polr'
imputed(object,y)
  ## S4 method for signature 'mi.method'
coef(object)
  ## S4 method for signature 'mi.method'
coefficients(object)
  ## S4 method for signature 'mi.method'
sigma.hat(object)
  ## S4 method for signature 'mi.method'
fitted(object)
  ## S4 method for signature 'mi.method'
resid(object, y)
  ## S4 method for signature 'mi.method'
residuals(object, y)
  ## S4 method for signature 'mi.method'
print(x, ...)
  ## S4 method for signature 'mi.method,ANY'
plot(x, y, main=deparse( substitute( y ) ), gray.scale = FALSE, ...)

Arguments

object

mi.method object.

...

Currently not used.

x

mi.method object.

y

Observed values.

main

main title of the plot.

gray.scale

When set to TRUE, makes the plot into gray scale with predefined color and line type.

Details

mi.method is a virtual class for all the mi classes. Basically all the necessary functions are defined under mi.method class, thus most of the mi classes that do not have specific method defined for them inherits their methods from this class. For some special class as mi.nonnegative these methods are extended to tailor to the needs.

Author(s)

Masanao Yajima yajima@stat.columbia.edu, M.Grazia Pittau grazia@stat.columbia.edu, Andrew Gelman gelman@stat.columbia.edu

References

Yu-Sung Su, Andrew Gelman, Jennifer Hill, Masanao Yajima. (2011). “Multiple Imputation with Diagnostics (mi) in R: Opening Windows into the Black Box”. Journal of Statistical Software 45(2).

See Also

mi


mi documentation built on May 2, 2019, 4:43 p.m.

Related to mi.method in mi...