Sib-pair Command: get


ClassAnalysis and data manipulation command
Nameget
Arguments <relationship> <statistic> <trait> [<newtrait>]

Summarizes trait values of all relatives of the specified class of all individuals, saving the result to a trait locus if requested. The sample option samples with replacement unless the all option is used, when the sampling is without replacement. Statistics for siblings include ego ie give sibship mean etc, but sampling for siblings excludes ego.

The possible relationships are:

all
offspring | children sons daughters
parents father mother
spouse husband wife
siblings brothers sisters

The possible summary statistics are:

mean
minimum
maximum
sum
count
sample

Example:

>>  inc williamsex.in
# Midparent values
>> get par mean adjChol 

<< (delete)Up to index>> (recode)