ps.matched.summary: Simple population summary of matched samples

Description Usage Arguments Details Value Examples

Description

Summarize the matched samples.

Usage

1

Arguments

data

Data Frame - containing the dataset with previously calculated is_matched. The data frame must contain a treatment indicator variable called 'treat' and a variable indicating whether the subject was matched called 'is_matched'.

Details

This function does a simple summary counting of the matched vs unmatched samples. Print the resulting table to see counts of the original population, vs the populations that result from previously completed matching. (Not really useful for weighting as all subjects will have a non-zero weight)

Value

Matrix - containing the summary counts of treat and control in original and matched populations

Examples

1
2
3
4
## Not run: 
ps.matched.summary(myData)

## End(Not run)

OHDSI/Centaur documentation built on May 7, 2019, 8:22 p.m.