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_Rhas the state noiseK ecorrelated with the observation noisee_R. Its steady-state Kalman predictor solves the DAREP = 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_RRandS = K Sigma_{:, R}; thenSigma_R = C_R P C_R^T + RandK_R = (A P C_R^T + S) Sigma_R^-1(Barnett and Seth 2015). It is solved withscipy.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 rowschannelsofobservation;channelsholds the indices in the original VAR model.- Return type:
- Raises:
ValueError – For an empty or repeated selection, or when the Riccati equation has no stabilising solution.