raphaelvallat / pingouin

Statistical package in Python based on Pandas
https://pingouin-stats.org/
GNU General Public License v3.0
1.65k stars 140 forks source link

Implementation of McNemar-Bowker test #203

Closed adam2392 closed 1 year ago

adam2392 commented 3 years ago

The current implementation for McNemar's test assumes a 2x2 contingency table. Is it possible and feasible to add an implementation of McNemar-Bowker test for multiple categories?

raphaelvallat commented 3 years ago

Hi @adam2392,

Thanks for opening the issue. I was not familiar with this function, but it seems pretty straightforward to follow the steps here: https://www.real-statistics.com/non-parametric-tests/mcnemar-bowker-test/

Do you know of any R / Python / Matlab implementation that we could test against?

Thanks, Raphael

raphaelvallat commented 1 year ago

Closing this, but feel free to reopen