Risk & Return

Papers & code

Working papers, computation notes and open-source code from Risk & Return. Papers link to SSRN and code to GitHub; every item also has a permanent archive with a DOI on Zenodo.

All works

3 items, newest first
Code + notev0.2.3

fptp-seat-audit: a numerical audit of factor-based FPTP seat distributions (Great Britain 2024 case study)

Nari Han

Code, data and saved outputs for a computation note on Great Britain's 2024 seat totals under a factor-based first-past-the-post model. A Poisson-binomial recursion is paired with a hybrid quasi-Monte Carlo and Gauss–Hermite integral, and the note documents two errors that a standard error bar did not catch. A fixed case study, not a forecast.

  • UK
  • Elections
  • Numerical methods
DOI
10.5281/zenodo.23888102 (this version)
10.5281/zenodo.23887748 (all versions)
Licence
MIT (code) · CC BY 4.0 (note and outputs)
Status
Draft, not peer reviewed
Working paper25 pages

Rigid-Central Inflation in the UK: Replication, Tests and Two Extensions

Nari Han

Rebuilds the latest UK rigid-central (RC) inflation figure from public data. Its gap to headline inflation comes mostly from item coverage and the aggregation method. Public output-gap measures do not back the claim that RC tracks the gap better, and RC does not improve out-of-sample forecasts of headline inflation.

  • UK
  • Inflation
  • Bank of England
  • JEL C43 · E31 · E37 · E52
DOI
10.2139/ssrn.7652858 (SSRN)
10.5281/zenodo.23550468 (Zenodo)
Licence
CC BY 4.0 (Zenodo record)
Status
Working paper, not peer reviewed
Codev0.2.1

hank-limits: analytic-limit and aggregate-identity tests for HANK codes

Numerical tests that a heterogeneous-agent New Keynesian (HANK) code should pass at limits with known answers and at exact aggregate identities, built on sequence-jacobian (SSJ) 1.0.0. Each test reports how the error shrinks toward its limit and the observed convergence order, and the model-independent checks can be reused on other HANK codes.

  • HANK
  • Numerical methods
DOI
10.5281/zenodo.23489176 (all versions)
Licence
MIT
Status
Not peer reviewed

Nothing here is peer reviewed unless stated. Code and notes are research material, not investment advice.