IDEAS home Printed from
   My bibliography  Save this paper

%CEM: A SAS Macro to Perform Coarsened Exact Matching


  • Stefano VERZILLO


  • Paolo BERTA


  • Matteo BOSSI


% CEM is a SAS macro which allows researchers to perform the recently introduced Coarsened Exact Matching (CEM) technique. CEM is a non-parametric matching method to avoid the confounding influence of pre-treatment control variables directly improving causal inference in quasi-experimental stud- ies. CEM authors originally provided few software solutions for R, Stata and SPSS packages to perform their matching algorithm. The % CEM macro integrates the already available software alternatives introducing a completely automated Coarsened Exact Matching macro for SAS users. Both the matching strategy -including some standard coarsening options- and the associated L1 multivariate imbalance measure are provided. An empirical application estimating the causal effect of regional health systems on the intra-hospital mortality using multiple artificial datasets from a large administrative database completes the paper.

Suggested Citation

  • Stefano VERZILLO & Paolo BERTA & Matteo BOSSI, 2015. "%CEM: A SAS Macro to Perform Coarsened Exact Matching," Departmental Working Papers 2015-22, Department of Economics, Management and Quantitative Methods at Università degli Studi di Milano.
  • Handle: RePEc:mil:wpdepa:2015-22

    Download full text from publisher

    File URL:
    Download Restriction: no

    References listed on IDEAS

    1. Camillo, Furio & D'Attoma, Ida, 2012. "%GI: A SAS Macro for Measuring and Testing Global Imbalance of Covariates within Subgroups," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 51(c01).
    2. Giuseppe Porro & Stefano Maria Iacus, 2009. "Random Recursive Partitioning: a matching method for the estimation of the average treatment effect," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 24(1), pages 163-185.
    3. Iacus, Stefano & King, Gary & Porro, Giuseppe, 2009. "cem: Software for Coarsened Exact Matching," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 30(i09).
    4. Iacus, Stefano M. & King, Gary & Porro, Giuseppe, 2011. "Multivariate Matching Methods That Are Monotonic Imbalance Bounding," Journal of the American Statistical Association, American Statistical Association, vol. 106(493), pages 345-361.
    Full references (including those not matched with items on IDEAS)


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:mil:wpdepa:2015-22. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (DEMM Working Papers) The email address of this maintainer does not seem to be valid anymore. Please ask DEMM Working Papers to update the entry or send us the correct email address. General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.