Commit Graph

117 Commits

Author SHA1 Message Date
aff4287ccc
Add unit test for yli.turnbull 2023-04-22 01:18:38 +10:00
ae1a4cb5b8
Do not attempt to draw legend on survival curves if only one curve 2023-04-22 01:18:38 +10:00
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
8899d1c968
Implement RegressionModel.pseudo_rsquared_adj 2023-04-21 18:11:04 +10:00
53a0e98227
Pass through interval-censored Cox fitting progress to stderr 2023-04-21 18:10:40 +10:00
fd30a3c1c7
Refactor extraction of raw terms from regression result 2023-04-21 18:10:19 +10:00
f9a8a5cf01
Implement more kwargs in yli.regress 2023-04-21 18:09:58 +10:00
aa88239cb1
Implement deviance chi-squared test for Poisson regression 2023-04-21 15:27:47 +10:00
503519c9c0
Implement Poisson regression 2023-04-21 15:27:18 +10:00
844e6bdec9
Implement ttest_ind_multiple 2023-04-20 15:41:03 +10:00
2852d3dd19
Implement yli.IntervalCensoredCox 2023-04-17 22:40:32 +10:00
65f3a2601d
Update unit tests 2023-04-17 15:16:09 +10:00
847ec85083
Draw survival curves beginning at time 0 2023-04-17 13:24:01 +10:00
f1e943ca89
Update documentation 2023-04-17 13:24:01 +10:00
ac2aca7b8f
Large refactor of yli.regress 2023-04-16 23:49:43 +10:00
dbfcec56c3
Implement yli.cox_interval_censored 2023-03-05 02:11:12 +11:00
e12dd65fdc
Implement yli.turnbull 2023-03-04 21:52:31 +11:00
d359820f42
Add documentation for survival analysis 2023-02-26 00:05:10 +11:00
18727cd950
Add documentation for SHAP 2023-02-25 23:59:01 +11:00
88509c71a3
Implement yli.logrank 2023-02-25 17:26:31 +11:00
e83aa88b19
Implement yli.kaplanmeier 2023-02-25 17:15:22 +11:00
642d0d4e4f
Implement likelihood ratio test for Cox regression 2023-02-25 15:08:09 +11:00
eb0d520d95
Add support for statsmodels PHReg to yli.regress 2023-02-25 14:46:13 +11:00
fa95f6d75c
Add exposure kwarg to yli.regress, for Poisson etc. 2023-02-25 14:12:44 +11:00
17bf3cbcab
Add helper function set up graph fonts 2023-02-07 18:50:15 +11:00
967b853b02
Implement utilities for SHAP values in regression 2023-02-07 18:50:07 +11:00
dbebc3b8e9
Autodetect ordinal variables in auto_univariable 2023-02-07 18:49:57 +11:00
68d7a31b53
Add documentation for auto_correlations 2023-02-07 18:49:00 +11:00
c2d4aaf8be
Implement yli.auto_correlations 2022-12-03 22:23:29 +11:00
5dce873e55
Add helper function for making dtype ordinal (ordered category) 2022-12-03 22:23:18 +11:00
0fa261498a
In auto_descriptives, autodetect ordinal variables based on category dtype 2022-12-03 22:20:42 +11:00
5633a191f1
Update documentation 2022-12-03 20:01:05 +11:00
fa89f2f156
Implement yli.spearman 2022-12-03 20:00:52 +11:00
56e16bc71d
Fixups and update documentation 2022-12-03 02:02:34 +11:00
bbb998003e
Show inherited members for chi-squared based tests 2022-12-03 01:59:54 +11:00
957ef9f3fc
Add documentation for RegressionResult.brant 2022-12-03 01:59:54 +11:00
b2a72a8ef8
Add unit test for RegressionResult.brant 2022-12-03 01:59:54 +11:00
ea2d04ada1
Add unit test for OrdinalLogit 2022-12-03 01:59:54 +11:00
2135796d85
Automatically factorise pandas categorical when required for regression 2022-12-02 21:42:41 +11:00
04643d312c
Add unit test for RegressionResult.bootstrap 2022-12-02 21:07:08 +11:00
e4e85db354
Refactor bootstrap regression API as method of RegressionResult 2022-12-02 21:04:58 +11:00
4d59e1a521
Refactor Brant test API as method of RegressionResult 2022-12-02 20:47:35 +11:00
fc8303678f
Initial implementation of Brant test 2022-12-02 20:47:34 +11:00
0dab62ad0a
Implement yli.OrdinalLogit as preferred model for ordinal logistic regression
OrdinalLogit uses a parameterisation where the cutoff terms are directly incorporated
2022-12-02 20:47:11 +11:00
f8e56d96b1
Add "method" parameter for yli.regress 2022-12-02 12:54:03 +11:00
a48e96e96c
Handle OrderedModel for yli.regress 2022-12-02 12:53:50 +11:00
5b08784498
Ignore ModuleNotFoundError in yli.reload 2022-11-29 23:08:31 +11:00
645cb7a85e
Rename bootstrap_regress to regress_bootstrap and update
Improve performance by directly calling statsmodels regression
Report bootstrap in model summary
Add to documentation
2022-11-29 23:00:14 +11:00
e71a1aea12
Implement bootstrap_regress 2022-11-29 14:40:50 +11:00
e268f385be
Implement yli.auto_descriptives 2022-11-10 21:20:06 +11:00