calculateQAndOnly
calculateQAndOnly
calculateQAndOnly
Compute the transmission effect of a condition with only ANDs.
result = calculateQAndOnly(from, irfs, irfsOrtho, vars, multiplier)
calculates the transmission effect of a transmission condition/query that involves only AND operations.
Arguments
from
(integer): Index of the shock.irfs
(matrix): IRFs in transmission form. See alsotoTransmissionIrfs
.irfsOrtho
(matrix): Orthogonalized / Cholesky IRFs in transmission form. See alsotoTransmissionIrfs
.vars
(vector of integers): Indices of variables involved in the condition.multiplier
(number): Multiplier.
Returns
result
(vector): A vector where entryi
corresponds to the transmission effect on variablex_i
.
Notes
- This function is intended for internal use only.
See also toTransmissionIrfs