Repository navigation
Add kidney_data-frailty_cox_replication posterior (McGilchrist & Aisbett 1991 frailty Cox model) - #348
Open
ThauriD wants to merge 1 commit into
Open
Add kidney_data-frailty_cox_replication posterior (McGilchrist & Aisbett 1991 frailty Cox model)#348ThauriD wants to merge 1 commit into
ThauriD wants to merge 1 commit into
Conversation
…ett 1991) Co-authored-by: Julius Searancke <julius.searancke@gmail.com> Co-authored-by: Isac Sandberg Kanon <isac.sandberg.kanon@gmail.com> Signed-off-by: Thauri Dattadeen <111131951+ThauriD@users.noreply.github.com>
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.
Adds a Bayesian Cox proportional-hazards model with a shared log-normal patient frailty, replicating McGilchrist & Aisbett (1991), Regression with Frailty in Survival Analysis, Biometrics 47(2), 461–466 (https://doi.org/10.2307/2532138), fitted to the
kidneydataset from the Rsurvivalpackage (38 patients, 76 catheter-insertion intervals). Cox partial likelihood, flat prior onbeta, log-frailtiesu ~ normal(0, sigma)withsigma = 1as data and a sum-to-zero constraint (Stan >= 2.36). Dimensions arebeta5 andu37 (38 frailties, one constraint).Code, replication notebook and report: https://github.com/cox-frailty-project/bayesian-cox-replication by Thauri Dattadeen, Julius Searancke and Isac Sandberg Kanon.