无假设扫描统计的Python实现
hfscanstat的Python项目详细描述
hfscanstat公司
A python implementation of the hypothesis-free multiple scan statistic with variable window for detecting clusters in point processes (L. Cucala. A hypothesis-free multiple scan statistic with variable window. Biom. J., 50 (2008), pp. 299-310).
安装
pip install hfscanstat
如何使用
使用来自Knox,G.(1959)的示例数据。先天性食管闭锁的长期模式。英国预防性社会医学杂志13222-226。在
knox_1959=[170,316,445,468,938,1034,1128,1233,1248,1249,1252,1259,1267,1305,1385,1388,1390,1446,1454,1458,1461,1491,1583,1699,1702,1787,1924,1974,2049,2051,2067,2075,2108,2151,2174,2191]clusters=get_clusters(knox_1959)print(clusters)
^{pr2}$
- 项目
标签: