Description Usage Arguments Details Value Author(s) References See Also Examples
SEest
implements the Woolf's method to estimate the standard error of the observed log-odds ratio.
1 | SEest(n0,n1,fU,fA)
|
n0 |
Sample size in the control group. |
n1 |
Sample size in the case group. |
fU |
Allele frequency in the control group. |
fA |
Allele frequency in the case group. |
The Woolf's method to estimate the standard error of log(OR) is based on the following formula:
se(log(OR))=sqrt(1/(n0 fU(1-fU))+1/(n1 fA(1-fA))).
The estimated standard error is returned.
Wei Jiang, Jing-Hao Xue and Weichuan Yu
Maintainer: Wei Jiang <wjiangaa@connect.ust.hk>
Woolf, B. (1955). On estimating the relation between blood group and disease. Ann Hum Genet, 19(4), 251-253.
Jiang, W., Xue, J-H, and Yu, W. What is the probability of replicating a statistically significant association in genome-wide association studies?. Submitted.
RRate
,
repRateEst
,
repSampleSizeRR
,
repSampleSizeRR2
,
HLtest
1 2 3 4 5 6 | ##Load data
data('smryStats1') #Example of summary statistics in 1st study
n2.0<-2000 #Number of individuals in control group
n2.1<-2000 #Number of individuals in case group
SE2<-SEest(n2.0, n2.1, smryStats1$F_U, smryStats1$F_A) #SE in replication study
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.