transmissionBOmega
transmissionBOmega
transmissionBOmega
Compute the transmission effect using the BOmega
method.
effects = transmissionBOmega(from, B, Omega, varAnd, varNot, multiplier)
calculates the transmission effect based on the systems form \(x = Bx + \Omega\varepsilon\).
Arguments
from
(integer): Index of the shock.B
(matrix): See the systems form.Omega
(matrix): See the systems form.varAnd
(cell array of vectors): Each cell contains a vector of variable indices that must be included (AND conditions). Can be obtained usinggetVarNumsAndMultiplier
.varNot
(cell array of vectors): Each cell contains a vector of variable indices that must be excluded (NOT conditions). Can be obtained usinggetVarNumsAndMultiplier
.multiplier
(vector of numbers): Multipliers associated with each term. Can be obtained usinggetVarNumsAndMultiplier
.
Returns
effects
(vector): A vector where entryi
corresponds to the transmission effect on variablex_i
.
Example
WARNING
Internal function. Should not be called by users directly.
See also transmission
, applyAndToB
, applyNotToB
, getVarNumsAndMultiplier