An Open-Source Tool for Mortality Forecasting for National and Local Health Planning in Portugal
R Guedes, C Marques, ARM Teixeira, JA Figueiredo, M Vieira, DQ Almeida
Key points
From the paper's conclusion- Key messages • An open-source R-based tool produces user-guided mortality projections from Statistics Portugal data, supporting evidence-based target setting for national and local health plans. • Embedding automated data retrieval, multi-model methods, and user-friendly design enables scalable, transferable support for health planning.
Abstract
Issue/problem Health planning requires robust indicators to set evidence-based targets. Projections are increasingly used to anticipate trends, define measurable goals, and monitor progress. Yet their application in routine health planning remains limited. In Portugal, the National Health Plan (NHP) relies on forecasting to set national goals, while Local Health Plans (LHPs) often face methodological heterogeneity and limited technical resources to produce comparable forecasts. Description of the problem We developed an interactive R Shiny tool for age-standardised mortality rates by cause, using data from 1991 to 2023, that enables: (1) automated data retrieval from Statistics Portugal; (2) fitting multiple forecasting models (ARIMA, ETS, Holt, Holt-damped, Theta, TBATS, naive, random walk with drift); (3) model evaluation and selection based on residual diagnostics (including autocorrelation testing via Ljung–Box), forecast accuracy metrics (MASE, ME), and bias assessment; (4) national and municipal-level analyses. Results The tool generates projections for specific causes of death, stratified by sex and age group, at national and municipal levels. It supports updating the NHP and LHPs, enabling local health authorities to produce area-specific projections, identify divergent trends from national benchmarks, and prioritise local needs, ensuring alignment between national strategy and local implementation. The interface offers a standard mode for non-expert users and a customisable mode for advanced users. Lessons Embedding forecasting into an accessible, reproducible tool can bridge the gap between statistical methods and real-world planning. The approach is scalable and adaptable to other health indicators beyond mortality and to settings with open statistical data systems, providing a blueprint for data-driven health planning in decentralized settings and supporting more consistent, evidence-based target setting across governance levels. Key messages • An open-source R-based tool produces user-guided mortality projections from Statistics Portugal data, supporting evidence-based target setting for national and local health plans. • Embedding automated data retrieval, multi-model methods, and user-friendly design enables scalable, transferable support for health planning.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Tool for Modelling Healthcare Demand: Demographic Change and Exogenous ShocksEuropean Journal of Public Health · 2026
- NCDSim: A simulation Model for Forecasting NCD Burden and Evaluating Public Health InterventionsEuropean Journal of Public Health · 2026
- Comparative effectiveness analysis of univariate time-series forecasting models for disease mortality rates in the global burden of disease database: a case study of global hypertensive heart disease among women of childbearing ageFrontiers in Public Health · 2025
- Validation-gated forecasting of government health expenditure and uncertainty-aware health-economic resilience assessment: a cross-country comparison of drift, Prophet, and residual Prophet–LSTM modelsFrontiers in Public Health · 2026
- Open-Source R Shiny Dashboard (Global Burden of Disease Analysis Suite) for Multimethod Burden of Disease Research: Development and Evaluation Study.JMIR medical informatics · 2026
- Improving mortality rate estimation in 825 European cities: a linear mixed-effects modelling approach using Urban Audit data.European journal of public health · 2026