Learn R Programming

BayesBrainMap (version 0.1.3)

UpdateThetaSQUAREM_BrainMap: Update theta SQUAREM

Description

Helper function for SQUAREM for estimating parameters

Usage

UpdateThetaSQUAREM_BrainMap(
  theta_vec,
  prior_mean,
  prior_var,
  meshes,
  BOLD,
  C_diag,
  H,
  Hinv,
  s0_vec,
  D,
  Dinv_s0,
  update_nu0sq,
  verbose
)

Value

Vector of updated parameter values

Arguments

theta_vec

Vector of initial parameter values

prior_mean

Passed to UpdateTheta_BrainMap function

prior_var

Passed to UpdateTheta_BrainMap function

meshes

Passed to UpdateTheta_BrainMap function

BOLD

Passed to UpdateTheta_BrainMap function

C_diag

Passed to UpdateTheta_BrainMap function

s0_vec

Passed to UpdateTheta_BrainMap function

D

Passed to UpdateTheta_BrainMap function

Dinv_s0

Passed to UpdateTheta_BrainMap function

update_nu0sq

For non-spatial model: updating nu0sq is recommended if dimension reduction was not performed, and is not recommended if it was.

verbose

Passed to UpdateTheta_BrainMap function