log_BF: Compute Log-Bayes Factor

log_BFR Documentation

Compute Log-Bayes Factor

Description

Compute Log-Bayes Factor

Usage

log_BF(G_prior, Bhat, Shat, lowc_wc, indx_lst, df = NULL, ...)

## S3 method for class 'mixture_normal'
log_BF(G_prior, Bhat, Shat, lowc_wc, indx_lst, df = NULL, ...)

## S3 method for class 'mixture_normal_per_scale'
log_BF(G_prior, Bhat, Shat, lowc_wc, indx_lst, df = NULL, ...)

Arguments

G_prior

Mixture normal prior.

Bhat

p x J matrix of regression coefficients; Bhat[j,t] gives regression coefficient of Y[,t] on X[,j].

Shat

p x J matrix of standard errors; Shat[j,t] gives standard error of the regression coefficient of Y[,t] on X[,j].

lowc_wc

wavelet coefficient with low count to be discarded

indx_lst

list generated by gen_wavelet_indx for the given level of resolution, used only with class mixture_normal_per_scale

df

degree of freedom, if set to NULL use normal distribution

...

Other arguments.

Value

The log-Bayes factor for each covariate.


stephenslab/susiF.alpha documentation built on March 1, 2025, 4:28 p.m.