update_tau2: Update tau for VB FC Template ICA

View source: R/VB_FCtemplateICA.R

update_tau2R Documentation

Update tau for VB FC Template ICA

Description

Update tau for VB FC Template ICA

Usage

update_tau2(BOLD, BOLD2, mu_A, E_AtA, mu_S, E_SSt, prior_params, ntime, nvox)

Arguments

BOLD

(T \times V matrix) preprocessed fMRI data.

BOLD2

A precomputed quantity, sum(BOLD^2)

mu_A, E_AtA, mu_S, E_SSt

Current posterior estimates

prior_params

Alpha and beta parameters of IG prior on \tau^2 (error variance).

ntime, nvox

Number of timepoints in data and the number of data locations.

Value

List of length two: alpha1 and beta1.


templateICAr documentation built on Oct. 14, 2024, 5:08 p.m.