If you want to learn Slovak, click [here]. If you want to learn more about the 'stargazer' R package, please click [here]. 
Click [here] to download TableMaker for Microsoft Excel. If you are looking for the Slovak Data Project, please click [here].

Contact Information

E-mail: mhlavac [at] alumni.princeton.edu
Social networking: facebook [link], LinkedIn [link], twitter [link]
Other websites: Institute for Quantitative Social Science (Harvard University) [link], Scholars at Harvard [link], Social Science Research Network [link], Medium [link]

For press photos, click [here].


  • Ph.D. Candidate in Political Economy and Government, John F. Kennedy School of Government, Harvard University (current) [link]
  • A.M., Political Economy and Government, John F. Kennedy School of Government, Harvard University, 2014 [link]
  • MPP, Master of Public Policy in International Policy and Development, Georgetown University, McCourt School of Public Policy, 2011 [link]
  • A.B. in Economics, summa cum laude and Phi Beta Kappa, Princeton University, 2008 [link]
    • Halbert White’72 Prize in Economics for the best economics student in the Class of 2008 [pdf]
    • Wolf Balleisen Memorial Prize for the best senior thesis on an economics subject [pdf]
  • Summer Institute on the History of Economics, Duke University, June 2014 [link] [certificate]
  • Professional Certificate in U.S. Law and Methodologies, New York University, June 2009 [link]
  • Coursework in Marketing, London School of Economics and Political Science (London, UK), Summer 2006 [link]
  • Summer Institute of Hispanic Studies, Universidad de Leon (Leon, Spain), Summer 2005 [link]
  • United World College of the Adriatic (Duino-Trieste, Italy), 2004 [link]

Professional Experience

  • Institute for Financial Policy, Ministry of Finance of the Slovak Republic, Structural and Expenditures Policies Department, Intern (Labor Mobility Analysis), June 2016 [link]
  • The Brookings Institution, Global Economy and Development, Intern (Research Analyst), January 2011-May 2011 [link]
  • The World Bank, Development Economics Research Group (DECRG), Consultant (Research Assistant), February-August 2010 [link]
  • Center for Strategic and International Studies (Washington, DC), Intern, September - December 2009 [link]
  • NERA Economic Consulting (White Plains, NY), Research Associate, July 2008 - May 2009 [link]
  • Adam Smith Institute (London, UK), Research Intern, Summer 2007 [link]
  • Transparency International (Bratislava, Slovakia), Intern, Summer 2006 [link]

Teaching Experience

  • Nobel Prize-Winning Contributions to Economics (undergraduate tutorial), Harvard University
    • Spring 2016 [syllabus], Spring 2015 [syllabus], Spring 2014 [syllabus], Spring 2013 [syllabus]
    • Awarded the Certificate of Excellence and Distinction in Teaching by the Derek Bok Center for Teaching and Learning at Harvard
  • Principles of Microeconomics for Mid-Career Master of Public Administration Students, Harvard University, every summer since 2013 [link]
  • Beginners' Slovak, Global Language Network, Washington, D.C., Spring 2011 [link] [Lesson Overview
     Teaching Assistant:
  • The Future of Globalization: Issues, Actors and Decisions (Master's level, Prof. Lawrence Summers and Robert Lawrence), Harvard University, Fall 2015
  • Political Economics (undergraduate, Prof. Andrei Shleifer), Harvard University, Spring 2014 and 2015
    • Awarded the Certificate of Excellence and Distinction in Teaching by the Derek Bok Center for Teaching and Learning at Harvard
  • Markets and Market Failures (Master's level, Prof. George Borjas), Harvard University, Fall 2013, 2014 and 2015 [website]
    • Awarded the Harvard Kennedy School Dean's Award for Excellence in Student Teaching [certificate]
  • Advanced Regression and Program Evaluation Methods for Policy Analysis (Master's level, Prof. Michael Bailey), Georgetown University, Fall 2010 
  • Macroeconomics (Master's level, Prof. Jeffrey Rohaly), Georgetown University, Spring 2011

Short-Term Projects

  • United Nations Association of the National Capital Area (Washington, DC), Graduate Fellow, Fall 2010 [link] [newsletter]
  • American Council for an Energy-Efficient Economy (Washington, DC), short-term consulting project (municipal clean energy), Fall 2009 [link]
  • Princeton Institute for International and Regional Studies (PIIRS), Princeton University, Undergraduate Fellow, January 2006 - June 2008 [link]


    Publications, Theses and Papers:
  • "Performance of political parties in the 2016 parliamentary election in Slovakia: regional comparisons and district-level determinants", forthcoming in Regional and Federal Studies [link]
  • "TableMaker: An Excel Macro for Publication-Quality Tables", Journal of Statistical Software, Vol. 70, April 2016. [link] [pdf]
  • "ExtremeBounds: Extreme Bounds Analysis in R," forthcoming in Journal of Statistical Software [pdf]
  • "oaxaca: Blinder-Oaxaca Decomposition in R" [pdf]
  • "A Very Uneven Road: US Labor Markets in the Past 30 Years," with Harry J. Holzer [bio], in Diversity and Disparities, America Enters a New Century (Ed. John Logan), Russell Sage Foundation: New York, 2014 [report pdf] [press release pdf]
  • "An Uneven Road, Then A Cliff: U.S. Labor Markets, 2000-2010," with Harry J. Holzer [bio], [report pdf] [press release pdf]
  • "Political Ideology and Individual-Level Attitudes Towards Immigration in the European Union: Evidence from the European Values Study, 2008/2009," Master's Thesis, Georgetown University, Georgetown Public Policy Institute [SSRN] [summary maps and tables]
  • "Fundamental Tax Reform: The Growth and Utility Effects of a Revenue-Neutral Flat Tax," Undergraduate Thesis, Princeton University, Dept. of Economics, April 2008 [pdf] [SSRN]
  • "Open Access for UK Schools: What Britain Can Learn from Swedish Education Reform," report, Adam Smith Institute, 2007 [pdf] [link]
    Provided research assistance for:
  • Nancy Birdsall, Homi Kharas, and Rita Perakis, "The Quality of Development Assistance Assessment 2009: Is Aid Quality Improving?", Brookings Institution, Global Economy and Development [pdf]
  • Laurence Chandy and Johannes F. Linn, "Taking Development Activities to Scales in Fragile and Low Capacity Environments," Brookings Institution, Global Economy and Development, Global Working Paper No. 41. [link] [pdf]
  • Tahir Andrabi and Jishnu Das, "In Aid We Trust: Hearts and Minds and the Pakistan Earthquake of 2005," World Bank Development Economics Research Group/Center for Global Development, Policy Research Working Paper No. 5440, October 2010 [pdf]
  • Steven Schrage, "The United States and Korea Leading Beyond the Storm: The G-20, Trade and a Roadmap for the Alliance to Lead in the Wake of the Financial Crisis," A Report of the CSIS Scholl Chair in International Business, Center for Strategic and International Studies, November 2009 [pdf]

Data Sets

  • Slovak Election Data Project: [link]
    • results of Slovak parliamentary and presidential elections in format suitable for statistical analysis


    • [In Slovak] "Slovenský ekonóm pomáhal pri analýzach Svetovej banky aj radnice v New Yorku," (English: "Slovak economist helped the World Bank and the New York City Hall with their analyses"), Rádio Expres, 4 February 2015 [link] [English translation]
    • [In Slovak] "Naši a svetoví: Marek Hlaváč," Rádio Slovensko (RTVS), 2 June 2013 [link]
    • [In Slovak] "Slovák, čo mení názor sveta na chudobu," (English: "The Slovak who changes the world's view of poverty"), profile in Slovakia's premier economic newspaper Hospodárske noviny, 23 November 2010 [link] [English translation - pdf
    • [In Slovak] "Kríza na USA tvrdo dopadla," (English: "The crisis has hit the United States hard"), Hospodárske noviny, 23 November 2010 [link] [English translation - pdf]

    Popular Writing

    • Since the beginning of 2015, I have occasionally contributed to Denník N [link], the most influential independent newspaper in Slovakia. I write opinion articles about current affairs and economic issues.
      • All my articles can be found [here].
    • Before that, I was an occasional contributor to SME [link], another influential newspaper in Slovakia. 
      • "Škrt cez všetky rozpočty," ("A cut through all budgets"), about the budget sequester in the United States, SME, 24 March 2013 [link]
      • "Transatlantická dohoda ako liek proti kríze?" ("Transatlantic agreement as a cure against the crisis?"), about US-EU free trade agreement negotiations, SME, 10 March 2013 [link]
      • "Taliansko v rukách komediantov," ("Italy in the hands of comedians"), about the Italian parliamentary election, SME, 28 February 2013 [link]
    • "On Free Trade, the G-20 Should Make Actions Match Words," op-ed, Center for Strategic and International Studies, William E. Simon Chair Blog, September 2009 [pdf]
    • “A new curriculum in a cold climate,” an article (by invitation) about school reform in the House Magazine, a weekly policy newsletter published by the Parliament of the United Kingdom, January 2008 [pdf]
    • [In Slovak] "Ponaučenia z austrálskeho Queenslandu pre slovenské verejné firmy," (English: "Lessons from Queensland, Australia for Slovak public enterprises"), Pod lupou (English: Under the Magnifying Glass), a review of Michael J. Wincop's book Corporate Governance in Government Corporations, published in Transparency International Slovakia's quarterly anti-corruption newsletter, July - September 2006 [pdf]


    • stargazer - an R package that creates LaTeX code for well-formatted regression and summary statistics tables [link]
    • ExtremeBounds - an R package that performs Extreme Bounds Analysis [link]
    • oaxaca - an R package that performs Blinder-Oaxaca decompositions [link]
    • TableMaker - a user-friendly interface to create Excel tables [download here] - Note: enable Excel macros when opening
    • Hangman [for STATA] [for R] - an adaptation of the classic paper and pencil game; one of the first computer games ever written for these statistical programming languages
    • Some of my other programs, often written in collaboration with Peter Macko [link], can be found on the Aific website [link]
      • Of these, the most famous one is probably Sedliak [link], which allows you to have a funny conversation with the computer in Slovak.
      • Also, check out CotoBall [link], a volleyball game for which I helped out with the live commentary.

    Conferences and Presentations

    • St. Gallen Symposium, St. Gallen University, Switzerland, May 2015 [link]
    • Young Economists' Meeting, Masaryk University, Brno, Czech Republic, May 2015 [link
    • Faculty of Social and Economic Sciences, Comenius University, Bratislava, Slovakia, May 2015 [link]
    • Political Economy of International Organizations, Princeton, NJ, January 2012 [link]
    • Bratislava Economic Meeting 2012, Bratislava, Slovakia, June 2012 [link] [schedule pdf]
    • Association for Public Policy Analysis and Management (APPAM), Fall Research Conference, Washington, DC, November 2011 [link]
    • European Values Study (EVS) Workshop, Vilnius University, Faculty of Philosophy, Vilnius, Lithuania, June-July 2011 [pdf]
    • Technical University of Košice, Faculty of Economics, Košice, Slovakia, June 2011 [link]
    • US2010 Census Project Workshop, Russell Sage Foundation, New York, NY, May 2011 [link]

    Professional Associations and Other Affiliations

    • Slovak Economic Association (Slovenská ekonomická asociácia) [link], Member, since June 2008 [link]
    • Institute for Quantitative Social Science (IQSS), Harvard University, affiliate [link]
    • Varieties of Democracy (V-Dem) Project, Country Expert (Slovakia), University of Notre Dame (USA) / Boston University (USA) / University of Gothenburg (Sweden) / Lund University (Sweden) [link]


    • LEAF, TalentGuide, mentoring for talented Slovak high school students, since 2014 [link]
    • Slovak Economic Association (Slovenská ekonomická asociácia), Social Media Editor for the Facebook Page, since May 2016) [link]
    • Harvard University, Leverett House, Resident Tutor, August 2013 - May 2016 [link]
    • Harvard University, Department of Government, Concentration Advisor, Fall 2013 - May 2016 [link]
    • Reviewer for: Party Politics [link], Revista Colombiana de Estadística (Colombian Journal of Statistics) [link]

    Computer Skills

    Office software: MS Office (Word, Excel, PowerPoint) [link], Advanced MS Excel + programming in Visual Basic for Applications [link]
    Data management and statistical analysis:
     R [link], STATA [link], SAS [link]
    Programming: C [link], JAVA [link], Pascal [link], VBA [link]