Learn R Programming

gmwmx2 (version 0.0.5)

get_theoretical_wv: Theoretical wavelet variance from model parameters

Description

Computes the theoretical WV implied by a model and parameter vector.

Usage

get_theoretical_wv(
  theta,
  model,
  n,
  wv_obj = NULL,
  tau = NULL,
  prep = NULL,
  return_components = FALSE
)

Value

Numeric vector of theoretical wavelet variances.

Arguments

theta

Real-valued parameter vector (unconstrained).

model

A time_series_model or sum_model.

n

Length of autocovariance to compute.

wv_obj

Optional wv::wvar object (uses its scales).

tau

Optional vector of scales; overrides wv_obj if provided.

prep

Optional output from prepare_optim_layout for sum models.