Commit Graph

137 Commits

Author SHA1 Message Date
RunasSudo b837ecc3a3
Update OrdinalLogit test 2023-12-31 18:34:54 +11:00
RunasSudo f42c152019
Update Turnbull test 2023-12-31 18:34:40 +11:00
RunasSudo 8e30c41cc4
Do not compute standard errors in yli.turnbull if CIs are not required 2023-12-31 18:34:30 +11:00
RunasSudo 035b1592dc
Update yli.turnbull for the case where no data are right-censored 2023-12-31 18:34:19 +11:00
RunasSudo 00ed38d47d
Fix error in survtime_to_numeric when applied to 1D data 2023-12-31 18:33:44 +11:00
RunasSudo f2987bfd2d
Bring yli.turnbull up to date with hpstat 82f4a54 2023-12-31 18:08:19 +11:00
RunasSudo a48c59f780
Update yli.turnbull for hpstat 2880fe8 2023-11-01 19:39:51 +11:00
RunasSudo 263f65f478
Pass further options to hpstat in yli.turnbull 2023-10-20 21:32:28 +11:00
RunasSudo 14c4054a47
Use hpstat for yli.turnbull to enable computation of confidence intervals 2023-10-20 21:12:55 +11:00
RunasSudo 675422246f
Allow passing own fig, ax to yli.kaplanmeier 2023-10-20 21:11:35 +11:00
RunasSudo 26a6766f0e
Implement TimeVaryingCox 2023-07-17 01:34:34 +10:00
RunasSudo fd7384f810
Implement yli.Cox 2023-07-16 16:22:34 +10:00
RunasSudo d17412ca07
Implement yli.GLM 2023-07-16 16:22:20 +10:00
RunasSudo 4b9537643a
Add maxiter, tolerance parameters to IntervalCensoredCox 2023-07-16 16:20:39 +10:00
RunasSudo 71b714ab7d
Implement HorizontalEffectPlot 2023-07-16 16:17:45 +10:00
RunasSudo 138e31751a
Add test case for Poisson regression 2023-04-22 17:08:54 +10:00
RunasSudo 3c22fe4197
Add "reduced" parameter for IntervalCensoredCox 2023-04-22 17:08:36 +10:00
RunasSudo 7746ca275e
Plotting functions for interval-censored Cox model 2023-04-22 13:39:27 +10:00
RunasSudo a0a9900dfa
Add yli.Poisson to documentation 2023-04-22 01:19:45 +10:00
RunasSudo 3d30045832
Add unit test for yli.kaplanmeier 2023-04-22 01:18:38 +10:00
RunasSudo aff4287ccc
Add unit test for yli.turnbull 2023-04-22 01:18:38 +10:00
RunasSudo ae1a4cb5b8
Do not attempt to draw legend on survival curves if only one curve 2023-04-22 01:18:38 +10:00
RunasSudo 8238383edb
Fix up yli.turnbull
Draw step function at configurable point on each Turnbull interval (previous documentation did not correctly describe the behaviour of the function)
Draw survival curve from time 0, survival 100%
2023-04-22 01:18:38 +10:00
RunasSudo 8899d1c968
Implement RegressionModel.pseudo_rsquared_adj 2023-04-21 18:11:04 +10:00
RunasSudo 53a0e98227
Pass through interval-censored Cox fitting progress to stderr 2023-04-21 18:10:40 +10:00
RunasSudo fd30a3c1c7
Refactor extraction of raw terms from regression result 2023-04-21 18:10:19 +10:00
RunasSudo f9a8a5cf01
Implement more kwargs in yli.regress 2023-04-21 18:09:58 +10:00
RunasSudo aa88239cb1
Implement deviance chi-squared test for Poisson regression 2023-04-21 15:27:47 +10:00
RunasSudo 503519c9c0
Implement Poisson regression 2023-04-21 15:27:18 +10:00
RunasSudo 844e6bdec9
Implement ttest_ind_multiple 2023-04-20 15:41:03 +10:00
RunasSudo 2852d3dd19
Implement yli.IntervalCensoredCox 2023-04-17 22:40:32 +10:00
RunasSudo 65f3a2601d
Update unit tests 2023-04-17 15:16:09 +10:00
RunasSudo 847ec85083
Draw survival curves beginning at time 0 2023-04-17 13:24:01 +10:00
RunasSudo f1e943ca89
Update documentation 2023-04-17 13:24:01 +10:00
RunasSudo ac2aca7b8f
Large refactor of yli.regress 2023-04-16 23:49:43 +10:00
RunasSudo dbfcec56c3
Implement yli.cox_interval_censored 2023-03-05 02:11:12 +11:00
RunasSudo e12dd65fdc
Implement yli.turnbull 2023-03-04 21:52:31 +11:00
RunasSudo d359820f42
Add documentation for survival analysis 2023-02-26 00:05:10 +11:00
RunasSudo 18727cd950
Add documentation for SHAP 2023-02-25 23:59:01 +11:00
RunasSudo 88509c71a3
Implement yli.logrank 2023-02-25 17:26:31 +11:00
RunasSudo e83aa88b19
Implement yli.kaplanmeier 2023-02-25 17:15:22 +11:00
RunasSudo 642d0d4e4f
Implement likelihood ratio test for Cox regression 2023-02-25 15:08:09 +11:00
RunasSudo eb0d520d95
Add support for statsmodels PHReg to yli.regress 2023-02-25 14:46:13 +11:00
RunasSudo fa95f6d75c
Add exposure kwarg to yli.regress, for Poisson etc. 2023-02-25 14:12:44 +11:00
RunasSudo 17bf3cbcab
Add helper function set up graph fonts 2023-02-07 18:50:15 +11:00
RunasSudo 967b853b02
Implement utilities for SHAP values in regression 2023-02-07 18:50:07 +11:00
RunasSudo dbebc3b8e9
Autodetect ordinal variables in auto_univariable 2023-02-07 18:49:57 +11:00
RunasSudo 68d7a31b53
Add documentation for auto_correlations 2023-02-07 18:49:00 +11:00
RunasSudo c2d4aaf8be
Implement yli.auto_correlations 2022-12-03 22:23:29 +11:00
RunasSudo 5dce873e55
Add helper function for making dtype ordinal (ordered category) 2022-12-03 22:23:18 +11:00