linear.sds {genpwr} | R Documentation |
Functions to Calculate Residual SD for Normal/Continuous Outcomes Function to calculate the standard deviation of y given x for linear models
Description
Functions to Calculate Residual SD for Normal/Continuous Outcomes Function to calculate the standard deviation of y given x for linear models
Usage
linear.sds(m, es_ab, es_bb, sd_y, model)
Arguments
m |
minor allele frequency |
es_ab |
effect size for mean AB - mean AA |
es_bb |
effect size for mean BB - mean AA |
sd_y |
the standard deviation of y in the overall population. |
model |
The assumed genetic model(s) used in testing: 'Dominant', 'Additive', 'Recessive', '2df' |
Value
A vector of linear regression model coefficients.
Examples
linear.sds(m = 0.1, es_ab = 0, es_bb = 3, sd_y = 1, model = "Dominant")
[Package genpwr version 1.0.4 Index]