Open RossDeVito opened 6 days ago
In the paper and implementation you add noise to the genetic component of the phenotype to reach a desired heritability using:
g' = h * g + sqrt(1-h^2) N(0, 1), where h = heritability
There may have been confusion due to heritability typically being written as h^2, but the correct equation should be:
g' = sqrt(h^2) * g + sqrt(1-h^2) N(0, 1), where h^2 = heritability
or
g' = sqrt(h) * g + sqrt(1-h) N(0, 1), where h = heritability
I have a branch that fixes this, but it doesn't seem like I have permission to push
Here is the fix: https://github.com/NVIDIA-Genomics-Research/GEPSi/commit/13315fa84db854daaf455fd824eb5e3e477ddfe3
In the paper and implementation you add noise to the genetic component of the phenotype to reach a desired heritability using:
There may have been confusion due to heritability typically being written as h^2, but the correct equation should be:
or