Description Usage Arguments Value Examples
Computes the matching estimator and the matching weights for a range of
matches M
. The output of this function is used as an input for
ATTMatchEstimate
for inference on the conditional average
treatment effect for the treated (CATT) and population average treatment
effect for the treated (PATT).
1 | ATTMatchPath(y, d, D0, M = 1:25, tol = 1e-12)
|
y |
outcome vector with length |
d |
vector of treatment indicators with length |
D0 |
matrix of distances with dimension |
M |
a vector of integers determining the number of matches. If
|
tol |
numerical tolerance for determining nearest neighbors in constructing matches |
List with the following components:
A data frame with columns M
, maxbias
, att
, and
lindw
corresponding to the number of matches, the scaled worst-case
bias, the ATT estimate, and the largest Lindeberg weight.
A matrix where each row j
corresponds to the linear weights
k used to form the matching estimator with M[j]
matches.
Vector of treatment indicators, as supplied by d
Vector of outcomes, as supplied by y
The tolerance parameter tol
, as supplied by tol
The distance matrix, as supplied by D0
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.