Skip to content
/ bth Public
forked from b2du/bth

scripts for heteroskedastic tests

Notifications You must be signed in to change notification settings

bee-hive/bth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bth-

working scripts for heteroskedastic tests
last updated: July, 2015

simple example

from simulations import *
from BTHsuite import *

[maf, n, intercept, beta, sigma2, logalpha,T,c] = [0.2, 300,0, 0.1, 1., 0.2, 1, 0 ]
[genotype, phenotype] = sim_xy(maf, n, intercept, beta, sigma2, logalpha,T,c)

!# compute Bayes Factors using BTH for the generated data
logBF = BTH(genotype,phenotype)
!# compute Bayes Factors for the shuffled data
[genotypePermuted, phenotypePermuted] = special_shuffle2(genotype,phenotype)
logBFperm = BTH(genotypePermuted, phenotypePermuted)

About

scripts for heteroskedastic tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%