simstudy icon indicating copy to clipboard operation
simstudy copied to clipboard

Specify median for defSurv and genSurv and/or add Weibull distribution

Open kgoldfeld opened this issue 4 years ago • 3 comments
trafficstars

survival data is generated in simstudy with an underlying Weibull distribution, which is specified with a shape and scale parameter. A user has suggested being allowed to specify the median (given a specific shape (lambda) or scale (k) parameter, but not both):

We could even go further and allow the user to specify the mean and allow the mean to be a function of predictors, just as we do with other distributions.

Or we could just add the weibull distribution to the list of possible distributions in genData.

kgoldfeld avatar Feb 02 '21 20:02 kgoldfeld

How important/useful is this to you? Would you like this in the next release?

assignUser avatar Oct 30 '21 14:10 assignUser

Not super important for the next release, no.

kgoldfeld avatar Oct 30 '21 14:10 kgoldfeld

I think this will also be easier to solve with #75

assignUser avatar Feb 16 '22 12:02 assignUser