tests-as-linear
tests-as-linear copied to clipboard
Python port of "Common statistical tests are linear models" by Jonas Kristoffer Lindeløv.
Bumps [numpy](https://github.com/numpy/numpy) from 1.16.4 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...
Bumps [nbdime](https://github.com/jupyter/nbdime) from 1.0.6 to 1.1.1. Commits a79ab6d Release 1.1.1 9385838 Merge pull request from GHSA-p6rw-44q7-3fw4 956a1fb Added .idea folder to gitignore fd82468 Upgraded typescript to fix build errors 518950f...
This PR contains two intentional coding commits and one "non coding" commit (regenerated figures). I recommend manually reviewing the first tow commits and ignoring third: 1. [update requirements](https://github.com/eigenfoo/tests-as-linear/commit/092549126ddc8dc3190ccddcbfaa404b987ee845) to get...
In the subsection on [Mann-Whitney-U currently published version](https://www.eigenfoo.xyz/tests-as-linear/#5.1.5-Python-code:-Mann-Whitney-U), the column `y` is processed using the `signed_rank` function, but should be just regular (unsigned) rank. After fixing this, the p-value results...
The original R post had [four appendices](https://github.com/lindeloev/tests-as-linear/tree/master/simulations), each of which demonstrated (through numerical simulation) that a common statistical test was well-approximated by a linear model. These have not been ported...
See https://eigenfoo.xyz/tests-as-linear/#5.2-Welch%E2%80%99s-t-test The original R post (https://lindeloev.github.io/tests-as-linear/#52_welch%E2%80%99s_t-test) does not go into detail about how to modify the linear model to have different variances.
It would be nice to use the exact same datasets as in the [R version](https://lindeloev.github.io/tests-as-linear/) so that we can check the numerical values are the same in all cases (to...