The response in the link below clearly shows how the output of predict(data, type='risk') is calculated. I've been trying to find a similar explanation for predict(data, type='expected') with someone recreating the output from scratch using coefficients so I can learn how it works mathematically but I haven't found anything. Can someone explain this to me?

How to interpret the output of predict.coxph?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.