linear.outcome.log.envir.interaction.sds {genpwr}R Documentation

Function to calculate the standard deviation of y given x for linear models with logistic environment interaction

Description

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

Usage

linear.outcome.log.envir.interaction.sds(
  MAF,
  P_e,
  ES_G,
  ES_E,
  ES_GE,
  mod,
  True.Model,
  sd_y,
  reduced = F
)

Arguments

MAF

Minor allele Frequency

P_e

Population prevalence of logistic environmental factor

ES_G

Genetic Effect size

ES_E

Environment Effect size

ES_GE

Environment x Genetic interaction Effect size

mod

Test model

True.Model

True model

sd_y

Standard deviation of y

reduced

logical, indicates whether the X matrix will be used for a reduced model

Value

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

Examples

linear.outcome.log.envir.interaction.sds(MAF = 0.1, P_e = 0.2, sd_y = 10,
	ES_G = 1.2, ES_E = 1.3, ES_GE = 2, mod = "Dominant", True.Model = "Additive")


[Package genpwr version 1.0.4 Index]