The overview function provides a quick assessment of overall matching quality by reporting the N, mean, and s.d. of focal, matched, pool, and unmatched sets for all covariates as well as the propensity scores ('ps'). The mean and s.d. difference in focal - matched is also reported.

overview(x, digits = 2, ...)

# S4 method for Matched,numeric_OR_missing
overview(x, digits)

Arguments

x

Matched object

digits

Integer indicating the number of significant digits to be used. Negative values are allowed (see ?signif).

...

Additional arguments.

Value

  • A printed overview of matching quality.

  • (Internally) a MatchedOverview object.

Details

Factor, character, or logical covariates are reported by N per set, rather than with mean and s.d.

Examples

set.seed(123)
mdf <- makeExampleMatchedDataSet(matched = TRUE)
overview(mdf)
#> MatchedDataFrame object: 
#>        set     N feature2.mean feature2.sd feature3.a feature3.b feature3.c
#>      focal   500           4.1         1.9         66        157        206
#>    matched   500           4.6         2.8         59        148        225
#>       pool 10000           6.0         3.4       4248       3121       1117
#>  unmatched  9500           6.1         3.4       4189       2973        892
#>  feature3.d feature3.e ps.mean ps.sd
#>          49         22   0.100 0.076
#>          40         28   0.100 0.076
#>         992        522   0.045 0.051
#>         952        494   0.042 0.047
#> --------
#> focal - matched: 
#>  feature2.mean feature2.sd feature3.a feature3.b feature3.c feature3.d
#>          -0.48       -0.89          7          9        -19          9
#>  feature3.e ps.mean   ps.sd
#>          -6  0.0011 0.00049