Publications
(Visualizing) Plausible Treatment Effect Paths (with Chris Hansen) [Online Appendix] [R package]
American Economic Review: Insights, forthcoming
Abstract
We study inference on dynamic treatment effects. We propose simple additions to standard visualizations aimed at enhancing their informativeness. First, we recommend reporting joint hypothesis tests and summary measures that are often of direct interest alongside the standard event-study plot. Second, we introduce a data-driven procedure that estimates a smooth approximation to the treatment-effect path within a prespecified, economically motivated class and produces corresponding confidence regions. The resulting intervals can be substantially tighter than conventional uniform bands while maintaining formal coverage guarantees through post-selection inference (Berk et al. [2013]). The accompanying R package plausibounds implements our suggestions.
Identification through Sparsity in Factor Models: the l1-rotation criterion [Online Appendix] [Matlab Code] [R package]
Quantitative Economics, May 2026
Abstract
Linear factor models are generally not identified. We provide sufficient conditions for identification: Under a natural sparsity assumption (the presence of local factors that affect only subsets of observables), the true loading matrix is the sparsest rotation and can be recovered by minimizing the ℓ1-norm of the loading matrix. This enables economically meaningful interpretation of the individual factors. More generally, our ℓ1-rotation criterion offers a novel approach to simplify the loading matrix and performs well relative to existing methods (e.g., Varimax, Kaiser 1958) in our simulations. We illustrate our method in two economic applications. The R package l1rotation implements the method and facilitates adoption.
Visualization, Identification, and Estimation in the Linear Panel Event Study Design (with Chris Hansen, Jorge Pérez Pérez, and Jesse Shapiro) [Appendix] [Video series] [Stata Package] [R package]
Advances in Economics and Econometrics: Twelfth World Congress, October 2025
Abstract
Linear panel models, and the “event-study plots” that often accompany them, are popular tools for learning about policy effects. We discuss the construction of event-study plots and suggest ways to make them more informative. We examine the economic content of different possible identifying assumptions. We explore the performance of the corresponding estimators in simulations, highlighting that a given estimator can perform well or poorly depending on the economic environment. An accompanying Stata package, xtevent, facilitates adoption of our suggestions.
xtevent: Estimation and Visualization in the Linear Panel Event-Study Design (with Chris Hansen, Jorge Pérez Pérez, Jesse Shapiro, and Constantino Carreto) [Appendix] [Stata Package] [Faculti Coverage] [Published version]
The Stata Journal, March 2025
Abstract
Linear panel models and the “event-study plots” that often accompany them are popular tools for learning about policy effects. We introduce the xtevent package, which enables the construction of event-study plots following the suggestions in Freyaldenhoven et al. (Forthcoming). The package implements various procedures to estimate the underlying policy effects, and allows for non-binary policy variables and estimation adjusting for pre-event trends.
Factor Models with Local Factors - Determining the Number of Relevant Factors [Online Appendix] [Matlab Code to estimate number of relevant factors] [Published Version]
Journal of Econometrics, May 2022 (Winner of the Dennis Aigner prize for the best empirical paper published in the Journal of Econometrics during 2021 and 2022)
Abstract
We extend the theory on factor models by incorporating “local” factors into the model. Local factors affect only an unknown subset of the observed variables. This implies a continuum of eigenvalues of the covariance matrix, as is commonly observed in applications. We derive which factors are pervasive enough to be economically important and which factors are pervasive enough to be estimable using the common principal component estimator. We then introduce a new class of estimators to determine the number of those relevant factors. Unlike existing estimators, our estimators use not only the eigenvalues of the covariance matrix, but also its eigenvectors. We find that incorporating partial sums of the eigenvectors into our estimators leads to significant gains in performance in simulations.
Pre-event Trends in the Panel Event-study Design (with Chris Hansen and Jesse Shapiro) [Online Appendix] [Stata Code for minimal example]
American Economic Review, September 2019
Abstract
We consider a linear panel event-study design in which unobserved confounds may be related both to the outcome and to the policy variable of interest. We provide sufficient conditions to identify the causal effect of the policy by exploiting covariates related to the policy only through the confounds. Our model implies a set of moment equations that are linear in parameters. The effect of the policy can be estimated by 2SLS, and causal inference is valid even when endogeneity leads to pre-event trends (“pre-trends”) in the outcome. Alternative approaches perform poorly in our simulations.
Working Papers
On the Testability of the Anchor-words Assumption in Topic Models (with Shikun Ke, Dingyi Li, and Pepe Montiel Olea)
Abstract
Topic models are a simple and popular tool for the statistical analysis of textual data. Their identification and estimation are typically enabled by assuming the existence of anchor words; that is, words that are exclusive to specific topics. In this paper we show that the existence of anchor words is statistically testable: There exists a hypothesis test with correct size that has nontrivial power. This means that the anchor-words assumption cannot be viewed simply as a convenient normalization. We test for the existence of anchor words in two different datasets derived from monetary policy discussions in the Federal Reserve and reject the null hypothesis that anchor words exist in one of them.
Measuring Fairness in the US mortgage market (with Hadi Elzayn, Ryan Kobler, and Minchul Shin) [Interactive tool to explore Mortgage Fairness]
Abstract
Black Americans are both substantially more likely to have their mortgage application rejected and substantially more likely to default on their mortgages than White Americans. We take these stark inequalities as a starting point to ask the question: How fair or unfair is the U.S. mortgage market? We show that the answer to this question crucially depends on the definition of fairness. We consider six competing and widely used definitions of fairness and find that they lead to markedly different conclusions. We then combine these six definitions into a series of stylized facts that offer a more comprehensive view of fairness in this market. To facilitate further exploration, an interactive Online Appendix allows the user to examine our fairness measurements further across both time and space.
Precision Without Labels: Detecting Cross-Applicants in Mortgage Data Using Unsupervised Learning (with Hadi Elzayn and Minchul Shin)
Abstract
We propose a novel method for evaluating unsupervised anonymous record linkage without requiring labeled training data. We derive observable lower bounds on both precision and relative recall by exploiting a common structural constraint that limits how many positive outcomes a single individual can have. This enables principled tuning and comparison of label-generating models without labeled training data. We demonstrate the method on Home Mortgage Disclosure Act (HMDA) data, using a clustering algorithm to detect loan applicants who submit multiple applications (“cross-applicants”) in a dataset lacking personal identifiers. Our preferred specification identifies cross-applicants with 92.3% precision with only minimal loss in relative recall.
When Can We Work in Embedding Space? What Text Embeddings Preserve New draft coming soon
Abstract
When do text embeddings work as inputs to empirical analysis? Their use rests on an assumption: that we can trade text for its low-dimensional embedding, and lose little in doing so. I make that assumption precise by deriving what text embeddings preserve. Under a generative model in which documents are mixtures of latent topics, word embeddings recover the geometry of the topic loadings, and document embeddings recover the topic mixture. The premise that “the embedding is a sufficient control” reduces to the condition that the topic mixture captures the confounding. Once word order matters, document embeddings built from word counts can lose a document's latent content, while those read off a language model are more robust: they preserve it under a strictly larger class of text models. In an application to monetary policy shocks, the choice of embedding changes the estimated real effects: an LLM embedding yields smaller effects than embeddings built from word counts.