linear.mles.lin.envir.interaction: Function to calculate the standard deviation of y given x for...

Description Usage Arguments Value Examples

View source: R/linear_outcome_linear_envir_interaction_mle_function.R

Description

Returns the standard deviation of y given x for linear models with linear environment interaction

Usage

1
2
3
4
5
6
7
8
9
linear.mles.lin.envir.interaction(
  MAF,
  beta0,
  ES_G,
  ES_E,
  ES_GE,
  Test.Model,
  True.Model
)

Arguments

MAF

Minor allele Frequency

beta0

baseline value for the outcome

ES_G

Genetic Effect size

ES_E

Environment Effect size

ES_GE

Environment x Genetic interaction Effect size

Test.Model

Test Model

True.Model

True Model

Value

The standard deviation of y given x for linear models with linear environment interaction

Examples

1
2
linear.mles.lin.envir.interaction(MAF = 0.28, ES_G = 0.5, beta0 = -0.28,
	ES_E = 1.6, ES_GE = 1.4, Test.Model = "Dominant", True.Model = "Additive")

genpwr documentation built on March 31, 2021, 1:06 a.m.