Var.data.cc {corrcoverage}R Documentation

Variance of the estimated effect size for case-control data

Description

Variance of the estimated effect size for case-control data

Usage

Var.data.cc(f, N, s)

Arguments

f

Minor allele frequencies

N

Total sample size (N0+N1)

s

Proportion of cases (N1/N0+N1)

Value

Variance of estimated effect size \hat{\beta}, V.

Author(s)

Chris Wallace

Examples


maf =  runif(100, 0.05, 0.5)
N0 = 5000 # number of controls
N1 = 5000 # number of cases

Var.data.cc(f = maf, N = N0 + N1, s = N1/(N0+N1))


[Package corrcoverage version 1.2.1 Index]