#NEWLINE# def summary( self , alpha = 0.05 , float_format = '%.3f' ) : #NEWLINE# #INDENT# "\n        Produce a summary of the analysis.\n\n        Parameters\n        ----------\n        alpha : float\n            `1 - alpha` is the nominal coverage probability of the interval.\n        float_format : string\n            Used to format numeric values in the table.\n        method : string\n            The method for producing the confidence interval.  Currently\n            must be 'normal' which uses the normal approximation.\n        " #NEWLINE# fmt = float_format #NEWLINE# headers = [ 'Statistic' , 'P-value' , 'DF' ] #NEWLINE# stubs = [ 'Symmetry' , 'Homogeneity' ] #NEWLINE# sy = self . symmetry ( ) #NEWLINE# hm = self . homogeneity ( ) #NEWLINE# data = [ [ ( fmt % sy . statistic ) , ( fmt % sy . pvalue ) , ( '%d' % sy . df ) ] , [ ( fmt % hm . statistic ) , ( fmt % hm . pvalue ) , ( '%d' % hm . df ) ] ] #NEWLINE# tab = iolib . SimpleTable ( data , headers , stubs , data_aligns = 'r' , table_dec_above = '' ) #NEWLINE# return tab