coeff.beta.k: Ratio of expected value to variance of estimator

Description Usage Arguments Value

View source: R/powercalc.R

Description

The ratio of expected value to standard deviation is calculated for the estimator of a selected regression coefficient.

Usage

1
coeff.beta.k(k, beta.true, lambda, eigendec, n, weights = 1)

Arguments

k

index of selected regression coefficient

beta.true

(LEN p) vector of regression coefficients

lambda

shrinkage parameter

eigendec

eigenvalue decomposition of (p x p) correlation matrix R

n

sample size

weights

vector (LEN p) of SNP-specific weights or scalar if weights are equal for all SNPs; default value 1

Value

ratio


hscovar documentation built on April 13, 2021, 9:06 a.m.