A simulated population-level data set characterizing the effect of a treatment on an outcome. The data includes a treatment indicator, a single covariate, and a single covariate. The unobservable terms generating the outcomes are generated according to the following specifications: y1 ~ beta0 + beta1 * x + uSpline(degree = 2, knots = c(0.3, 0.6), intercept = FALSE)
dtsf
A data frame with 4,200 rows and 8 columns.
covariate
instrument
density
probability of treatment uptake
counterfactual outcome when a recipient of treatment
counterfactual outcome when not a recipient of treatment
indicator for treatment (d = 1) versus control (d = 0) group
the observed outcome
y0 = x : uSpline(degree = 0, knots = c(0.2, 0.5, 0.8), intercept = TRUE) + uSpline(degree = 1, knots = c(0.4), intercept = TRUE) + beta3 * I(u ^ 2)
This data set is generated by the (non-exported) command
gendist_splines()
.