dirconn.methods.statespace.reduced_model#

dirconn.methods.statespace.reduced_model(model: InnovationsForm, channels: Sequence[int]) → InnovationsForm#

Return the innovations form of a subset of the observed channels of model.

The subprocess y_R = C_R z + e_R has the state noise K e correlated with the observation noise e_R. Its steady-state Kalman predictor solves the DARE

P = A P A^T + Q - (A P C_R^T + S)(C_R P C_R^T + R)^-1 (A P C_R^T + S)^T

with Q = K Sigma K^T, R = Sigma_RR and S = K Sigma_{:, R}; then Sigma_R = C_R P C_R^T + R and K_R = (A P C_R^T + S) Sigma_R^-1 (Barnett and Seth 2015). It is solved with scipy.linalg.solve_discrete_are().

Parameters:
  • model (InnovationsForm) – A stable innovations form, for example from var_to_state_space().

  • channels (sequence of int) – Positions among model’s observed channels to keep, in the order wanted.

Returns:

Same transition, the rows channels of observation; channels holds the indices in the original VAR model.

Return type:

InnovationsForm

Raises:

ValueError – For an empty or repeated selection, or when the Riccati equation has no stabilising solution.