summary.wimids: Summarizes a 'wimids' Class Object

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

View source: R/summary.wimids.R

Description

The summary.wimids() function summarizes an object of the wimids class.

Usage

1
2
3
## S3 method for class 'wimids'
summary(object, n = 1, interactions = FALSE,
  addlvariables = NULL, standardize = FALSE, ...)

Arguments

object

This argument specifies an object of the wimids class.

n

This argument specifies the weighted imputed dataset number, intended to summarize its matching profile. The input must be a positive integer. The default is 1.

interactions

This argument specifies whether to show the balance of all squares and interactions of the covariates used in the weighting procedure. The input must be a logical value. The default is FALSE

addlvariables

This argument specifies whether to provide balance measures on additional variables not included in the original weighting procedure. The input should be a list. The default is NULL

standardize

This argument specifies whether to print out standardized versions of the balance measures, where the mean difference is standardized (divided) by the standard deviation in the original treated group. The input must be a logical value. The default is FALSE.

...

Additional arguments to be passed to the summary.wimids() function.

Details

The matching profile of the wimids class objects is summarized.

Author(s)

Farhad Pishgar

References

Daniel Ho, Kosuke Imai, Gary King, and Elizabeth Stuart (2007). Matching as Nonparametric Preprocessing for Reducing Model Dependence in Parametric Causal Inference. Political Analysis, 15(3): 199-236. http://gking.harvard.edu/files/abs/matchp-abs.shtml

See Also

wimids

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#Loading the 'dt.osa' dataset
data(dt.osa)

#Imputing missing data points in the'dt.osa' dataset
datasets <- mice(dt.osa, m = 5, maxit = 1,
                 method = c("", "", "mean", "", "polyreg", "logreg", "logreg"))

#Weighting the imputed datasets, 'datasets'
weighteddatasets <- weightitmice(KOA ~ SEX + AGE + SMK, datasets,
                                 approach = 'within', method = 'nearest')

#Summarizing data of the first imputed dataset
summary.1 <- summary(weighteddatasets, n = 1)

MatchIt.mice documentation built on Aug. 28, 2019, 1:03 a.m.