CalcRegParam {AllelicSeries}R Documentation

Calculate Regression Parameters

Description

Calculate phenotypic regression coefficients and the residual variation based on proportion of variation explained (PVE) by each factor. Note that the proportion of variation explained by genotype is required, but genetic effects are not generated here.

Usage

CalcRegParam(pve_age = 0.1, pve_pcs = 0.2, pve_sex = 0.1)

Arguments

pve_age

PVE by age.

pve_pcs

PVE by PCs (collectively).

pve_sex

PVE by sex.

Value

List containing the (5 x 1) regression coefficient vector "coef" and the residual standard deviation "sd".


[Package AllelicSeries version 0.0.4.1 Index]