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

DynSurv() - Linear prediction for new patients #76

Open
pradeepvirdee opened this issue Sep 24, 2021 · 3 comments
Open

DynSurv() - Linear prediction for new patients #76

pradeepvirdee opened this issue Sep 24, 2021 · 3 comments

Comments

@pradeepvirdee
Copy link

Hi Graeme,

I've fit a joint model using mjoint() and stored the model under the object name "jointmodel". I've obtained dynamic predictions using dynSurv() on the model building sample but also a validation sample containing data from new patients. My aim now is to calculate the model's calibration slope in the validation sample (which involves fitting a Cox model with linear predictions as the only covariate). For the patients used to build the model, I can extract their linear predictions from jointmodel$sfit$linear.predictors. Can I extract the linear prediction for each new patient in the validation sample? If not, is there a way I can work this out?

Pradeep

@graemeleehickey
Copy link
Owner

graemeleehickey commented Nov 16, 2021 via email

@pradeepvirdee
Copy link
Author

pradeepvirdee commented Nov 17, 2021 via email

@graemeleehickey
Copy link
Owner

graemeleehickey commented Nov 26, 2021 via email

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

2 participants