Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kgoldfeld opened this issue Feb 2, 2021 · 3 comments
Open
Labels
feature feature request or enhancement

Comments

@kgoldfeld
Copy link
Owner

kgoldfeld commented Feb 2, 2021

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 kgoldfeld added the feature feature request or enhancement label Feb 2, 2021
@assignUser
Copy link
Collaborator

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

@kgoldfeld
Copy link
Owner Author

Not super important for the next release, no.

@assignUser assignUser added this to the Simstudy 1.0(?) milestone Oct 31, 2021
@assignUser
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants