MIDASVAR._seeds#
- MIDASVAR._seeds()[source]#
Starting points: flat weights, gentle decay, and steep decay.
- Return type:
- Returns:
Three
(2 * m,)vectors withtheta_1 = 0for every series andtheta_2in(0.0, -0.05, -0.5).
Example
>>> import numpy as np >>> rng = np.random.default_rng(0) >>> x, y = rng.standard_normal((60, 2)), rng.standard_normal((20, 2)) >>> [seed.tolist() for seed in MIDASVAR(y, x, order=1, period=3)._seeds()] [[0.0, 0.0, 0.0, 0.0], [0.0, -0.05, 0.0, -0.05], [0.0, -0.5, 0.0, -0.5]]