data(lalonde)
match.on <- colnames(lalonde)[!(colnames(lalonde) %in% c('re78',
'treat'))]
my.frontier <- makeFrontier(dataset = lalonde,
treatment = 'treat',
outcome = 're78',
match.on = match.on)
my.form <- as.formula(re78 ~ treat + age + black + education + hispanic +
married + nodegree + re74 + re75)
## Not run:
# my.estimates <- estimateEffects(my.frontier, 're78 ~ treat',
# mod.dependence.formula = my.form,
# continuous.vars = c('age', 'education', 're74', 're75'),
# prop.estimated = .1,
# means.as.cutpoints = TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab