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

Zero deemed invalid lower bound for interval censored data in survreg with lognormal #234

Open
chjackson opened this issue Dec 1, 2023 · 0 comments

Comments

@chjackson
Copy link

survreg produces "Invalid survival times for this distribution", when interval-censored data for the lognormal have a lower bound of zero.

emin <- c(0, 1:10)
emax <- emin + 1
survreg(Surv(emin, emax, type="interval2") ~ 1, dist="lognormal")

I agree zero is invalid for a log-normally distributed event time, but I think it should be valid as a lower bound with interval censoring, or have I missed something? This also happens for the log logistic - I haven't tested for others.

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

No branches or pull requests

1 participant