Learn R Programming

AllelicSeries (version 0.1.1.5)

CalcRegParam: Calculate Regression Parameters

Description

Calculate phenotypic regression coefficients and the residual variation based on proportion of variation explained (PVE) by each factor.

Usage

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

Value

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

Arguments

pve_age

PVE by age.

pve_pcs

PVE by PCs (collectively).

pve_sex

PVE by sex.