【发布时间】:2018-04-23 08:42:09
【问题描述】:
Statsmodels 似乎是唯一提供FDR-based BH adjustment for p-values 的python 库(除了rpy2),但它似乎不再包含在内:
statsmodels.sandbox.stats.multicomp.fdrcorrection0()
AttributeError: module 'statsmodels.sandbox' has no attribute 'stats'
此模块是否已从 0.6.1 中删除? Besides using rpy2,还有其他广泛使用的 FDR p 值调整实现吗?
【问题讨论】:
-
我不认为整个
stats模块已被删除。您可能需要显式导入它。 (另外fdrcorrection0还在master branch中)
标签: python numpy scipy statsmodels rpy2