Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.2.1 reworks the lifetable constraint calculations #17

Merged
merged 18 commits into from
Apr 1, 2024

Conversation

dom-muston
Copy link
Collaborator

Constraining calculations of restricted mean durations and the accompanying vignette("background-mortality") has been reworked. The calculations using integral/continuous methods was not reliable. Instead, calc_allrmds now has a rmdmethod="disc" option to allow for discretized calculations for a given timestep (defaulting at one week). There is a new collection of functions in discrmd.R to provide for this, as well as constrain_survprob() function, which constrains a vector of survival estimates at given times such that the underlying hazard is at least as great as in an accompanying lifetable.

@dom-muston dom-muston merged commit bfc93ca into main Apr 1, 2024
7 checks passed
jdblischak pushed a commit that referenced this pull request Dec 18, 2024
Version 0.2.1 reworks the lifetable constraint calculations
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.

1 participant