<s> """<STR_LIT>""" <EOL> from __future__ import print_function <EOL> import numpy as np <EOL> import statsmodels . sandbox . stats . diagnostic as dia <EOL> canada_raw = '''<STR_LIT>''' <EOL> canada = np . array ( canada_raw . split ( ) , float ) . reshape ( - <NUM_LIT:1> , <NUM_LIT:4> ) <EOL> k = <NUM_LIT:2> ; <EOL> resarch2 = dia . acorr_lm ( ( canada [ : , k ] - canada [ : , k ] . mean ( ) ) ** <NUM_LIT:2> , maxlag = <NUM_LIT:2> , autolag = None , store = <NUM_LIT:1> ) <EOL> print ( resarch2 ) <EOL> resarch5 = dia . acorr_lm ( canada [ : , k ] ** <NUM_LIT:2> , maxlag = <NUM_LIT:12> , autolag = None , store = <NUM_LIT:1> ) <EOL> ss = '''<STR_LIT>''' <EOL> resarch = resarch5 <EOL> print ( ) <EOL> print ( ss % dict ( chi = resarch [ <NUM_LIT:2> ] , df = resarch [ - <NUM_LIT:1> ] . resols . df_model , pval = resarch [ <NUM_LIT:3> ] ) ) <EOL> '''<STR_LIT>''' <EOL> '''<STR_LIT>''' <EOL> '''<STR_LIT>''' <EOL> '''<STR_LIT>''' <EOL> '''<STR_LIT>''' <EOL> '''<STR_LIT>''' </s>
