#NEWLINE# def _make_endog_names( endog ) : #NEWLINE# #INDENT# if ( ( endog . ndim == 1 ) or ( i . shape [ 1 ] == 1 ) ) : #NEWLINE# #INDENT# ynames = [ 'y' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ynames = [ ( 'y%d' % ( i + 1 ) ) for i in range ( endog . shape [ 1 ] ) ] #NEWLINE# #UNINDENT# return ynames