Commit Graph

137 Commits

Author SHA1 Message Date
RunasSudo 0fa261498a
In auto_descriptives, autodetect ordinal variables based on category dtype 2022-12-03 22:20:42 +11:00
RunasSudo 5633a191f1
Update documentation 2022-12-03 20:01:05 +11:00
RunasSudo fa89f2f156
Implement yli.spearman 2022-12-03 20:00:52 +11:00
RunasSudo 56e16bc71d
Fixups and update documentation 2022-12-03 02:02:34 +11:00
RunasSudo bbb998003e
Show inherited members for chi-squared based tests 2022-12-03 01:59:54 +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 5b08784498
Ignore ModuleNotFoundError in yli.reload 2022-11-29 23:08:31 +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 e268f385be
Implement yli.auto_descriptives 2022-11-10 21:20:06 +11:00
RunasSudo c3eef0efea
In auto_univariable, omit NaN only from affected analyses 2022-11-10 18:51:35 +11:00
RunasSudo f80afd0e80
Allow check_nan to only consider certain columns 2022-11-10 18:51:35 +11:00
RunasSudo 040aa2d463
Implement convert_pandas_nullable for pandas nullable boolean dtype 2022-11-10 18:46:54 +11:00
RunasSudo b40f63aa43
Touch up documentation 2022-11-10 18:28:46 +11:00
RunasSudo ed67a4a610
Make nan_policy defaults consistent
Should default to 'warn' always
2022-11-10 18:28:27 +11:00
RunasSudo e5833796af
Add auto_univariable 2022-11-09 23:31:27 +11:00
RunasSudo ce4df2eac1
Show independent/dependent variables in t test and Mann-Whitney output 2022-11-09 22:25:50 +11:00
RunasSudo 239a0646d2
Rename ConfidenceInterval to Interval 2022-11-09 22:10:15 +11:00
RunasSudo 0f63b7eb40
Show descriptives in Mann-Whitney test output 2022-11-09 22:08:27 +11:00
RunasSudo ea2bf53ace
Display t test comparison of groups as table 2022-11-09 18:18:47 +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 c6cef4aee7
Update documentation 2022-11-09 17:39:52 +11:00
RunasSudo 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
RunasSudo ab90cfc0e4
Report group means/SD for t test 2022-11-09 17:05:16 +11:00
RunasSudo bae93b2c8e
Fix bug when nan_policy='raise' 2022-10-20 20:59:06 +11:00
RunasSudo b31ae6686f
Make yli.mannwhitney support pandas nullable dtypes 2022-10-20 20:58:42 +11:00
RunasSudo ee36ac9d14
Add test and example for yli.pearsonr 2022-10-20 20:57:57 +11:00
RunasSudo 5248abf859
Clarify documentation for Mann-Whitney test 2022-10-20 20:57:24 +11:00
RunasSudo 05e5189fc5
Update global.rst documentation 2022-10-19 08:54:39 +11:00
RunasSudo 66d7e70806
Add expected summary output to unit tests for examples in documentation 2022-10-19 08:49:44 +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 7730ce476a
Make PyCryptodome an optional dependency 2022-10-19 08:49:44 +11:00
RunasSudo 3626d3037f
Disallow specifying a salt for pickle_write_encrypted 2022-10-19 08:49:43 +11:00
RunasSudo 12a0707998
Move ConfidenceInterval to yli.utils 2022-10-19 08:49:43 +11:00
RunasSudo 6d1802fbaf
Add README.md 2022-10-17 20:38:05 +11:00
RunasSudo afc0a724fe
Add README.md 2022-10-17 20:35:11 +11:00
RunasSudo ca521ae529
Make mpmath optional dependency 2022-10-17 20:35:04 +11:00