Learn R Programming

genpwr (version 1.0.1)

linear.mles.lin.envir.interaction_reduced: Function to calculate the standard deviation of y given x for linear models with linear environment interaction for the reduced model without GxE interaction

Description

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

Usage

linear.mles.lin.envir.interaction_reduced(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

Run this code
# NOT RUN {
linear.mles.lin.envir.interaction_reduced(MAF = 0.28, ES_G = 0.5, beta0 = -0.28,
	ES_E = 1.6, ES_GE = 1.4, Test.Model = "Dominant", True.Model = "Additive")

# }

Run the code above in your browser using DataLab