get.critical.results.G: Provides a summary of the main results

Description Usage Arguments Value Author(s)

Description

Gets the number of cases and controls or subjects and the empirical and theoretical power under each model and prints a summary on the screen.

Usage

1
2
3
get.critical.results.G(scenario = 1, pheno.model = 0, geno.model = 1,
  sample.sizes.required = NULL, empirical.power = 0.8,
  modelled.power = 0.8, mean.beta = NULL)

Arguments

scenario

scenario number.

pheno.model

outcome type; binary=0 and quantitative=1.

geno.model

genetic model; binary=0 and additive=1.

sample.sizes.required

number of cases and controls or number of subjects required to achieve the desired power.

empirical.power

estimated empirical power.

modelled.power

calculated theoretical power.

mean.beta

mean beta value of each of the determinants.

Value

a list that contains the sample size required to achieve the desired power and the

Author(s)

Gaye A.


agaye/ESPRESSO.G documentation built on May 10, 2019, 7:31 a.m.