Usage: [tau,se] =
mpsc(Y,W,X,M)
Input: Y (Nx1) outcome variable
W (Nx1)
binary treatment indicator
X (Nxk)
covariates as they enter the logit estimator of the
propensity score. First column should be a column of
ones. If interactions or high order terms are
required, please include them in the matrix X.
M (1x1)
number of matches
Output: tau (1x1)
estimated average treatment effect
se
(1x1) standard error
The file with the code is here.