View source: R/estimateEffectZeligSubclass.R
estimateEffectZeligSubclass | R Documentation |
Estimate Effect after subclass matching with simulation
estimateEffectZeligSubclass(
out,
mode = "continuous",
multiple = TRUE,
dep,
seed = 1224,
n_sim = 10000,
reverse = FALSE
)
out |
An object of class "matchit" |
mode |
One of c("continuous","binary","survival") |
multiple |
logical Whether or not perform multiple regression |
dep |
Name of dependent variable |
seed |
numeric seed number |
n_sim |
numeric number of simuations |
reverse |
logical |
library(MatchIt)
out=matchit(formula=treat~V1+V2+V3,data=simData,estimand="ATE",link="linear.logit",
method="subclass",subclass=8)
estimateEffectZeligSubclass(out,dep="y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.