Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getObjFunStarting

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


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.