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 using- getVarNumsAndMultiplier.
- varNot(cell array of vectors): Each cell contains a vector of variable indices that must be excluded (NOT conditions). Can be obtained using- getVarNumsAndMultiplier.
- multiplier(vector of numbers): Multipliers associated with each term. Can be obtained using- getVarNumsAndMultiplier.
Returns
- effects(vector): A vector where entry- icorresponds to the transmission effect on variable- x_i.
Example
WARNING
Internal function. Should not be called by users directly.
See also transmission, applyAndToB, applyNotToB, getVarNumsAndMultiplier