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. 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).
    2. 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.
    3. Lauren Lanahan & Daniel Armanios, 2018. "Does More Certification Always Benefit a Venture?," Organization Science, INFORMS, vol. 29(5), pages 931-947, October.
    4. 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.
    5. 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).
    6. Khanna, Rajat, 2021. "Aftermath of a tragedy: A star's death and coauthors’ subsequent productivity," Research Policy, Elsevier, vol. 50(2).
    7. Srinivasa, Aditya Korekallu & Praveen, K.V. & Subash, S.P. & Nithyashree, ML & Jha, Girish Kumar, 2021. "Does a Farmer’s Knowledge of Minimum Support Price (MSP) Affect the Farm-Gate Price? Evidence from India," 2021 Conference, August 17-31, 2021, Virtual 315205, International Association of Agricultural Economists.
    8. Capuano, Stella & Hauptmann, Andreas & Schmerer, Hans-Jörg, 2020. "Trade and unions: Does size matter?," Economic Modelling, Elsevier, vol. 84(C), pages 66-75.
    9. 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.
    10. Byun, SeongK. & Fuller, Kathleen & Lin, Zhilu, 2021. "The costs and benefits associated with inventor CEOs," Journal of Corporate Finance, Elsevier, vol. 71(C).
    11. Gustavsson Tingvall, Patrik & Videnord, Josefin, 2017. "Regional Effects of Publicly Sponsored R&D Grants on SME Performance," Ratio Working Papers 289, The Ratio Institute.
    12. Corral, Leonardo & Henderson, Heath & Miranda, Juan José, 2016. "Evidence from a Natural Experiment on the Development Impact of Windfall Gains: The Camisea Fund in Peru," IDB Publications (Working Papers) 7520, Inter-American Development Bank.
    13. Emilio Aguirre, 2016. "Impacto de ser becado del Programa Compromiso Educativo," Documentos de Trabajo (working papers) 1616, Department of Economics - dECON.
    14. 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.
    15. Daunfeldt, Sven-Olov & Halvarsson, Daniel & Gustavsson Tingvall, Patrik & McKelvie, Alexander, 2021. "Do Targeted R&D Grants Towards Potential Highgrowth Firms Increase Employment and Demand for High Human Capital Workers?," HFI Working Papers 23, Institute of Retail Economics (Handelns Forskningsinstitut).
    16. Vikas A. Aggarwal & David H. Hsu, 2014. "Entrepreneurial Exits and Innovation," Management Science, INFORMS, vol. 60(4), pages 867-887, April.
    17. Carlos Caceres & Ms. Anna Kochanova, 2012. "Country Stress Events: Does Governance Matter?," IMF Working Papers 2012/116, International Monetary Fund.
    18. 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.
    19. Julia Muschallik & Kerstin Pull, 2016. "Mentoring in higher education: does it enhance mentees’ research productivity?," Education Economics, Taylor & Francis Journals, vol. 24(2), pages 210-223, April.
    20. 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.


    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.