-
Notifications
You must be signed in to change notification settings - Fork 28
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
flexsurvreg handles uncentered and/or high-variance predictors particularly badly #67
Comments
Interesting examples! In the first one, the MLE of the Weibull scale parameter (using scale in the
Whereas a principle of For Weibull models, In the second case, the MLE of one of the parameters is very small, |
Interesting, thanks for the explanation! |
I noticed that this discrepancy with the standard errors between |
I have what I'm sure is a very common use case: a predictor that's a timestamp converted to numeric, in seconds. This creates very large values, which often have very large numeric variance and/or have a mean that's very far from zero. While
survival
seems to handle this without any issue,flexsurvreg
fails to initialize unless I recenter; and even if I recenter but have a scale that's very large, it fails to converge.MWE:
Created on 2019-10-19 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: