Description Usage Arguments Value Author(s) See Also Examples
Computes absolute standardized differences for both
continuous and binary variables. Called by opt_nearfar
to
summarize results of near-far match.
1 | summ_matches(dta, iv, covs, match)
|
dta |
The name of the data frame on which matching was performed |
iv |
The name of the instrumental variable, e.g., iv="QOB" |
covs |
A vector of the names of the covariates to make “near”, e.g., covs=c("age", "sex", "race") |
match |
A two-column matrix of row indices of paired matches |
A table of mean variable values for both the “encouraged” and “discouraged” groups across all variables plus absolute standardized differences for each variable
Joseph Rigdon jrigdon@stanford.edu
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.