se_null
analytically compute standard error of \(\beta\) under \(\mathbb{E}(\beta) = 0\)
\(\sqrt{\frac{1}{2fN_0} + \frac{1}{2N_{0}(1-f)} + \frac{1}{2fN_1} + \frac{1}{2N_{1}(1-f)} }\)se_null.Rd
This function computes standard error under the null
se_null
analytically compute standard error of \(\beta\) under \(\mathbb{E}(\beta) = 0\)
\(\sqrt{\frac{1}{2fN_0} + \frac{1}{2N_{0}(1-f)} + \frac{1}{2fN_1} + \frac{1}{2N_{1}(1-f)} }\)
se_null(N, n1, f)
N | a vector or scalar of total number od samples |
---|---|
n1 | a vector or scalar of number of case samples |
f | a vector of reference allele frequencies |
a numeric vector