#NEWLINE# def irf( self , periods = 10 , var_order = None ) : #NEWLINE# #INDENT# '\n        Analyze structural impulse responses to shocks in system\n\n        Parameters\n        ----------\n        periods : int\n\n        Returns\n        -------\n        irf : IRAnalysis\n        ' #NEWLINE# A = self . A #NEWLINE# B = self . B #NEWLINE# P = np . dot ( npl . inv ( A ) , B ) #NEWLINE# return IRAnalysis ( self , P = P , periods = periods , svar = True )