Information and voting: Evidence from Peru’s 2026 general elections, 2026 - Accepted for presentation at LACEA LAMES 2026 (Lima, Peru) Political Economy Marcelo Gallardo, Nicolás Velarde and Cristina Gutarra.
Summary | Draft | Preprint
Logistical failures in Peru's 2026 general elections postponed voting at thirteen locations in Lima Sur, so roughly 55,000 electors cast their ballots once election-night estimates and partial returns were already public. We use that natural experiment, with cardinality matching on prior electoral preferences, demographics and socioeconomic conditions, to ask whether public signals about viability reshape presidential and legislative choices. Presidential support reallocates substantially, Nieto, López Aliaga and Sánchez gaining 11.2, 3.9 and 1.2 points of the registered electorate, and legislative support moves in the same direction but by less.
The Market and the Jungle, 2026 Microeconomic Theory Juan Carlos Carbajal, Marcelo Gallardo and Cesar Martinelli.
Summary | Draft
We ask how the institutions governing property rights and exchange shape occupational choice and welfare, comparing anonymous voluntary trade backed by public enforcement with allocation through a random coercive hierarchy. At a common occupational profile the market maximizes aggregate surplus, while allocations in the jungle are Pareto efficient with monetary holdings fixed but need not maximize it. In aggregate terms a market occupational equilibrium outperforms a jungle one under two conditions: every occupation available in the jungle is also available in the market, and prices cannot be manipulated by unilateral changes in occupations. Without that price-invariance condition, among identical individuals everyone weakly prefers the market equilibrium to a symmetric jungle one.
Innovation and Isolation: Status Rents and Endogenous Networks, 2026 Microeconomic Theory Marcelo Gallardo.
Summary | Draft coming soon
Groups decide how much to cooperate on innovation when cooperation also shifts the power that determines their claims on output. Under a benchmark rule for how power is redrawn there is a greatest equilibrium network, every active link runs at full strength, and a group that loses from innovation withdraws entirely, which can make links among the remaining groups unprofitable. Full integration survives only over a single interval of status exposure, and reimbursing interaction costs cannot buy the consent of a group whose expected consumption falls.
Dynamic Demand and Seasonal Markdown Pricing, 2026 Industrial Organization Marcelo Gallardo, Carlos Noton and Marcelo Olivares.
Summary | Draft coming soon
We study demand and markdown pricing for two school-trouser sizes sold in fourteen Chilean stores during the 2015 back-to-school campaign, reconstructing weekly posted prices from transaction payments. Consumers choose to buy, wait or exit, with permanent heterogeneity in price sensitivity and price forecasts calibrated on matched 2014 products; the model is estimated by EM, integrating over customer types and the latent exit times of nonbuyers. A finite-horizon Bellman equation then gives the retailer's optimal markdown path.
Work in progress
Dynamic Programming and Production Networks: Continuous Families of Contractions with Discontinuous Fixed Points, 2026 Marcelo Gallardo and Gabriel Orellano.
Papers
A Daily Index of Economic and Political Uncertainty for Peru from X Discourse, 2026 Political Economy Marcelo Gallardo, Manuel Loaiza and Gabriel Rodriguez.
Summary | Preprint
We build a daily index of economic and political uncertainty for Peru by having a large language model, DeepSeek-V3, classify messages posted on X by influential accounts between 2018 and 2023. The headline index co-moves moderately with the VIX and more strongly during documented crises, while a companion political index captures domestic ruptures that market benchmarks miss. As an illustration, a bivariate vector autoregression links its shocks to same-day central-bank foreign-exchange intervention.
Congestion and Penalization in Optimal Transport, 2025 - R&R at Decisions in Economics and Finance (Springer) Mathematical Economics Marcelo Gallardo, Manuel Loaiza and Jorge Chávez.
Summary | Preprint
We replace the equality constraints of discrete optimal transport with weighted penalties and add heterogeneous congestion costs, which yields a strictly convex problem better suited to demand–supply imbalances in matching. We prove existence and uniqueness, give two analytical methods for interior solutions together with a practical algorithm, and extend the results to a continuum of types. Examples from Peru's health and education sectors yield allocations that differ from the classical ones.
Interiority in Optimal Transport with Congestion and Penalized Marginals, 2026 Mathematical Economics Marcelo Gallardo and Haopeng Zhou.
Summary
We give sufficient conditions for the optimal plan to be strictly positive in the congestion model with penalized marginals of Gallardo, Loaiza, and Chávez. A uniform condition in the primitives follows from the Karush–Kuhn–Tucker conditions, and a refinement bounds individual entries in O(NL) operations; examples show that neither condition is necessary.
Heterogenous Quadratic Regularization in Optimal Transport, 2025 - Presented at XXXVIII Colloquium of the Peruvian Mathematical Society Mathematical Economics Marcelo Gallardo, Manuel Loaiza and Jorge Chávez.
Summary | Preprint
We extend quadratically regularized optimal transport to heterogeneous congestion costs, motivated by matching in the healthcare and education sectors. We study the structure of the model and show, with numerical examples from Peru, how it departs from the classical formulation; the main result identifies a corner solution when both sides have the same number of clusters.
Exact Regularization Thresholds for Integer Quadratic Transport, 2026 - Corrects and extends the paper above Mathematical Economics Marcelo Gallardo.
Summary
We locate the regularization level at which a unique linear-optimal plan stops minimizing a heterogeneous quadratic objective, and show that the continuous and integer thresholds differ. Both are expressed through feasible residual cycles, the integer one being strictly larger and converging to the continuous threshold under population replication, with an exact first-order correction and sharp rounding bounds.
Books
Optimal Transport Theory and its Applications in Economics and Finance, 2026 - Working book Mathematical Economics Marcelo Gallardo, Carlos Cosentino and Gabriel Orellano. Based on the final project for the course Introduction to Optimal Transport, taught by Johel Beltrán in 2023.
Summary | Draft
This document discusses applications of optimal transport theory in economics and finance, with a focus on computational methods like entropic regularization and the Sinkhorn-Knopp algorithm.
It covers topics such as matching markets stability, cost structure estimation, Credit Value Adjustment, and risk measures, aiming to provide detailed explanations and translations of complex results for students with a strong mathematical background.
The document includes an appendix to support understanding and is intended for advanced students interested in economic and financial applications of optimal transport.
Dynamical Systems and Optimal Control for Economists, 2026 - Recommended for publication at Springer Verlag Mathematical Economics Jorge Chávez and Marcelo Gallardo.
Summary | Index | Book Excerpt
Dynamical Systems and Optimal Control in Continuous Time for Economists. Topics include linear differential equations, nonlinear dynamical systems, limit cycles, calculus of variations, optimal control theory, and economic models.
Linear Algebra and Optimization for Economists, 2025 - Published by Fondo Editorial PUCPMathematical Economics Jorge Chávez and Marcelo Gallardo. Foreword by Professor Cesar Martinelli.
Summary | Book page
The book covers topics such as vector spaces, linear systems, topology in real vector normed spaces, convex sets (Farkas Lemma), convex functions, unconstrained and constrained optimization, smooth comparative statics and economic applications (such as pure exchange economies).
Fundamentals of Econometric Theory, 2025 - Published at Decon PUCPEconometrics Juan Leon Jara-Almonte and Marcelo Gallardo.
Summary | Book
These lecture notes offer a deep dive into econometrics, structured around key themes from matrix algebra basics to statistical models.
The content begins with foundational matrix operations and their relevance to econometrics, advancing to multivariate models with a focus on linear models and optimization issues.
It also addresses qualitative variables, sampling methods, and experimental designs. Crucial econometric challenges such as multicollinearity, parameter stability, heteroscedasticity, and serial autocorrelation are thoroughly examined, alongside detection and correction techniques.
The notes culminate in discussions on more advanced topics like instrumental variables, maximum likelihood estimation, basic time series analysis, and an appendix on probability theory, equipping readers with a broad understanding of econometric analysis and application.