Description Usage Arguments Value
View source: R/total.effect.estimation.R
This Dicker.2013 function estimate the total effect based on a paper Variance estimation in high-dimensional linear models
1 | Dicker.2013(x, y, target = c("beta2", "r2")[1])
|
x |
A numeric vector |
y |
A numeric vector |
target |
A character value. |
A vector.
If target
= r2
,
r2
: Estimated the proportion of the variance explained x, which is the proportion of the variance in a health outcome that is predictable from the environmental mixtures
r2.var
: Estimated variance based on a aysmptotic normal distribution
If target
= beta2
,
beta2
: Estimated total effect
beta2.var
: Estimated variance of the total effect based on a aysmptotic normal distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.