modelDependence()
is used to compute the Athey-Imbens
measure of sensitivity to model specification.
modelDependence(dataset, treatment, base.form, verbose = TRUE,
seed = 1, cutpoints = NA, median = TRUE)
data(lalonde)
treatment <- 'treat'
base.form <- as.formula('re78 ~ treat + age + education
+ black + hispanic + married +
nodegree + re74 + re75')
md <- modelDependence(lalonde, treatment, base.form,
cutpoints = list('age' = mean(lalonde$age)))
print(md)
Run the code above in your browser using DataLab