Sib-pair Command: adjust


ClassAnalysis and data manipulation command
Nameadjust
Arguments <ytrait> on <xtrait> [to <adjustment value of xtrait|m|f>]

Performs linear regression of quantitative trait ytrait on quantitative or binary trait xtrait (or sex, if sex is set to on), calculates residuals, and adds adjustment value or, if not specified, the mean value of xtrait. The residuals then replace the original values of ytrait. A multiple regressive adjustment of Y on X1 and X2 requires sequential adjustment of Y on X2,X1 on X2, and then Y on the adjusted X1.

This command is superceded by the residuals command (but could come back).

Example:

adjust fev1 on height


<< (standardize)Up to index>> (residuals)