estim_herit:
Estimation of heritability in linear mixed models
Description
The function computes heritability when the random effects follow either a Gaussian distribution or a mixture of a Dirac and a Gaussian distribution.
It also provides a confidence interval of heritability when the random effects are Gaussian.
Usage
estim_herit(Y,W)
Arguments
Y
vector of observations of size n
W
matrix with n rows and N columns
Value
heritability
Heritability
CI_low
Lower bound of the confidence interval
CI_up
Upper bound of the confidence interval
standard_deviation
Standard deviation
References
The method is developped in the paper "Heritability estimation in high dimensional linear mixed models" (A.Bonnet,E.Gassiat,C.L??vy-Leduc,2014)