Dicker.2013: Dicker 2013

Description Usage Arguments Value

View source: R/total.effect.estimation.R

Description

This Dicker.2013 function estimate the total effect based on a paper Variance estimation in high-dimensional linear models

Usage

1
Dicker.2013(x, y, target = c("beta2", "r2")[1])

Arguments

x

A numeric vector

y

A numeric vector

target

A character value. beta2 is for the total effect and r2 is for the the proportion of the variance explained x.

Value

A vector. If target = r2,

  1. 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

  2. r2.var: Estimated variance based on a aysmptotic normal distribution

If target = beta2,

  1. beta2: Estimated total effect

  2. beta2.var: Estimated variance of the total effect based on a aysmptotic normal distribution


wal615/prime.total.effect documentation built on April 29, 2020, 2:05 p.m.