statsmodels.tsa.vector_ar.var_model.VARResults.irf¶ VARResults.irf(periods=10, var_decomp=None, var_order=None)[source]¶ Analyze impulse responses to shocks in system Parameters: periodsint var_decompndarray (k x k), lower triangularMust satisfy Omega = P P’, where P is the passed matrix. Defaults to Cholesky decomposition of Omega var_ordersequenceAlternate variable order for Cholesky decomposition Returns: irfIRAnalysis