Changeset 39371 in project
 Timestamp:
 11/24/20 02:44:43 (5 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/5/microstats
r39358 r39371 17 17 </enscript> 18 18 19 === Types 20 19 21 ==== seq 20 22 ==== binarypredicate … … 31 33 <procedure>(generatestatistics SEQ [SETID]) > statisticsalist</procedure> 32 34 33 : {{SEQ}} ;{{(seqof real)}} ; SEQ of all iterations, in microseconds34 : {{SETID}} ;{{symbol}} ; {{'normal}}35 ; {{SEQ}} : {{(seqof real)}} ; SEQ of all iterations, in microseconds 36 ; {{SETID}} : {{symbol}} ; {{'normal}} 35 37 36 38 Returns an {{alist}} with the following: 37 39 38 : size ;the count of the {{SEQ}}39 : min ;the minimum runtime of the {{SEQ}}40 : max ;the maximum runtime of the {{SEQ}}41 : mean ;arithmeticmean alias42 : arithmeticmean: the arithmetic average runtime of the {{SEQ}}43 : sd ;standarddeviation alias44 : sigma ;standarddeviation alias45 : standarddeviation ;the standard deviation for the {{SEQ}}40 ; {{size}} : the count of the {{SEQ}} 41 ; {{min}} : the minimum runtime of the {{SEQ}} 42 ; {{max}} : the maximum runtime of the {{SEQ}} 43 ; {{mean}} : arithmeticmean alias 44 ; {{arithmeticmean}} : the arithmetic average runtime of the {{SEQ}} 45 ; {{sd}} : standarddeviation alias 46 ; {{sigma}} : standarddeviation alias 47 ; {{standarddeviation}} : the standard deviation for the {{SEQ}} 46 48 47 49 When {{verbose}} adds the following: 48 50 49 : 95th ;the 95th percentile runtime of the {{SEQ}}50 : harmonicmean ;the harmonic average runtime of the {{SEQ}}51 : geometricmean ;the geometric average runtime of the {{SEQ}}52 : median ;the median runtime of the {{SEQ}}53 : mode ;the mode runtime of the {{SEQ}}54 : var ;variance alias55 : sigma^2 ;variance alias56 : variance ;the variance for the {{SEQ}}51 ; {{95th}} : the 95th percentile runtime of the {{SEQ}} 52 ; {{harmonicmean}} : the harmonic average runtime of the {{SEQ}} 53 ; {{geometricmean}} : the geometric average runtime of the {{SEQ}} 54 ; {{median}} : the median runtime of the {{SEQ}} 55 ; {{mode}} : the mode runtime of the {{SEQ}} 56 ; {{var}} : variance alias 57 ; {{sigma^2}} : variance alias 58 ; {{variance}} : the variance for the {{SEQ}} 57 59 58 60 === basicstatistics … … 68 70 Returns an {{alist}} for a set of statistical functions results. 69 71 70 : {{SEQ}} ;{{(seqof real)}} ; the sample71 : {{FUNCS}} ;{{(listof functionspec)}}; the report template72 : {{BASICS}} ;{{#(m h g s v)}} ; required statistics72 ; {{SEQ}} : {{(seqof real)}} ; the sample 73 ; {{FUNCS}} : {{(listof functionspec)}}; the report template 74 ; {{BASICS}} : {{#(m h g s v)}} ; required statistics 73 75 74 76 A {{functionspec}} is: 75 77 76 : size ;sample count77 : min ;sample minimum78 : max ;sample maximum79 : arithmeticmean: sample arithmeticaverage80 : standarddeviation ;sample standarddeviation81 : percentile [P] ;sample {{P}}thpercentile ; default is {{95}}82 : harmonicmean ;sample harmonicaverage83 : geometricmean ;sample geometricaverage84 : median ;sample median85 : mode ;sample mode86 : variance ;sample variance87 : (KEY . (F [PARAM ...])) ;sample parameterized {{(: F functionspec)}}78 ; {{size}} : sample count 79 ; {{min}} : sample minimum 80 ; {{max}} : sample maximum 81 ; {{arithmeticmean}} : sample arithmeticaverage 82 ; {{standarddeviation}} : sample standarddeviation 83 ; {{percentile}} : sample {{P}}thpercentile ; default is {{95}} 84 ; {{harmonicmean}} : sample harmonicaverage 85 ; {{geometricmean}} : sample geometricaverage 86 ; {{median}} : sample median 87 ; {{mode}} : sample mode 88 ; {{variance}} : sample variance 89 ; {{(KEY . (F [PARAM ...]))}} : sample parameterized {{(: F functionspec)}} 88 90 89 91 ==== percentile … … 93 95 Returns {{P}}th percentile of {{SEQ}}. 94 96 95 : {{SEQ}} ;{{(seqof real)}}96 : {{P}} ;{{[0 .. 100]}} ; defaults is {{95}}97 ; {{SEQ}} : {{(seqof real)}} 98 ; {{P}} : {{[0 .. 100]}} ; defaults is {{95}} 97 99 98 100 ==== mean … … 102 104 Returns the ''arithmetic'', ''harmonic'', & ''geometric'' means for {{SEQ}}. 103 105 104 : {{SEQ}} ;{{(seqof real)}}106 ; {{SEQ}} : {{(seqof real)}} 105 107 106 108 ==== median … … 110 112 Returns the ''median'' of the {{SEQ}}. 111 113 112 : {{SEQ}} ;{{(seqof real)}}113 : {{<?}} ;{{binarypredicate}} ; ''lessthan'' predicate, default {{<}}114 ; {{SEQ}} : {{(seqof real)}} 115 ; {{<?}} : {{binarypredicate}} ; ''lessthan'' predicate, default {{<}} 114 116 115 117 ==== mode … … 119 121 Returns the ''mode'' of the {{SEQ}}. 120 122 121 : {{SEQ}} ;{{(seqof real)}}122 : {{=?}} ;{{binarypredicate}} ; ''equality'' predicate, default {{=}}123 ; {{SEQ}} : {{(seqof real)}} 124 ; {{=?}} : {{binarypredicate}} ; ''equality'' predicate, default {{=}} 123 125 124 126 ==== standarddeviation … … 129 131 {{MEAN}}. Calculates the {{MEAN}} when not given. 130 132 131 : {{SEQ}} ;{{(seqof real)}}132 : {{MEAN}} ;{{real}}133 ; {{SEQ}} : {{(seqof real)}} 134 ; {{MEAN}} : {{real}} 133 135 134 136 … … 146 148 == Version history 147 149 148 : 0.0.1 ;C5 release.150 ; 0.0.1 : C5 release. 149 151 150 152
Note: See TracChangeset
for help on using the changeset viewer.