effective_n: Estimate the effective sample size in a case control study

View source: R/add_rsq.r

effective_nR Documentation

Estimate the effective sample size in a case control study

Description

Taken from https://www.nature.com/articles/nprot.2014.071

Usage

effective_n(ncase, ncontrol)

Arguments

ncase

Vector of number of cases

ncontrol

Vector of number of controls

Value

Vector of effective sample size


MRCIEU/TwoSampleMR documentation built on Jan. 21, 2025, 4:49 a.m.