Skip to content

Add kidney_data-frailty_cox_replication posterior (McGilchrist & Aisbett 1991 frailty Cox model) - #348

Open
ThauriD wants to merge 1 commit into
stan-dev:developmentfrom
ThauriD:add-kidney-frailty-cox
Open

ThauriD wants to merge 1 commit into
stan-dev:developmentfrom
ThauriD:add-kidney-frailty-cox

Conversation

@ThauriD

@ThauriD ThauriD commented Nov 8, 2026

Copy link
Copy Markdown

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 kidney dataset from the R survival package (38 patients, 76 catheter-insertion intervals). Cox partial likelihood, flat prior on beta, log-frailties u ~ normal(0, sigma) with sigma = 1 as data and a sum-to-zero constraint (Stan >= 2.36). Dimensions are beta 5 and u 37 (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.

…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>
@ThauriD
ThauriD changed the base branch from master to development November 8, 2026 12:58
@MansMeg MansMeg self-assigned this Nov 27, 2026
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.

2 participants