noncompliance_experiment: Simulated experiment with two-sided noncompliance

noncompliance_experimentR Documentation

Simulated experiment with two-sided noncompliance

Description

Assignment does not determine receipt in either direction: 50 of the 300 control subjects took the treatment anyway, and 100 of the 300 treated subjects did not take it. Receipt is a post-treatment variable, so conditioning on it invites post-treatment bias.

Usage

noncompliance_experiment

Format

noncompliance_experiment

A tibble with 600 rows and 3 columns:

Z

Random assignment, "Treatment" or "Control"

D

Treatment receipt, 1 if the subject took the treatment. A post-treatment variable

Y

Turnout, 1 if the subject voted

Source

\Sexpr[results=rd]{tools:::Rd_expr_doi("10.7910/DVN/VE6VSR")}

See Also

Other Data: attrition_experiment, blocked_experiment, clustered_experiment, continuous_interaction, covariate_adjustment, patriot_act, two_arm_trial


vayr documentation built on Aug. 22, 2026, 1:08 a.m.