getObjFunStarting: Retrieve GMWM starting value from Yannick's objective...

View source: R/RcppExports.R

getObjFunStartingR Documentation

Retrieve GMWM starting value from Yannick's objective function

Description

Obtains the GMWM starting value given by Yannick's objective function optimization

Usage

getObjFunStarting(theta, desc, objdesc, model_type, wv_empir, tau)

Arguments

theta

A vec with dimensions N x 1 that contains user-supplied initial values for parameters

desc

A vector<string> indicating the models that should be considered.

objdesc

A field<vec> containing a list of parameters (e.g. AR(1) = c(1,1), ARMA(p,q) = c(p,q,1))

model_type

A string containing the model type. Either 'imu' or 'ssm'

wv_empir

A vec containing the empirical wavelet variance.

tau

A vec that contains the scales of 2^(1:J), where J is the number of scales created by the decomposition.

Value

A double that is the value of the Objective function under Yannick's starting algorithm


SMAC-Group/simts documentation built on Sept. 4, 2023, 5:25 a.m.