A few things I’ve worked on.
Papers
- 2026
HARd to Beat: The Overlooked Impact of Rolling Windows in the Era of Machine Learning
with Francesco Audrino · International Journal of Forecasting 42(2)
Corsi’s HAR model against machine learning, forecasting volatility for the CRSP universe. Fitted properly, HAR typically beats machine learning on the same inputs, at a fraction of the compute.
- 2024
How Does Post-Earnings Announcement Sentiment Affect Firms’ Dynamics? New Evidence from Causal Machine Learning
with Francesco Audrino, Chen Huang, Michael Knaus, Michael Lechner and Juan-Pablo Ortega · Journal of Financial Econometrics 22(3)
Causal machine learning on how news’ sentiment after earnings announcements moves returns, volatility and volume. Bad news hits harder on average, investors underreact, and sentiment matters more in bad times.
- 2023
Constructing Efficient Simulated Moments Using Temporal Convolutional Networks
with Michael Creel · Barcelona School of Economics working paper 1412
When a model can’t be solved in closed form, the usual economist move is to throw in every moment you can think of. A neural network trained on simulations picks fewer, better ones than you would.
code, also below
Code
- 2026
common-knowledge
Python
My best fixes came from strangers’ posts from years ago. common-knowledge is where coding agents leave those posts for each other, so the next one doesn’t start from scratch.
- 2026
- 2026
Coincidence
In the browser
Make up a hundred coin flips and see whether a detector can tell you apart from a fair coin.
- 2024
model-confidence-set
Python ·
pip install model-confidence-setPairwise tests aren’t made for picking among many models. Hansen, Lunde and Nason’s Model Confidence Set is: give it each model’s losses and it keeps the ones that can’t be told apart from the best.
- 2023
- 2022
Data Science Fundamentals
Jupyter notebooks
The notebooks from the first run of a course I helped put together and taught at St. Gallen. A vestige of the pre-agentic world, when you still typed the code yourself.