makeConditionY
makeConditionY
makeConditionY Create a transmission condition from a Boolean string using dyanmic form variables.
q = makeConditionY(strY, order) constructs a transmission condition \(Q(b)\) from a Boolean statement specified in terms of dynamic system variables (i.e., y_{i,t} notation).
Arguments
strY(string): A Boolean condition string where variables are represented asy_{i,t}, withias the variable index andt >= 0as the time period.t=0corresponds to the contemporaneous horizon.order(vector of integers): The variable ordering defined by the transmission matrix.
Returns
q(Q): A transmission condition object.
Example
Notes
- Boolean conditions can include AND (&), NOT (! or ~), OR (|), and parentheses.
- The resulting transmission condition can be used in
transmissionto calculate the transmission effect.
See also transmission, makeCondition