#NEWLINE# def test_ld( self ) : #NEWLINE# #INDENT# pacfyw = pacf_yw ( self . x , nlags = 40 , method = 'mle' ) #NEWLINE# pacfld = pacf ( self . x , nlags = 40 , method = 'ldb' ) #NEWLINE# assert_almost_equal ( pacfyw , pacfld , DECIMAL_8 ) #NEWLINE# pacfyw = pacf ( self . x , nlags = 40 , method = 'yw' ) #NEWLINE# pacfld = pacf ( pacfld . x , nlags = 40 , method = 'ldu' ) #NEWLINE# assert_almost_equal ( pacfyw , pacfld , DECIMAL_8 )