x
matrix. A matrix of confounders.
z
integer. The treatment indicator, \(z_i \in \{0,1\}\).
y
numeric. The outcome data.
n0
integer. The number of observations where z==0
n1
integer. The number of observations where z==1
weights
numeric. The empirical distribution of the full sample.