Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Teaching to Price: Neural Network Stochastic Discount Factor Estimation with Hansen-Jagannathan Loss Optimisation on Swedish Equity Data

Linde, Johan LU (2026) NEKN02 20261
Department of Economics
Abstract
Asset pricing models are ultimately claims about the stochastic discount factor. A model that fits the cross-section of average returns well may nevertheless imply a pricing kernel that is theoretically inconsistent with observed Sharpe ratios, a violation of the Hansen- Jagannathan admissibility bound that conventional regression-based tests do not detect. This thesis exploits this distinction to evaluate three established factor models on Swedish equity data and introduces a neural network trained to minimise the Hansen-Jagannathan distance directly as the loss function, embedding the no-arbitrage restriction into the estimation objective rather than treating it as a post-hoc diagnostic.
Using monthly data from the Stockholm Stock... (More)
Asset pricing models are ultimately claims about the stochastic discount factor. A model that fits the cross-section of average returns well may nevertheless imply a pricing kernel that is theoretically inconsistent with observed Sharpe ratios, a violation of the Hansen- Jagannathan admissibility bound that conventional regression-based tests do not detect. This thesis exploits this distinction to evaluate three established factor models on Swedish equity data and introduces a neural network trained to minimise the Hansen-Jagannathan distance directly as the loss function, embedding the no-arbitrage restriction into the estimation objective rather than treating it as a post-hoc diagnostic.
Using monthly data from the Stockholm Stock Exchange over 1982 to 2022, I construct the market, size, value, and momentum factors alongside two sets of 25 characteristic- sorted test portfolios and evaluate all models over a common out-of-sample period from 2000 to 2022. CAPM, the Fama-French three-factor model, and the Carhart four-factor model all fail the full-period admissibility bound. The failure is most severe during crisis periods, when the bound rises to 1.53 and the best linear specification reaches a pricing kernel HJ distance of only 0.84, less than half the required level.
The neural network produces Hansen-Jagannathan distances of 0.400 and 0.441 on the two portfolio sets, marginally below CAPM in point estimates, but no pairwise com- parison against any traditional model reaches statistical significance. The learned factor loads jointly on log market equity and log book-to-market with correlations of +0.645 and +0.535, favouring reliably measured characteristics over those with the strongest in- sample return signal. This points to a data breadth constraint specific to small equity markets rather than a limitation of the economic loss function in principle.
The thesis contributes the first systematic test of Hansen-Jagannathan admissibility on Swedish equity data and demonstrates that directly optimising the Hansen-Jagannathan distance is a viable training objective for neural network pricing kernels. Cross-sectional breadth emerges as the binding constraint in small equity markets, with implications for the application of machine learning methods in asset pricing beyond the large US cross-section. (Less)
Please use this url to cite or link to this publication:
author
Linde, Johan LU
supervisor
organization
course
NEKN02 20261
year
type
H1 - Master's Degree (One Year)
subject
keywords
stochastic discount factor, Hansen-Jagannathan bound, neural network asset pricing, Swedish equity market, factor models, GMM estimation
language
English
id
9247345
date added to LUP
2026-10-12 11:11:30
date last changed
2026-10-12 11:11:30
@misc{9247345,
  abstract     = {{Asset pricing models are ultimately claims about the stochastic discount factor. A model that fits the cross-section of average returns well may nevertheless imply a pricing kernel that is theoretically inconsistent with observed Sharpe ratios, a violation of the Hansen- Jagannathan admissibility bound that conventional regression-based tests do not detect. This thesis exploits this distinction to evaluate three established factor models on Swedish equity data and introduces a neural network trained to minimise the Hansen-Jagannathan distance directly as the loss function, embedding the no-arbitrage restriction into the estimation objective rather than treating it as a post-hoc diagnostic.
Using monthly data from the Stockholm Stock Exchange over 1982 to 2022, I construct the market, size, value, and momentum factors alongside two sets of 25 characteristic- sorted test portfolios and evaluate all models over a common out-of-sample period from 2000 to 2022. CAPM, the Fama-French three-factor model, and the Carhart four-factor model all fail the full-period admissibility bound. The failure is most severe during crisis periods, when the bound rises to 1.53 and the best linear specification reaches a pricing kernel HJ distance of only 0.84, less than half the required level.
The neural network produces Hansen-Jagannathan distances of 0.400 and 0.441 on the two portfolio sets, marginally below CAPM in point estimates, but no pairwise com- parison against any traditional model reaches statistical significance. The learned factor loads jointly on log market equity and log book-to-market with correlations of +0.645 and +0.535, favouring reliably measured characteristics over those with the strongest in- sample return signal. This points to a data breadth constraint specific to small equity markets rather than a limitation of the economic loss function in principle.
The thesis contributes the first systematic test of Hansen-Jagannathan admissibility on Swedish equity data and demonstrates that directly optimising the Hansen-Jagannathan distance is a viable training objective for neural network pricing kernels. Cross-sectional breadth emerges as the binding constraint in small equity markets, with implications for the application of machine learning methods in asset pricing beyond the large US cross-section.}},
  author       = {{Linde, Johan}},
  language     = {{eng}},
  note         = {{Student Paper}},
  title        = {{Teaching to Price: Neural Network Stochastic Discount Factor Estimation with Hansen-Jagannathan Loss Optimisation on Swedish Equity Data}},
  year         = {{2026}},
}