LL_SQUAREM: Log-likelihood SQUAREM

View source: R/EM_templateICA.R

LL_SQUAREMR Documentation

Log-likelihood SQUAREM

Description

Helper function for SQUAREM for extracting log likelihood

Usage

LL_SQUAREM(
  theta_vec,
  template_mean,
  template_var,
  meshes,
  BOLD,
  C_diag,
  s0_vec,
  D,
  Dinv_s0,
  verbose
)

Arguments

theta_vec

Vector of current parameter values

template_mean

Not used, but squarem will return error without

template_var

Not used, but squarem will return error without

meshes

Not used, but squarem will return error without

BOLD

Not used, but squarem will return error without

C_diag

Not used, but squarem will return error without

s0_vec

Not used, but squarem will return error without

D

Not used, but squarem will return error without

Dinv_s0

Not used, but squarem will return error without

verbose

Not used, but squarem will return error without

Value

Negative log-likelihood given current values of parameters


templateICAr documentation built on Feb. 16, 2023, 8:14 p.m.