Closed opioiddatalab closed 4 years ago
I don't have any scripts that run a Cochran-Mantel-Haenszel test currently. However, it looks like statsmodels
has a class that implements it https://www.statsmodels.org/dev/generated/statsmodels.stats.contingency_tables.StratifiedTable.html
Thanks! That should do nicely. Much appreciated.
Thank you @pzivich for this amazing resource. Having the Hernan/Robbins causal model code in python is super helpful... g-estimation!
I have a request... do you have a Cochran-Mantel-Haenszel script? If you get the chance, please, it would be useful to us to have in this repo. Thank you in advance!