optimiser: Iterative Call for optim

Description Usage Arguments Value See Also

View source: R/estimation_utils.R

Description

Iterative Call for optim

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
optimiser(
  control_datamatrix,
  diagnosed_datamatrix,
  alpha0,
  theta0,
  weight_matrix,
  dim_alpha,
  LinkFunc,
  model_reg_config,
  matrix_reg_config,
  iter_config,
  optim_config,
  early_stop,
  verbose
)

Arguments

control_datamatrix

data matrix of control subjects

diagnosed_datamatrix

data matrix of diagnosed subjects

alpha0

starting point for alpha

theta0

starting point for theta

weight_matrix

the weighting matrix to be used in the mahalonobis sum of squares

dim_alpha

dimension of alpha

LinkFunc

LinkFuncSkeleton

model_reg_config

see configurations

matrix_reg_config

see configurations

iter_config

see configurations

optim_config

see configurations

early_stop

if true, stop the optimization of the joint loss function (of theta and alpha) didn't decrease in the last iteration.

verbose

if true, print status to console

Value

see estimate_model

See Also

estimate_model


itamarfaran/corrpops documentation built on Dec. 20, 2021, 8:02 p.m.