Scalable Just-in-Time Price Elasticity Estimation
Abstract
This paper presents a scalable, nonparametric approach to estimating point-wise price elasticities designed for real-time pricing decisions. A key challenge in these settings is correcting for price endogeneity while remaining computationally efficient. We address this by leveraging nonparametric control functions to decompose the identification of causal elasticities into a sequence of scalable intermediate prediction tasks. We implement this framework with bootstrap averaged (bagged) nearest neighbors, which admits a closed-form representation that enables scalable, real-time implementation. We establish uniform consistency of our estimator and show in Monte Carlo simulations that it robustly recovers local elasticities across a diverse range of data-generating processes. We demonstrate the method’s practical usefulness by applying it to the New York City ride-sharing market, recovering substantial spatial-temporal heterogeneity in price elasticity and updating citywide elasticity estimates in less than one minute, which provide a “just-in-time” input for algorithmic pricing systems.
This paper was accepted by Raphael Thomadsen, marketing.
Funding: J. Wang acknowledges financial support from the Research Grants Council of the Hong Kong Special Administrative Region, China [Grant 14508924].
Supplemental Material: The online appendix and data files are available at https://doi.org/10.1287/mnsc.2024.04791.

