Class | Analysis and data manipulation command |
Name | adjust |
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 X_{1} and X_{2} requires sequential adjustment of Y on X_{2},X_{1} on X_{2}, and then Y on the adjusted X_{1}.
This command is superceded by the residuals command (but could come back).
Example:
adjust fev1 on height
<< (standardize) | Up to index | >> (residuals) |