Create table of weights, lags and starting values for Ghysels weight schema
Create table of weights, lags and starting values for Ghysels weight schema, see amweights
expand_amidas(weight, type = c("A", "B", "C"), from = 0, to, m, start)
weight
: the names of weight functionstype
: the type of Ghysels schema, "A"
, "B"
or "C"
from
: the high frequency lags from which to start the fittingto
: to a vector of length two, containing minimum and maximum lags, high frequency if m=1
, low frequency otherwise.m
: the frequency ratiostart
: the starting values for the weights of the one low frequency laga lws_table
object, a list with elements weights
, lags
and starts
Given weight function creates lags starting from kmin
to kmax
and replicates starting values for each low frequency lag.
expand_amidas("nealmon","A",0,c(1,2),12,c(0,0,0))
Virmantas Kvedaras, Vaidotas Zemlys