Description Usage Arguments Details Value Author(s)
View source: R/functions_moloc.R
Estimate trait standard deviation given vectors of variance of coefficients, MAF and sample size
1 | sdY.est(vbeta, maf, n)
|
vbeta |
vector of variance of coefficients |
maf |
vector of MAF (same length as vbeta) |
n |
sample size |
Estimate is based on var(beta-hat) = var(Y) / (n * var(X)) var(X) = 2*maf*(1-maf) so we can estimate var(Y) by regressing n*var(X) against 1/var(beta)
estimated standard deviation of Y
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.