Template for Empirical Papers

This folder provides an all-encompassing working structure for empirical papers. It organizes every step of the process: merging and cleaning (several) data sets, performing analyses (tables, figures, regressions), writing the article itself and also presentations.

  • Customize to fit your project.
  • Particularly useful for work involving multiple coauthors and RAs.
  • Principles: functional folder structure, modularity and automation.
  • Read the README file for more information.
  • Continuously under improvement. Suggestions are welcome, please just email me.


Some writing on science, epistemology and randomness.

  • Is Economics a Science? Not Yet. [SSRN]

    Is economics a science? Answering this question is not only necessary for philosophical clarity, but also crucial for knowing how seriously to take economists’ claims and advice about public policy. Nevertheless, even among practitioners and academics, consensus is nonexistent. This paper resolves the conundrum in two steps. First I discuss some epistemology of science, defining clearly various concepts necessary to the debate. Several fallacies are clarified, such as "a theory may never be proved true, but only not falsified", "a model is useful because it simplifies reality" or "data mining is bad". In light of solid philosophical ground, I then discuss the practice and methodology of modern economics. The answer to the title question is a perhaps disappointing, but realistic, not yet. I conclude with prescriptions for a path towards a more scientific discipline.

  • On Randomness and Probability [pdf]

    This essay provides coherent definitions of two bedrock concepts in philosophy and statistics: randomness and probability. When constructing the first, I define repeatability, the measurement set, and distinguish between frequency vs. value prediction. The definition of randomness proposed, namely of a random variable not being perfectly value-predictable for any given information set, is stronger than those commonly used in the literature. Second, after defining probability as a theory about a variable's potential frequency distribution, I argue that the dichotomy between frequentist and bayesian interpretations is illusory. I conclude with remarks about knowledge and determinism.

Ice Cream Map

Mapping and reviewing ice cream spots worldwide, one at a time.

Money can’t buy happinness. But it can buy ice cream, which is almost the same thing.