polystep_gradient function

Gradient of step function specification for MIDAS weights

Gradient of step function specification for MIDAS weights

polystep_gradient(p, d, m, a)

Arguments

  • p: vector of parameters
  • d: number of coefficients
  • m: the frequency ratio, currently ignored
  • a: vector of increasing positive integers indicating the steps

Returns

vector of coefficients

Author(s)

Vaidotas Zemlys

  • Maintainer: Vaidotas Zemlys-Balevičius
  • License: GPL-2 | MIT + file LICENCE
  • Last published: 2021-02-23