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

Summaries + datetime_to_duration bug fix #231

Merged
merged 4 commits into from
Mar 20, 2016
Merged

Conversation

CamDavidsonPilon
Copy link
Owner

This adds two summary functions to Weibull and Exponential fitter, solves #224

from lifelines import WeibullFitter
w = WeibullFitter()
s = np.random.weibull(2.5, size=10000)
w.fit(s)
w.summary
             coef  se(coef)  lower 0.95  upper 0.95
lambda_  1.004762  0.004245    0.996441    1.013083
rho_     2.490955  0.019517    2.452694    2.529215

@CamDavidsonPilon
Copy link
Owner Author

Some test errors unrelated to this PR due to pandas 0.18. I'll fix that first and bump version.

@CamDavidsonPilon CamDavidsonPilon changed the title Summaries Summaries + datetime_to_duration bug fix Mar 19, 2016
CamDavidsonPilon added a commit that referenced this pull request Mar 20, 2016
Summaries + datetime_to_duration bug fix
@CamDavidsonPilon CamDavidsonPilon merged commit 5ced989 into master Mar 20, 2016
@CamDavidsonPilon CamDavidsonPilon deleted the summaries branch March 20, 2016 14:37
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

Successfully merging this pull request may close these issues.

1 participant