Compute the value of gamma_0 from gamma1,...,gamma_m
compute_gamma0_PW(N0, N1, W, gamma.W, PWgY0)
N0 | number of samples with Y=0 |
---|---|
N1 | number of samples with Y=1 |
W | The causal SNPs |
gamma.W | The odds ratios of effect for each CV |
PWgY0 | the distribution of causal snps in controls |
The value of gamma0
Note: assume we know the distibution of W in the controls