linear.outcome.lin.envir.interaction.sds: 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
10
11
linear.outcome.lin.envir.interaction.sds(
  MAF,
  sd_e,
  beta0,
  ES_G,
  ES_E,
  ES_GE,
  mod,
  True.Model,
  sd_y
)

Arguments

MAF

Minor allele Frequency

sd_e

Standard deviation of linear environmental factor

beta0

baseline value for the outcome

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

Value

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

Examples

1
2
3
linear.outcome.lin.envir.interaction.sds(MAF = 0.28, beta0 = -0.28, 
	sd_y = 5, sd_e = 1, ES_G = 0.5, ES_E = 1.6, ES_GE = 1.4, 
	mod = "Dominant", True.Model = "Additive")

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