post_mat_sd: Compute posterior standard deviation under mixture normal...

post_mat_sdR Documentation

Compute posterior standard deviation under mixture normal prior

Description

Compute posterior standard deviation under mixture normal prior

Usage

post_mat_sd(G_prior, Bhat, Shat, lBF, lowc_wc, indx_lst, e, ...)

## S3 method for class 'mixture_normal'
post_mat_sd(G_prior, Bhat, Shat, lBF = NULL, lowc_wc, indx_lst, e = 0.001, ...)

## S3 method for class 'mixture_normal_per_scale'
post_mat_sd(G_prior, Bhat, Shat, lBF = NULL, lowc_wc, indx_lst, e = 0.001, ...)

Arguments

G_prior

mixture normal prior

Bhat

matrix pxJ regression coefficient, Bhat[j,t] corresponds to regression coefficient of Y[,t] on X[,j]

Shat

matrix pxJ standard error, Shat[j,t] corresponds to standard error of the regression coefficient of Y[,t] on X[,j]

lBF

log BF

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

e

threshold value to avoid computing posterior that have low alpha value

...

Other arguments.

Value

pxJ matrix of posterior standard deviation


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