#NEWLINE# def _coef_table( self ) : #NEWLINE# #INDENT# model = self . model #NEWLINE# k = model . neqs #NEWLINE# Xnames = self . model . exog_names #NEWLINE# data = lzip ( model . params . T . ravel ( ) , model . stderr . T . ravel ( ) , model . tvalues . T . ravel ( ) , model . pvalues . T . ravel ( ) ) #NEWLINE# header = ( 'coefficient' , 'std. error' , 't-stat' , 'prob' ) #NEWLINE# buf = StringIO ( ) #NEWLINE# dim = ( ( k * model . k_ar ) + model . k_trend ) #NEWLINE# for i in range ( k ) : #NEWLINE# #INDENT# section = ( 'Results for equation %s' % model . names [ i ] ) #NEWLINE# buf . write ( ( section + '\n' ) ) #NEWLINE# table = SimpleTable ( data [ ( dim * i ) : ( dim * ( i + 1 ) ) ] , header , Xnames , title = None , txt_fmt = self . default_fmt ) #NEWLINE# buf . write ( ( str ( table ) + '\n' ) ) #NEWLINE# if ( i < ( k - 1 ) ) : #NEWLINE# #INDENT# buf . write ( '\n' ) #NEWLINE# #UNINDENT# #UNINDENT# return buf . getvalue ( )