EM_FCtemplateICA {templateICAr} | R Documentation |
EM Algorithm for FC Template ICA Model
Description
EM Algorithm for FC Template ICA Model
Usage
EM_FCtemplateICA(
template_mean,
template_var,
template_FC,
prior_params = c(0.001, 0.001),
BOLD,
AS_0,
maxiter = 100,
epsilon = 0.01,
verbose
)
Arguments
template_mean |
( |
template_var |
( |
template_FC |
(list) Parameters of functional connectivity template |
prior_params |
Alpha and beta parameters of IG prior on tau^2 (error variance) |
BOLD |
( |
AS_0 |
(list) initial guess at latent variables: A ( |
maxiter |
Maximum number of EM iterations. Default: 100. |
epsilon |
Smallest proportion change in parameter estimates between iterations. Default: 0.01. |
verbose |
If |
Details
EM_FCtemplateICA
implements the expectation-maximization
(EM) algorithm for the functional connectivity (FC) template ICA model
Value
A list:
theta (list of final parameter estimates),
subICmean (estimates of subject-level ICs),
subICvar (variance of subject-level ICs),
mixing_mean (estimates of subject-level mixing matrix),
mixing_var (variance of subject-level mixing matrix),
success (flag indicating convergence (TRUE
) or not (FALSE
))