VB_bms: Bayesian model selection for group studies

Description Usage Arguments Value

View source: R/VB_bms.R

Description

This function is translated from spm_BMS.m function, of SPM12, https://github.com/neurodebian/spm12/blob/master/spm_BMS.m

Usage

1
VB_bms(m, n_samples = 1e+06)

Arguments

m

N by K (N subjects by K models) matrix of log-model evidence.

n_samples

Number of samples used in the simulation used for calculating exceedance probabilities.

Value

a list with the posterior estimates of the Dirichlet parameters (alpha), the expected model frequencies (r), the exceedance probabilities (xp), the Bayesian Omnibus Risk (bor), and the protected exceedance probabilities (pxp).


mattelisi/bmsR documentation built on March 9, 2020, 2:55 p.m.