Commit Graph

62 Commits

Author SHA1 Message Date
fd7384f810
Implement yli.Cox 2023-07-16 16:22:34 +10:00
d17412ca07
Implement yli.GLM 2023-07-16 16:22:20 +10:00
4b9537643a
Add maxiter, tolerance parameters to IntervalCensoredCox 2023-07-16 16:20:39 +10:00
138e31751a
Add test case for Poisson regression 2023-04-22 17:08:54 +10:00
3c22fe4197
Add "reduced" parameter for IntervalCensoredCox 2023-04-22 17:08:36 +10:00
7746ca275e
Plotting functions for interval-censored Cox model 2023-04-22 13:39:27 +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
2852d3dd19
Implement yli.IntervalCensoredCox 2023-04-17 22:40:32 +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
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
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
967b853b02
Implement utilities for SHAP values in regression 2023-02-07 18:50:07 +11:00
56e16bc71d
Fixups and update documentation 2022-12-03 02:02:34 +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
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
d8dcece09d
Refactor fmt_p
Combine html, only_value, tabular flags into a single Flag
2022-11-09 17:39:53 +11:00
b31ae6686f
Make yli.mannwhitney support pandas nullable dtypes 2022-10-20 20:58:42 +11:00
d5ce46f6d0
Add example code/output to documentation 2022-10-19 08:49:44 +11:00
62c23efebc
Align tabular p values in plaintext output 2022-10-19 08:49:44 +11:00
a484b6205c
Add option to make __repr__ print the summary 2022-10-19 08:49:44 +11:00
57189990d6
Write Sphinx documentation 2022-10-19 08:49:44 +11:00
7a93355dab
Show covariance matrix type in regression results 2022-10-17 20:34:58 +11:00
b24f675d57
Don't show SciPy optimisation message in regression 2022-10-17 20:34:36 +11:00
4340be165b
Fix RegressionResult.bayesfactor_beta_zero for categorical terms 2022-10-16 02:49:43 +11:00
78944c7966
Implement yli.logit_then_regress 2022-10-16 02:31:37 +11:00
5cd04c3f6c
Report if robust covariance matrix in regression 2022-10-16 02:31:23 +11:00
6206723713
Add model_kwargs, fit_kwargs and common arguments to yli.regress 2022-10-16 02:31:08 +11:00
f407c5a44f
Move dof_resid below dof_model in regression output
dof_model is the numerator in the F test so this makes more sense
2022-10-16 02:30:24 +11:00
8d40e9db8b
Improve formatting of tabular p values 2022-10-15 23:30:41 +11:00