UpdateTheta_templateICA {templateICAr} | R Documentation |
Parameter Estimates in EM Algorithm for Template ICA Model
Description
Parameter Estimates in EM Algorithm for Template ICA Model
Usage
UpdateTheta_templateICA.spatial(
template_mean,
template_var,
meshes,
BOLD,
theta,
C_diag,
s0_vec,
D,
Dinv_s0,
verbose = FALSE,
return_MAP = FALSE,
update = c("all", "kappa", "A")
)
UpdateTheta_templateICA.independent(
template_mean,
template_var,
BOLD,
theta,
C_diag,
verbose
)
Arguments
template_mean |
( |
template_var |
( |
meshes |
|
BOLD |
( |
theta |
(list) current parameter estimates |
C_diag |
|
s0_vec |
Vectorized template means |
D |
Sparse diagonal matrix of template standard deviations |
Dinv_s0 |
The inverse of D times s0_vec |
verbose |
If |
return_MAP |
If |
update |
Which parameters to update. Either |
Value
An updated list of parameter estimates, theta, OR if return_MAP=TRUE, the posterior mean and precision of the latent fields