Commit Graph

50 Commits

Author SHA1 Message Date
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
RunasSudo 0391877296
Refactor parsing of Patsy formulas 2022-10-15 00:54:46 +11:00
RunasSudo b2aaaabb0e
Improve pretty printing of regression results
Pretty print categorical variables and show reference category
2022-10-14 21:57:22 +11:00
RunasSudo e8e97f6073
Implement anova_oneway 2022-10-14 20:18:25 +11:00
RunasSudo 255ad100fd
Refactor fmt_p 2022-10-14 14:48:26 +11:00
RunasSudo 526d361338
Implement RegressionResult.bayesfactor_beta_zero 2022-10-14 14:21:36 +11:00
RunasSudo bb534cb285
vif: Allow computing VIF only for variables in the formula 2022-10-14 14:08:51 +11:00
RunasSudo 461e00df78
Implement PenalisedLogit 2022-10-13 17:23:29 +11:00
RunasSudo 51008296c2
Implement vif 2022-10-13 16:46:53 +11:00
RunasSudo 987520e700
Implement regression helpers 2022-10-13 16:46:53 +11:00