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

support weibull distribution #72

Open
tdhock opened this issue Jul 19, 2019 · 2 comments
Open

support weibull distribution #72

tdhock opened this issue Jul 19, 2019 · 2 comments
Labels
Second Medium priority

Comments

@tdhock
Copy link
Collaborator

tdhock commented Jul 19, 2019

look at formulas in http://members.cbio.mines-paristech.fr/~thocking/survival.pdf

@tdhock
Copy link
Collaborator Author

tdhock commented Jul 19, 2019

note that t ~ weibull is positive valued (data and parameters) whereas y = exp(t) ~ extreme_value is real valued. (potentially negative)

@theadityasam please try to avoid duplication in the code for cv.iregnet. please use transformed.distributions list when computing validation log likelihood in cv.iregnet.

seems to me that the best way to do that would be via three base distributions for real-valued numbers, normal, logistic, extreme value. all the other distributions should be computable in terms of these.

extreme value distribution/density functions do not seem to exist in base R. so to implement them either (1) use dweibull/pweibull if that is numerically stable enough, (2) otherwise try one of the packages that explicitly implements it.

@tdhock
Copy link
Collaborator Author

tdhock commented Jul 19, 2019

#73

@theadityasam theadityasam added the Second Medium priority label Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Second Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants