Hi,
I was wondering if someone could help me to learn how does plink calculate some values for the --genome IBD relations.
FID1 IID1 FID2 IID2 RT EZ Z0 Z1 Z2 PI_HAT PHE DST PPC RATIO
0001 0001 0002 0002 UN NA 0.8157 0.0180 0.1663 0.1753 -1 0.867248 0.3245 1.9714
This is a header and one example of a result of --genome in a relatedness.genome file.
I notice that PI_HAT, that is the "Proportion IBD" is calculated as: P(IBD=2) + 0.5*P(IBD=1), then it would be 0.1663 + 0.5*0.0180 that results on 0.1753.
Since, Z0 P(IBD=0), Z1 P(IBD=1) and Z2 P(IBD=2), my question is, how this values are calculated, and what does IBD=0 means?
Thanks!