Replication package for "The price of a longer life: Cohort longevity, safe withdrawal rates and asset allocation"
Replication package for Mešťan, M. and Šafár, L., "The price of a longer life: Cohort longevity, safe withdrawal rates and asset allocation", submitted to Finance Research Letters. The package reproduces every number, table and figure of the article and its online appendix. It contains:- FRL_longevity_SWR.R: a single R script that processes the data, runs all calculations (block-bootstrap simulation of safe withdrawal rates for 216 EU country-sex-cohort groups, statistical tests, robustness checks, dynamic withdrawal strategies) and writes all tables (CSV), figures (PNG, PDF) and manuscript numbers (JSON);- FRL_mortality_EU27.xlsx: central death rates by age and year, 27 EU countries, both sexes, from the UN World Population Prospects 2024 (wpp2024 R package v1.1-3);- FRL_returns_US_monthly.xlsx: US monthly real returns 2000-2023, used for one robustness check; Return data come from the Jordà-Schularick-Taylor Macrohistory Database, Release 6. The file JSTdatasetR6.xlsx is not redistributed; download it from https://www.macrohistory.net/database/ and save it in the same folder as the script. With the fixed seed (20261114), a full run reproduces the output folder exactly. Requires R 4.x with the packages data.table, openxlsx, ggplot2 and jsonlite.
Authors
- Michal Mešťan (ORCID: https://orcid.org/0000-0002-4974-2254)
- Leoš Šafár (ORCID: https://orcid.org/0000-0001-8466-0644)
Institutions
- Technical University of Košice (SK)
- Matej Bel University (SK)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-16
- DOI
- https://doi.org/10.5281/zenodo.24287765
- Primary Topic
- Financial Literacy, Pension, Retirement Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00