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)


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. S. Verzillo & A. Santoro & M. Mezzanzanica, 2017. "Family splitting versus joint taxation: a case-study," Economia Politica: Journal of Analytical and Institutional Economics, Springer;Fondazione Edison, vol. 34(2), pages 337-354, August.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Cerqua, Augusto & Urwin, Peter & Thomson, Dave & Bibby, David, 2020. "Evaluation of education and training impacts for the unemployed: Challenges of new data," Labour Economics, Elsevier, vol. 67(C).
    2. Lanahan, Lauren & Joshi, Amol M. & Johnson, Evan, 2021. "Do public R&D subsidies produce jobs? Evidence from the SBIR/STTR program," Research Policy, Elsevier, vol. 50(7).
    3. Patricio Aroca & Juan Gabriel Brida & Juan Sebastián Pereyra & Serena Volo, 2014. "Tourism statistics: correcting data inadequacy using coarsened exact matching," BEMPS - Bozen Economics & Management Paper Series BEMPS22, Faculty of Economics and Management at the Free University of Bozen.
    4. Gaurav Datt & Leah Uhe, 2014. "A little help may be no help at all: child labor and scholarships in Nepal," Monash Economics Working Papers 50-14, Monash University, Department of Economics.
    5. Mathieu Bunel & Yannick L'Horty, 2012. "The Effects of Reduced Social Security Contributions on Employment: An Evaluation of the 2003 French Reform," Fiscal Studies, Institute for Fiscal Studies, vol. 33(3), pages 371-398, September.
    6. Lauren Lanahan & Daniel Armanios, 2018. "Does More Certification Always Benefit a Venture?," Organization Science, INFORMS, vol. 29(5), pages 931-947, October.
    7. Sara Pavone & Elena Ragazzi & Lisa Sella, 2015. "Sostenere le imprese agro-industriali in Piemonte: un’analisi controfattuale," SCIENZE REGIONALI, FrancoAngeli Editore, vol. 2015(3 Suppl.), pages 129-143.
    8. Massimo Baldini & Giovanni Gallo & Costanza Torricelli, 2020. "The scars of scarcity in the short run: an empirical investigation across Europe," Economia Politica: Journal of Analytical and Institutional Economics, Springer;Fondazione Edison, vol. 37(3), pages 1033-1069, October.
    9. Patrik Gustavsson Tingvall & Josefin Videnord, 2020. "Regional differences in effects of publicly sponsored R&D grants on SME performance," Small Business Economics, Springer, vol. 54(4), pages 951-969, April.
    10. Brucal, Arlan & Javorcik, Beata & Love, Inessa, 2019. "Good for the environment, good for business: Foreign acquisitions and energy intensity," Journal of International Economics, Elsevier, vol. 121(C).
    11. Khanna, Rajat, 2021. "Aftermath of a tragedy: A star's death and coauthors’ subsequent productivity," Research Policy, Elsevier, vol. 50(2).
    12. Capuano, Stella & Hauptmann, Andreas & Schmerer, Hans-Jörg, 2020. "Trade and unions: Does size matter?," Economic Modelling, Elsevier, vol. 84(C), pages 66-75.
    13. de Rassenfosse, Gaétan & Palangkaraya, Alfons & Webster, Elizabeth, 2016. "Why do patents facilitate trade in technology? Testing the disclosure and appropriation effects," Research Policy, Elsevier, vol. 45(7), pages 1326-1336.
    14. Leduc, Elisabeth & Tojerow, Ilan, 2020. "Subsidizing Domestic Services as a Tool to Fight Unemployment: Effectiveness and Hidden Costs," IZA Discussion Papers 13544, Institute of Labor Economics (IZA).
    15. Datta, Nirupam, 2015. "Evaluating Impacts of Watershed Development Program on Agricultural Productivity, Income, and Livelihood in Bhalki Watershed of Bardhaman District, West Bengal," World Development, Elsevier, vol. 66(C), pages 443-456.
    16. Niyazi Taneri & Arnoud De Meyer, 2017. "Contract Theory: Impact on Biopharmaceutical Alliance Structure and Performance," Manufacturing & Service Operations Management, INFORMS, vol. 19(3), pages 453-471, July.
    17. Patrick, Carlianne & Mothorpe, Christopher, 2017. "Demand for new cities: Property value capitalization of municipal incorporation," Regional Science and Urban Economics, Elsevier, vol. 67(C), pages 78-89.
    18. Teruel Carrizosa, Mercedes & Coad, Alexander & Domnick, Clemens & Flachenecker, Florian & Harasztosi, Péter & Janiri, Mario Lorenzo & Pál, Rozália, 2021. "The birth of new high growth enterprises: Internationalisation through new digital technologies," EIB Working Papers 2021/02, European Investment Bank (EIB).
    19. Yiwei Qian & Rodolfo M. Nayga & Michael R. Thomsen & Heather L. Rouse, 2016. "The Effect of the Fresh Fruit and Vegetable Program on Childhood Obesity," Applied Economic Perspectives and Policy, Agricultural and Applied Economics Association, vol. 38(2), pages 260-275.
    20. Gustavsson Tingvall, Patrik & Videnord, Josefin, 2017. "Regional Effects of Publicly Sponsored R&D Grants on SME Performance," Ratio Working Papers 289, The Ratio Institute.


    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: . 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 bibliographic 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.

    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 address (email available below). General contact details of provider: .

    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.