Commit Graph

125 Commits

Author SHA1 Message Date
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
c3eef0efea
In auto_univariable, omit NaN only from affected analyses 2022-11-10 18:51:35 +11:00
f80afd0e80
Allow check_nan to only consider certain columns 2022-11-10 18:51:35 +11:00
040aa2d463
Implement convert_pandas_nullable for pandas nullable boolean dtype 2022-11-10 18:46:54 +11:00
ed67a4a610
Make nan_policy defaults consistent
Should default to 'warn' always
2022-11-10 18:28:27 +11:00
e5833796af
Add auto_univariable 2022-11-09 23:31:27 +11:00
ce4df2eac1
Show independent/dependent variables in t test and Mann-Whitney output 2022-11-09 22:25:50 +11:00
239a0646d2
Rename ConfidenceInterval to Interval 2022-11-09 22:10:15 +11:00
0f63b7eb40
Show descriptives in Mann-Whitney test output 2022-11-09 22:08:27 +11:00
ea2bf53ace
Display t test comparison of groups as table 2022-11-09 18:18:47 +11:00
d8dcece09d
Refactor fmt_p
Combine html, only_value, tabular flags into a single Flag
2022-11-09 17:39:53 +11:00
c6cef4aee7
Update documentation 2022-11-09 17:39:52 +11:00
50597ddc74
Update convert_pandas_nullable
Automatically convert pandas Float64 to float64 when required
Avoid unnecessary copy if possible
2022-11-09 17:39:52 +11:00
ab90cfc0e4
Report group means/SD for t test 2022-11-09 17:05:16 +11:00
bae93b2c8e
Fix bug when nan_policy='raise' 2022-10-20 20:59:06 +11:00
b31ae6686f
Make yli.mannwhitney support pandas nullable dtypes 2022-10-20 20:58:42 +11:00
ee36ac9d14
Add test and example for yli.pearsonr 2022-10-20 20:57:57 +11:00
5248abf859
Clarify documentation for Mann-Whitney test 2022-10-20 20:57:24 +11:00
05e5189fc5
Update global.rst documentation 2022-10-19 08:54:39 +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
7730ce476a
Make PyCryptodome an optional dependency 2022-10-19 08:49:44 +11:00
3626d3037f
Disallow specifying a salt for pickle_write_encrypted 2022-10-19 08:49:43 +11:00
12a0707998
Move ConfidenceInterval to yli.utils 2022-10-19 08:49:43 +11:00
ca521ae529
Make mpmath optional dependency 2022-10-17 20:35:04 +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
349eebb202
Rename δ -> Δμ for clarity 2022-10-16 01:44:05 +11:00
8d40e9db8b
Improve formatting of tabular p values 2022-10-15 23:30:41 +11:00
a2442214ed
Observe config.alpha for significance tests and regression 2022-10-15 23:24:29 +11:00
bf5cc434b5
Allow customising p value formatting 2022-10-15 23:11:22 +11:00
49b9230484
Rename fs -> io 2022-10-15 14:07:54 +11:00
70fba04b2f
Regression output: Hide boolean reference categories by default if reference category is False 2022-10-15 01:42:06 +11:00
d1249914ff
Allow cols_for_formula and reference category detection to support explicit contrasts 2022-10-15 01:35:49 +11:00
0391877296
Refactor parsing of Patsy formulas 2022-10-15 00:54:46 +11:00
b2aaaabb0e
Improve pretty printing of regression results
Pretty print categorical variables and show reference category
2022-10-14 21:57:22 +11:00
e8e97f6073
Implement anova_oneway 2022-10-14 20:18:25 +11:00
a753761675
Style fixups 2022-10-14 20:08:01 +11:00
255ad100fd
Refactor fmt_p 2022-10-14 14:48:26 +11:00
526d361338
Implement RegressionResult.bayesfactor_beta_zero 2022-10-14 14:21:36 +11:00
bb534cb285
vif: Allow computing VIF only for variables in the formula 2022-10-14 14:08:51 +11:00
461e00df78
Implement PenalisedLogit 2022-10-13 17:23:29 +11:00
51008296c2
Implement vif 2022-10-13 16:46:53 +11:00
987520e700
Implement regression helpers 2022-10-13 16:46:53 +11:00
e1051d8aff
Implement utilities for saving/loading pandas DataFrames to/from file 2022-10-13 15:58:27 +11:00
7e8418eb36
Implement chi2 2022-10-13 15:58:27 +11:00
edc82c1658
Implement mannwhitney 2022-10-13 13:18:51 +11:00
6b43034a50
Implement ttest_ind 2022-10-13 12:53:18 +11:00
97a01b4e80
Implement ttest_ind 2022-10-11 22:52:42 +11:00
582cfa5893
Implement transformed_dist 2022-10-09 13:02:06 +11:00
b8250054a2
Implement truncated sum for calculating beta_oddsratio.cdf 2022-10-07 22:12:55 +11:00
cbb79207ae
Implement beta_oddsratio 2022-10-07 16:52:51 +11:00
d3842e1645
Implement hdi 2022-10-06 18:47:24 +11:00
fb1e03bfab
Implement beta_ratio.from_scipy 2022-10-05 21:50:16 +11:00
006ddd2c41
Publish beta ratio distribution 2022-10-05 20:08:04 +11:00