`sim` method for `coxph` objects #4

Open
mbojan opened this Issue Jan 18, 2017 · 0 comments

Comments

Projects
None yet
1 participant

mbojan commented Jan 18, 2017

Can we have a sim() method for coxph objects?

I could submit a PR, but I am not sure what exactly the stat theory is. In particular, I am not sure whether the example from the ARM book generalizes directly to Cox regression. Assuming that object is of class coxph, does it boil down to simply sampling from a multivariate normal with

  • means equal to object$coefficients
  • covariance matrix from vcov(object)

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment