VECMXResult.irf#

VECMXResult.irf(horizon=20, *, orthogonalized=True, cumulative=False)[source]#

Unavailable: propagation needs a law of motion for the exogenous block.

Parameters:
  • horizon (int) – Ignored.

  • orthogonalized (bool) – Ignored.

  • cumulative (bool) – Ignored.

Raises:

SpecificationError – Always.

Return type:

NDArray[double]

Example

>>> import numpy as np
>>> rng = np.random.default_rng(0)
>>> x = np.cumsum(rng.standard_normal((200, 1)), axis=0)
>>> res = VECMX(x + rng.standard_normal((200, 1)), x, order=1, rank=1).fit()
>>> res.irf(4)
Traceback (most recent call last):
cultivars.exceptions.SpecificationError: ... so an impulse response is not defined ...