Scan multi-output function with state variable a subset of outputs

If the xs are exogenous variables of length T (the length of the scan), you can pass them in via the sequences argument. The state will be passed in via the outputs_info argument. See here for everything you ever wanted to know about scan.

1 Like