PanelVARResult.ma_representation#
- PanelVARResult.ma_representation(horizon=20)[source]#
Moving-average matrices
Psi_0, ..., Psi_horizon.Computed as
J C^h J'from the companion rather than by the recursionPsi_h = sum_i A_i Psi_{h-i}. The two agree to machine precision, and the companion form generalizes without change to any member of the family that can produce a companion matrix.- Parameters:
horizon (
int) – Largest lead to return.- Return type:
- Returns:
An array of shape
(horizon + 1, k, k)withPsi_0 = I.- Raises:
SpecificationError – If
horizonis negative.