example_multilevel {EffectLiteR} | R Documentation |
Dataset example_multilevel.
Description
A simulated dataset with a cluster ID and sampling weights to test multilevel options. The variables are:
Format
A data frame with 800 rows and 7 variables.
Details
y. Coninuous dependent variable.
x. Treatment variable with values 0, 1.
z. Continuous covariate.
xz. Product of x and z.
cid. Cluster ID.
weights. Sampling weights.
iptw. Classic inverse probability of treatment weights based on a logistic regression of x on z. Use with care (only for average effects).
[Package EffectLiteR version 0.4-6 Index]