Commit Graph

59 Commits

Author SHA1 Message Date
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 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 2852d3dd19
Implement yli.IntervalCensoredCox 2023-04-17 22:40:32 +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 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 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 967b853b02
Implement utilities for SHAP values in regression 2023-02-07 18:50:07 +11:00
RunasSudo 56e16bc71d
Fixups and update documentation 2022-12-03 02:02:34 +11:00
RunasSudo 957ef9f3fc
Add documentation for RegressionResult.brant 2022-12-03 01:59:54 +11:00
RunasSudo b2a72a8ef8
Add unit test for RegressionResult.brant 2022-12-03 01:59:54 +11:00
RunasSudo ea2d04ada1
Add unit test for OrdinalLogit 2022-12-03 01:59:54 +11:00
RunasSudo 2135796d85
Automatically factorise pandas categorical when required for regression 2022-12-02 21:42:41 +11:00
RunasSudo 04643d312c
Add unit test for RegressionResult.bootstrap 2022-12-02 21:07:08 +11:00
RunasSudo e4e85db354
Refactor bootstrap regression API as method of RegressionResult 2022-12-02 21:04:58 +11:00
RunasSudo 4d59e1a521
Refactor Brant test API as method of RegressionResult 2022-12-02 20:47:35 +11:00
RunasSudo fc8303678f
Initial implementation of Brant test 2022-12-02 20:47:34 +11:00
RunasSudo 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
RunasSudo f8e56d96b1
Add "method" parameter for yli.regress 2022-12-02 12:54:03 +11:00
RunasSudo a48e96e96c
Handle OrderedModel for yli.regress 2022-12-02 12:53:50 +11:00
RunasSudo 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
RunasSudo e71a1aea12
Implement bootstrap_regress 2022-11-29 14:40:50 +11:00
RunasSudo d8dcece09d
Refactor fmt_p
Combine html, only_value, tabular flags into a single Flag
2022-11-09 17:39:53 +11:00
RunasSudo b31ae6686f
Make yli.mannwhitney support pandas nullable dtypes 2022-10-20 20:58:42 +11:00
RunasSudo d5ce46f6d0
Add example code/output to documentation 2022-10-19 08:49:44 +11:00
RunasSudo 62c23efebc
Align tabular p values in plaintext output 2022-10-19 08:49:44 +11:00
RunasSudo a484b6205c
Add option to make __repr__ print the summary 2022-10-19 08:49:44 +11:00
RunasSudo 57189990d6
Write Sphinx documentation 2022-10-19 08:49:44 +11:00
RunasSudo 7a93355dab
Show covariance matrix type in regression results 2022-10-17 20:34:58 +11:00
RunasSudo b24f675d57
Don't show SciPy optimisation message in regression 2022-10-17 20:34:36 +11:00
RunasSudo 4340be165b
Fix RegressionResult.bayesfactor_beta_zero for categorical terms 2022-10-16 02:49:43 +11:00
RunasSudo 78944c7966
Implement yli.logit_then_regress 2022-10-16 02:31:37 +11:00
RunasSudo 5cd04c3f6c
Report if robust covariance matrix in regression 2022-10-16 02:31:23 +11:00
RunasSudo 6206723713
Add model_kwargs, fit_kwargs and common arguments to yli.regress 2022-10-16 02:31:08 +11:00
RunasSudo 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
RunasSudo 8d40e9db8b
Improve formatting of tabular p values 2022-10-15 23:30:41 +11:00
RunasSudo a2442214ed
Observe config.alpha for significance tests and regression 2022-10-15 23:24:29 +11:00
RunasSudo 70fba04b2f
Regression output: Hide boolean reference categories by default if reference category is False 2022-10-15 01:42:06 +11:00
RunasSudo d1249914ff
Allow cols_for_formula and reference category detection to support explicit contrasts 2022-10-15 01:35:49 +11:00