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, match.on, QOI = 'FSATT', metric =
'Mahal', ratio = 'fixed', breaks = NULL, distance.mat =
NULL)
|
dataset |
The data set contain containing the treatment, outcome, and variable to match on. |
treatment |
The name of the treatment. |
match.on |
A vector of colnames indicating which variables are to be matched on. |
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 options are 'L1' and 'Euclid'. |
ratio |
Variable or fixed ratio. See King, Lucas, and Nielsen for details. |
breaks |
Can be used with L1 to provide user-specified breaks. |
distance.mat |
A treatment by control distance matrix. |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.