Function for calculating absolute differences in means between the covariates in the treatment and control groups in terms of the original units of the covariates. Here, the absolute differences in means are normalized by the simple average of the treated and control standard deviations before matching (see Rosenbaum and Rubin 1985 for details).
absstddif(X_mat, t_ind, std_dif)
matrix of covariates: a matrix of covariates used to build the rank-based Mahalanobis distance matrix.
treatment indicator: a vector of zeros and ones indicating treatment (1 = treated; 0 = control).
standardized differences: a scalar determining the number of absolute standardized differences.
A vector that can be used with the
far options of
Jose R. Zubizarreta <email@example.com>, Cinar Kilcioglu <firstname.lastname@example.org>.
Rosenbaum, P. R., and Rubin, D. B. (1985), "Constructing a Control Group by Multivariate Matched Sampling Methods that Incorporate the Propensity Score," The American Statistician, 39, 33-38.
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.