MIDASVARResult.irf#
- MIDASVARResult.irf(horizon=20, *, orthogonalized=True, cumulative=False)[source]#
Impulse responses to a one-standard-deviation shock.
- Parameters:
horizon (
int) – Largest lead to return.orthogonalized (
bool) – WhenTrue, post-multiply by the Cholesky factor ofsigma_uso the shocks are mutually uncorrelated. This is a structural assumption, not a reduced-form fact. The Cholesky factor is lower-triangular, so it imposes a recursive ordering: the first variable innamesresponds to no shock but its own on impact, the second to the first and its own, and so on. Permutingnameschanges the answer. An orthogonalized impulse response reported from a reduced-form VAR is a recursive SVAR whose identifying restriction happens to be undeclared;cultivars.var.structuralis where that restriction gets stated rather than assumed. WithFalseyou get the rawPsi_h, whose columns are responses to correlated innovations and are therefore not interpretable one at a time.cumulative (
bool) – Return running sums, which is what you want when the data are differences and the question is about levels.
- Return type:
- Returns:
An array of shape
(horizon + 1, k, k); entry[h, i, j]is the response of variableiat leadhto shockj.