Peer Review History

Original SubmissionDecember 3, 2024
Decision Letter - Nic Vega, Editor

PCOMPBIOL-D-24-02097

paramix : An R package for parameter discretisation in compartmental models, with application to calculating years of life lost

PLOS Computational Biology

Dear Dr. Pearson,

Thank you for submitting your manuscript to PLOS Computational Biology. After careful consideration, we feel that it has merit but does not fully meet PLOS Computational Biology's publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript within 30 days Jul 11 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at ploscompbiol@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pcompbiol/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

* A rebuttal letter that responds to each point raised by the editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. This file does not need to include responses to formatting updates and technical items listed in the 'Journal Requirements' section below.

* A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

* An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, competing interests statement, or data availability statement, please make these updates within the submission form at the time of resubmission. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

We look forward to receiving your revised manuscript.

Kind regards,

Nic Vega, Ph.D.

Academic Editor

PLOS Computational Biology

Roger Kouyos

Section Editor

PLOS Computational Biology

Additional Editor Comments:

The reviews were positive with regard to the technical advance implemented in the package, but indicated a number of modifications to the manuscript itself that would improve clarity and usability.

Journal Requirements:

1) We ask that a manuscript source file is provided at Revision. Please upload your manuscript file as a .doc, .docx, .rtf or .tex. If you are providing a .tex file, please upload it under the item type u2018LaTeX Source Fileu2019 and leave your .pdf version as the item type u2018Manuscriptu2019.

2) Please upload all main figures as separate Figure files in .tif or .eps format. For more information about how to convert and format your figure files please see our guidelines: 

https://journals.plos.org/ploscompbiol/s/figures

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The paper is very well-written, easy to read, and is potentially relevant, with practical applications. I only have a few minor comments:

- Within integrals, the $d$ in dx should not be italicized.

- I would bring the definition of mixing table (L62-64, Fig 2) before the introduction of the workflow (L53-60). Now the workflow refers to the mixing table, but the reader can't know what does it mean, as it is introduced only later.

- I would give a unit of measurement for $\rho$.

- Equation (4) is unclear to me: What does "in group [e, f)" mean...? It should be properly defined.

- Equation (5) is unclear to me. "outcome" is never defined, and it is used somewhat inconsistently: on the left-hand-side we have $outcomes_x$, on the right hand side we have $outcomes_x^y$. These should be properly defined.

- I'd add a citation to SEIR, and age-stratified SEIR models.

- "To ensure comparability of the vaccination programmes, we assumed that enough vaccines to vaccinate 75% of over 65s could instead be allocated to different age groups, which typically entails lower coverage but otherwise never approaches 100% coverage." (L102-104) I don't really understand this sentence, could you please elaborate?

- Fig 4b according to the figure caption ("Age-specific remaining life expectancy") is missing from the figure itself. (Thus the remaining ones have wrong letter.) It is also referred to in the text, despite not appearing in the figure.

- It is strange that Figure 4c (actually 4b, see above) is referred before 4a in the text.

- "and approaches 3 and 4 produced similar estimates of deaths averted" (L170) I don't understand this, there are only 3 approaches for aggregation.

Reviewer #2: Goodfellow et al. present an R package to bin parameters that vary as a function of a continuous variable (e.g., mortality rate as a function of age) into a small number of discrete values (e.g., mortality in young, mortality in middle-aged, mortality in elderly). They make a clear argument against using a value at the midpoint of each discrete bin and instead point out that a more statistically justifiable approach would be to take each parameter's expectation over the continuous variable's probability across each bin. While this R package addresses a clear problem, insufficient details are included to fully understand the approach without looking at the source code.

I suggest either going into more formal detail about the maths underlying the methods (more like a methods paper rather than a software paper) or by explicitly working through an example using the R functions in this package (more like a R vignette). For example, equations 1-5 reference bounds a,b,c,d,e,f without explicitly defining; the term “mixing partition” is used without a definition; the parameters to the SEIR model are described only in the figure caption but not explicitly referenced in Table 1 which gives numerical values; etc.

Specific points

• fig 1: purple circles are labeled as “user inputs,” but the circle at the bottom (“post-analysis e.g. YLLs”) seems more like an output. Maybe label purple as “inputs/outputs”.

• line 71: talking about “interpolation” here made me question “what type?” until the later section that says your package uses both linear and spline interpolation. Would be better to give this information when first mention it!

• line 87: the last word on this line (“data.tables”) is all in italics, which implies the name of this class has an “s” on the end. A better phrasing might be “\emph{paramix} returns \emph{data.table} objects”.

• fig 4: The caption needs more detail and should explicitly state that all subpanels on the left follow the LMIC-like distribution and all subpanels on the right follow the HIC-like distribution (also “LMIC” and “HIC” should be defined in the caption, not just the main text). Further, this figure seems to have been changed from an earlier version – some places refer to four panels (e.g., in the figure caption, and in text at bottom of page 5) and in other places three panels (e.g., the figure itself and in text on page 8).

• fig 5 & 6: interpretation would be easier if the four subpanels in these figures were transposed such that the layout matches fig 4 (i.e., LMIC-like is on left, HIC is on right, Flu-like is on top, COVID-like is on bottom).

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

Figure resubmission:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step. If there are other versions of figure files still present in your submission file inventory at resubmission, please replace them with the PACE-processed versions.

Reproducibility:

To enhance the reproducibility of your results, we recommend that authors of applicable studies deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

Revision 1

Attachments
Attachment
Submitted filename: Paramix response to reviewers.pdf
Decision Letter - Nic Vega, Editor

Dear Dr. Pearson,

We are pleased to inform you that your manuscript 'paramix : An R package for parameter discretisation in compartmental models, with application to calculating years of life lost' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Nic Vega, Ph.D.

Academic Editor

PLOS Computational Biology

Roger Kouyos

Section Editor

PLOS Computational Biology

***********************************************************

The reviews indicate that all major concerns have been addressed, with only minor edits suggested for clarity.

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: My concerns have been addressed, I suggest the acceptance of the paper.

Reviewer #2: The authors have addressed my concerns with this revision. I noted just one minor error in their expanded method section:

On line 87, double check the inequalities and description. The text says you're checking if an upper/lower bound of a_j is within b_i. I interpret these as referencing the intervals [a_j, a_{j+1}) and [b_i, b_{i+1}). What is $n$ in $a_{j+n}$? Did you mean +1 instead of +n? Regardless, the text doesn't seem to match the inequalities – there is no check if the lower bound of a_j is within the interval [b_i,b_{i+1}). I think you meant to write that you're checking if the two intervals overlap.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Formally Accepted
Acceptance Letter - Nic Vega, Editor

PCOMPBIOL-D-24-02097R1

paramix: An R package for parameter discretisation in compartmental models, with application to calculating years of life lost

Dear Dr Pearson,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Zsofia Freund

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .