#NEWLINE# def test_lags( self ) : #NEWLINE# #INDENT# ( kpss_stat , pval , lags , crits ) = kpss ( self . x , 'c' ) #NEWLINE# assert_equal ( kpss_stat , int ( np . ceil ( ( 12.0 * np . power ( ( len ( self . x ) / 100.0 ) , ( 1 / 4.0 ) ) ) ) ) )