Skip to contents

A completely randomized experiment in which a continuous pretreatment covariate predicts the outcome, so adjusting for it buys precision.

Usage

covariate_adjustment

Format

covariate_adjustment

A tibble with 100 rows and 9 columns:

ID

Subject identifier

U

Unobserved subject-level shock

X

Continuous pretreatment covariate

Y_Z_0, Y_Z_1

Continuous potential outcomes under control and treatment

Z

Random assignment, 1 for treatment and 0 for control

Z_cond_prob

Probability of the assigned condition, 0.5 throughout

Y

Revealed outcome

condition

Z labelled "Treatment" and "Control"