powered by
Estimation of the genomic control inflation statistic (lambda)
gc.lambda(x, logscale = FALSE, z = FALSE)
Estimate of inflation factor.
A real vector (p or z).
A logical variable such that x as -log10(p).
A flag to indicate x as a vector of z values.
set.seed(12345) p <- runif(100) gc.lambda(p) lp <- -log10(p) gc.lambda(lp,logscale=TRUE) z <- qnorm(p/2) gc.lambda(z,z=TRUE)
Run the code above in your browser using DataLab