Description Usage Arguments References Examples
makeFrontier()
computes the balance - frontier sample
size and can be used with estimateEffects
to estimate
effects along the balance - sample size frontier.
1 2 3 | makeFrontier(dataset, treatment, outcome, match.on,
keep.vars = NULL, QOI = 'FSATT', metric = 'Mahal',
ratio = 'fixed', breaks = NULL)
|
dataset |
The data set contain containing the treatment, outcome, and variable to match on. |
treatment |
The name of the treatment. |
outcome |
The name of the outcome. |
match.on |
A vector of colnames indicating which variables are to be matched on. |
keep.vars |
A character vector of variable names that are not in treatment, outcome, or 'match.on' but that the user would like to store in the data, either for calculation of model depedence intervals or for use in exported data sets. |
QOI |
The quantity of interest to be estimated. By default, feasible sample average treatment effect on the treated or FSATT. The other option is SATT (sample average treatment effect on the treated). |
metric |
The metric used to measure imbalance. Defaults to average mahalanobis distance to nearest match. The other option is L1. |
ratio |
Variable or fixed ratio. See King, Lucas, and Nielsen for details. |
breaks |
Can be used with L1 to provide user-specified breaks. |
King, Gary, Christopher Lucas, and Richard Nielsen. "The Balance-Sample Size Frontier in Matching Methods for Causal Inference." (2015).
1 2 3 4 5 6 7 |
Loading MatchingFrontier Version 1.0.0
## Citation ##
King, Gary, Christopher Lucas, and Richard Nielsen. "MatchingFrontier:
Automated Matching for Causal Inference." R package version 1.0.0.
## BibTeX ##
@manual{MatchingFrontier,
title={MatchingFrontier: Automated Matching for Causal Inference},
author={King, Gary and Lucas, Christopher and Nielsen, Richard},
year={2014},
note={R package version 1.0.0}
}
Calculating Mahalanobis distances...
Calculating theoretical frontier...
Calculating information for plotting the frontier...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.