compute_LL_FC: Compute LL for EM FC Template ICA

View source: R/EM_FCtemplateICA.R

compute_LL_FCR Documentation

Compute LL for EM FC Template ICA

Description

Compute the expected log posterior for EM FC Template ICA

Usage

compute_LL_FC(
  post_sums,
  theta_new,
  prior_params,
  template_FC,
  ntime,
  nICs,
  nvox,
  BOLD,
  verbose = FALSE
)

Arguments

post_sums

Posterior sums from Gibbs_AS_posteriorCPP

theta_new

List with tau_sq, alpha, and G.

template_FC

FC template, for nu and psi

ntime, nICs, nvox

Number of timepoints, ICs, and voxels

BOLD

(V \times T matrix) preprocessed fMRI data

verbose

Print updates?

Value

The expected log posterior at the current values


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