mlr | R Documentation |
Creating a series of matched data sets with different calibration parameters. The output of this function can be supplied to summary.mlr
and then plot.summary.mlr
methods to generate diagnostic and calibration plots.
mlr(tr, Z.i = NULL, Z.o = mlr.generate.Z.o(Z.i), psm = TRUE , caliper.vec = c(0.1, 0.25, 0.5, 0.75, 1, 1.5, 2, 5, Inf) , ...)
tr |
Binary treatment indicator vector (1=treatment, 0=control), whose coefficient in the linear regression model is TE. |
Z.i |
Matrix of adjustment covariates included in linear regression. We must have |
Z.o |
Matrix of adjustment covariates (present in generative model but) omitted from regression estimation. We must have |
psm |
Boolean flag, indicating whether propensity score matching should be used ( |
caliper.vec |
Vector of matching calipers used. |
... |
Other parameters passed to |
A list with the following fields:
tr |
Same as input. |
Z.i |
Same as input. |
Z.o |
Same as input. |
idx.list |
List of observation indexes for each matched data set. |
caliper.vec |
Same as input. |
Alireza S. Mahani, Mansour T.A. Sharabiani
Link to a draft paper, documenting the supporting mathematical framework, will be provided in the next release.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.