simsurv icon indicating copy to clipboard operation
simsurv copied to clipboard

Simulate Survival Data

Results 6 simsurv issues
Sort by recently updated
recently updated
newest added

Hi, I have problems using simsurv for more complex hazard functions (which I need for cases where the cumulative hazard is not analytically tractable). A reproducible example is given below....

Hello, when I use a piece-wise constant hazard function to simulate data I always get periodic jumps after the first cutpoint, resulting from accumulated eventtimes. In the first image below...

Suppose I fit a Survival Cox-PH Regression Model in R and get the following results: ``` Call: coxph(formula = Surv(time, status) ~ age + sex + ph.ecog, data = lung)...

A suggestion from useR 2018... To add a function that takes a fitted model object (for example a model estimated using `survreg`) and then extract the model specification and the...

enhancement