in_sample_elpd_loo: Estimate delta elpd for pairs of models

Description Usage Arguments Value

View source: R/in_sample_elpd_loo.R

Description

Estimate delta elpd for pairs of models

Usage

1
in_sample_elpd_loo(X, fits, variants, nsamps = 1000)

Arguments

X

Data

fits

List of models of class cause_post.

variants

Optional vector of SNPs to use for ELPD calculation

nsamps

Number of samples to take from the posterior

Value

A data frame with one row per pair of models giving the estimated difference in elpds and standard error of that difference. If delta_elpd is negative this is in favor of model 2 in the table. A positive delta_elpd is in favor of model 1.


jean997/cause documentation built on Dec. 25, 2021, 10 p.m.