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

More flexible bayesian Royston-Parmar models. #32

Open
albertocarm opened this issue Aug 7, 2020 · 0 comments
Open

More flexible bayesian Royston-Parmar models. #32

albertocarm opened this issue Aug 7, 2020 · 0 comments

Comments

@albertocarm
Copy link

albertocarm commented Aug 7, 2020

We need the Royston-Parmar Bayesian model to be more flexible. At present, the fit.models function only allows to adjust the k parameter but does not allow to model the dynamic effect of covariates. For example, with the flexsurvspline function, a more flexible model would be specified with the formula flexsurvspline(Surv(time,event)~arm+gamma1(arm)+gamma2(arm)+gamma3(arm), data=data)
However, at present, fit.models does not accept this formula.
It would also be useful to incorporate a new function to plot: (1) the difference in survival rates over time with the correponding credible interval, (2) the hazard ratio over time with its credible interval, (3) a function to test bayesian hypotheses over time (e.g, whata is the posterior probabilty that HR is >1.15 at time=12 months? or is the difference in OS rates >0 at 24 months?).

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

No branches or pull requests

1 participant