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
Can we have a
sim()
method forcoxph
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 classcoxph
, does it boil down to simply sampling from a multivariate normal withobject$coefficients
vcov(object)
?