estim_herit: Estimation of heritability in linear mixed models

Description Usage Arguments Value Author(s) References Examples

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

1

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

Author(s)

Anna Bonnet

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)

Examples

1
2
3
4
5
6
7
library(HiLMM)
data(Y)
data(W)
estim_herit(Y,W)$heritability 
estim_herit(Y,W)$CI_low
estim_herit(Y,W)$CI_up
estim_herit(Y,W)$standard_deviation

HiLMM documentation built on May 2, 2019, 6:59 a.m.