powered by
Wrapper around the Gibbs Sampler that returns formatted liability estimates for the proband
Gibbs_estimator(cov, tbl, out, tol = 0.01, burn_in = 1000)
Formatted liability estimate(s) and standard error(s) of the mean for the proband.
Covariance (kinship matrix times heritability with corrected diagonal) matrix
Tibble with lower and upper bounds for the Gibbs sampler
Vector indicating if genetic ans/or full liabilities should be estimated
Convergence criteria, tolerance
Number of burn-in iterations
# uninformative sampling: Gibbs_estimator(cov = diag(3), tbl = tibble::tibble(lower = rep(-Inf, 3), upper = rep(Inf, 3)), out = 1:2, tol = 0.01, burn_in = 1000)
Run the code above in your browser using DataLab