Arguments
Y
The outcome variable of interest.
D
The unit-level treatment receipt variable. This variable should be
binary but can differ across units within each cluster.
Z
The (randomized) cluster-level encouragement variable. This variable
should be binary. Two units in the same cluster should have the same
value.
grp
A variable indicating clusters of units. Two units in the same
cluster should have the same value.
data
A data frame containing the relevant variables.
match
A variable indicating matched-pairs of clusters. Two units in the
same matched-pair of clusters should have the same value. The
default is NULL (i.e., no matching).
weights
A variable indicating the population cluster sizes, which will be
used to construct weights for each pair of clusters. Two units in
the same cluster should have the same value. The default is
NULL, in which case sample cluster siz
...
Optional arguments passed to ATEcluster, which is called
internally.