Skip to content

Document c_trtB parameter-table erratum (closes #1) - #5

Merged
feralaes merged 1 commit into
mainfrom
fix/c-trtB-table-erratum
Nov 10, 2026
Merged

feralaes merged 1 commit into
mainfrom
fix/c-trtB-table-erratum

Conversation

@feralaes

Copy link
Copy Markdown
Contributor

The published article's parameter table (Table 2) lists the cost of treatment B (c_trtB) as $12,000. The article's text, the analysis code, the PSA distribution in the same row (gamma(86.2, 150.8), mean ≈ $13,000) and all published results use $13,000. The code was already correct, so results don't change.

  • Documents the erratum in manuscript/README.md (the manuscript files stay archival) and in a README callout, so readers rebuilding the model from the table find it.
  • Adds tests/testthat/test-psa-params.R, which checks that every PSA distribution's mean is within 2% of its base-case value. Setting c_trtB = 12000 in the base case makes it fail.
  • Acknowledges @conallaque in the README and NEWS.

Closes #1

…case

The published article's parameter table (Table 2) lists c_trtB as $12,000. The text, the code, the PSA distribution (gamma(86.2, 150.8), mean ~$13,000) and the published results all use $13,000. The code was already correct.

- Document the erratum in manuscript/README.md and README.
- Add a test that every PSA distribution is centred on its base-case value.
- Acknowledge conallaque, who reported it.

Closes #1
@netlify

netlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for testcohort ready!

Name Link
🔨 Latest commit 713fa36
🔍 Latest deploy log https://app.netlify.com/projects/testcohort/deploys/6af35eeed2dd6167cc0f227b
😎 Deploy Preview https://deploy-preview-5--testcohort.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@feralaes
feralaes merged commit 566000a into main Nov 10, 2026
6 checks passed
@feralaes
feralaes deleted the fix/c-trtB-table-erratum branch November 10, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parameter table prints c_trtB = $12,000; the analysis code and the published results use $13,000

1 participant