{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,30]],"date-time":"2026-10-30T14:33:46Z","timestamp":1793370826119,"version":"4.5.0"},"update-to":[{"DOI":"10.1371\/journal.pcbi.1013420","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2025,9,11]],"date-time":"2025-09-11T00:00:00Z","timestamp":1757548800000}}],"reference-count":9,"publisher":"Public Library of Science (PLoS)","issue":"9","license":[{"start":{"date-parts":[[2025,9,8]],"date-time":"2025-09-08T00:00:00Z","timestamp":1757289600000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["www.ploscompbiol.org"],"crossmark-restriction":false},"short-container-title":["PLoS Comput Biol"],"abstract":"<jats:p>Compartmental infectious disease models are used to calculate disease transmission, estimate underlying rates, forecast future burden, and compare benefits across intervention scenarios. These models aggregate individuals into compartments, often stratified by characteristics to represent groups that might be intervention targets or otherwise of particular concern. Ideally, model calculation could occur at the most demanding resolution for the overall analysis, but this may be infeasible due to availability of computational resources or empirical data. Instead, detailed population age structure might be consolidated into broad categories such as children, working-age adults, and seniors. Researchers must then discretise key epidemic parameters, like the infection-fatality ratio, for these lower resolution groups. After estimating outcomes for those crude groups, follow-on analyses, such as calculating years of life lost (YLLs), may need to distribute or weight those low-resolution outcomes back to the high resolution. The specific calculation for these aggregation and disaggregation steps can substantially influence outcomes. To assist researchers with these tasks, we developed <jats:italic>paramix<\/jats:italic>, an R package which simplifies the transformations between high and low resolution. We demonstrate applying <jats:italic>paramix<\/jats:italic> to a common discretisation analysis: using age structured models for health economic calculations comparing YLLs. We compare how estimates vary between <jats:italic>paramix<\/jats:italic> and several alternatives for an archetypal model, including comparison to a high resolution benchmark. We consistently found that <jats:italic>paramix<\/jats:italic> yielded the most similar estimates to the high-resolution model, for the same computational burden of low-resolution models. In our illustrative analysis, the non-<jats:italic>paramix<\/jats:italic> methods estimated up to twice as many YLLs averted as the <jats:italic>paramix<\/jats:italic> approach, which would likely lead to a similarly large impact on incremental cost-effectiveness ratios used in economic evaluations.<\/jats:p>","DOI":"10.1371\/journal.pcbi.1013420","type":"journal-article","created":{"date-parts":[[2025,9,8]],"date-time":"2025-09-08T18:00:18Z","timestamp":1757354418000},"page":"e1013420","update-policy":"https:\/\/doi.org\/10.1371\/journal.pcbi.corrections_policy","source":"Crossref","is-referenced-by-count":1,"title":["paramix: An R package for parameter discretisation in compartmental models, with application to calculating years of life lost"],"prefix":"10.1371","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-0434-5863","authenticated-orcid":true,"given":"Lucy","family":"Goodfellow","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0701-7860","authenticated-orcid":true,"given":"Carl A. B.","family":"Pearson","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0380-1503","authenticated-orcid":true,"given":"Simon R.","family":"Procter","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"340","published-online":{"date-parts":[[2025,9,8]]},"reference":[{"key":"pcbi.1013420.ref001","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pcbi.1009098","article-title":"Projecting contact matrices in 177 geographical regions: an update and comparison with empirical data for the COVID-19 era","volume":"17","author":"K Prem","year":"2021","journal-title":"PLoS Comput Biol"},{"key":"pcbi.1013420.ref002","unstructured":"World Health Organization. Years of life lost from mortality (YLL). https:\/\/www.who.int\/data\/gho\/indicator-metadata-registry\/imr-details\/159"},{"key":"pcbi.1013420.ref003","unstructured":"Barrett T, Dowle M, Srinivasan A, Gorecki J, Chirico M, Hocking T, et al. data.table: Extension of \u201cdata.frame\u201d. 2024. https:\/\/cran.r-project.org\/web\/packages\/data.table\/index.html"},{"key":"pcbi.1013420.ref004","unstructured":"M\u00fcller K, Wickham H, Francois R, Bryan J. RStudio. Tibble: Simple Data Frames. 2023. https:\/\/cran.r-project.org\/web\/packages\/tibble\/index.html"},{"key":"pcbi.1013420.ref005","doi-asserted-by":"crossref","unstructured":"Anderson RM, May RM. Infectious diseases of humans: dynamics and control. Oxford: Oxford University Press; 1991.","DOI":"10.1093\/oso\/9780198545996.001.0001"},{"issue":"10","key":"pcbi.1013420.ref006","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pmed.1001527","article-title":"Assessing optimal target populations for influenza vaccination programmes: an evidence synthesis and modelling study","volume":"10","author":"M Baguelin","year":"2013","journal-title":"PLoS Med"},{"issue":"8","key":"pcbi.1013420.ref007","doi-asserted-by":"crossref","first-page":"1205","DOI":"10.1038\/s41591-020-0962-9","article-title":"Age-dependent effects in the transmission and control of COVID-19 epidemics","volume":"26","author":"NG Davies","year":"2020","journal-title":"Nat Med"},{"issue":"12","key":"pcbi.1013420.ref008","doi-asserted-by":"crossref","first-page":"1123","DOI":"10.1007\/s10654-020-00698-1","article-title":"Assessing the age specificity of infection fatality rates for COVID-19: systematic review, meta-analysis, and public policy implications","volume":"35","author":"AT Levin","year":"2020","journal-title":"Eur J Epidemiol"},{"key":"pcbi.1013420.ref009","unstructured":"United Nations D of E and SA Population Division. World Population Prospects 2022, Online Edition. 2022. https:\/\/population.un.org\/wpp\/Download\/Standard\/MostUsed\/"}],"updated-by":[{"DOI":"10.1371\/journal.pcbi.1013420","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2025,9,11]],"date-time":"2025-09-11T00:00:00Z","timestamp":1757548800000}}],"container-title":["PLOS Computational Biology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1013420","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,9,11]],"date-time":"2025-09-11T17:55:05Z","timestamp":1757613305000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1013420"}},"subtitle":[],"editor":[{"given":"Nic","family":"Vega","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"editor"}]}],"short-title":[],"issued":{"date-parts":[[2025,9,8]]},"references-count":9,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2025,9,8]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pcbi.1013420","relation":{"new_version":[{"id-type":"doi","id":"10.1371\/journal.pcbi.1013420","asserted-by":"object"}]},"ISSN":["1553-7358"],"issn-type":[{"value":"1553-7358","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,9,8]]}}}