Class | Analysis and data manipulation command |
Name | standardize |
Arguments | <trait> [familywise] |
Replace each trait value with its Z-score, ie (x-xbar)/sd, where xbar is the total sample mean, and sd the total sample standard deviation. This can also be performed using the individual's family mean and standard deviation, if the fam keyword is included.
Example:
>> inc williamsex.in >> mean adjChol Variable Mean Stand Dev Correlations ---------- ------------ ------------ --------------------- adjChol 187.0217 118.7763 1.00 Number of variables = 1 No. usable observations = 46 ( 76.7%) >> sta adjChol Standardizing "adjChol" to mean=0, variance=1. >> mean adjChol Variable Mean Stand Dev Correlations ---------- ------------ ------------ --------------------- adjChol -0.0000 1.0000 1.00 Number of variables = 1 No. usable observations = 46 ( 76.7%)
<< (date) | Up to index | >> (adjust) |