Repository navigation
Document c_trtB parameter-table erratum (closes #1) - #5
Merged
Merged
Conversation
…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
✅ Deploy Preview for testcohort ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This was referenced Nov 10, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.manuscript/README.md(the manuscript files stay archival) and in a README callout, so readers rebuilding the model from the table find it.tests/testthat/test-psa-params.R, which checks that every PSA distribution's mean is within 2% of its base-case value. Settingc_trtB = 12000in the base case makes it fail.Closes #1