bth:异方差测试的脚本

时间:2021-04-30 15:05:04
【文件属性】:
文件名称:bth:异方差测试的脚本
文件大小:17KB
文件格式:ZIP
更新时间:2021-04-30 15:05:04
Python bth- 异方差测试的工作脚本上次更新时间:2015年7月 简单的例子 从模拟导入* 从BTHsuite进口* [maf,n,intercept,beta,sigma2,logalpha,T,c] = [0.2,300,0,0.1,1.,0.2,1,0] [基因型,表型] = sim_xy(maf,n,intercept,beta,sigma2,logalpha,T,c) !#对生成的数据使用BTH计算贝叶斯因子logBF = BTH(基因型,表型) !#计算随机数据的贝叶斯因子[genotypePermuted,phenotypePermuted] = special_shuffle2(基因型,表型) logBFperm = BTH(基因型已置换,表型已置换)
【文件预览】:
bth-master
----simulations.py(5KB)
----BTHsuite.py(25KB)
----README.md(654B)
----BTH_module.py(53KB)

网友评论