Changeset 40265 in project


Ignore:
Timestamp:
07/06/21 03:17:23 (3 weeks ago)
Author:
Kon Lovett
Message:

basic-stats takes a data seq, not just runtime data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/micro-stats

    r39962 r40265  
    3939
    4040; {{size}} : the count of the {{SEQ}}
    41 ; {{min}} : the minimum runtime of the {{SEQ}}
    42 ; {{max}} : the maximum runtime of the {{SEQ}}
     41; {{min}} : the minimum of the {{SEQ}}
     42; {{max}} : the maximum of the {{SEQ}}
    4343; {{mean}} : arithmetic-mean alias
    44 ; {{arithmetic-mean}} : the arithmetic average runtime of the {{SEQ}}
     44; {{arithmetic-mean}} : the arithmetic average of the {{SEQ}}
    4545; {{sd}} : standard-deviation alias
    4646; {{sigma}} : standard-deviation alias
     
    4949When {{verbose}} adds the following:
    5050
    51 ; {{95th}} : the 95th percentile runtime of the {{SEQ}}
    52 ; {{harmonic-mean}} : the harmonic average runtime of the {{SEQ}}
    53 ; {{geometric-mean}} : the geometric average runtime of the {{SEQ}}
    54 ; {{median}} : the median runtime of the {{SEQ}}
    55 ; {{mode}} : the mode runtime of the {{SEQ}}
     51; {{95th}} : the 95th percentile of the {{SEQ}}
     52; {{harmonic-mean}} : the harmonic average of the {{SEQ}}
     53; {{geometric-mean}} : the geometric average of the {{SEQ}}
     54; {{median}} : the median of the {{SEQ}}
     55; {{mode}} : the mode of the {{SEQ}}
    5656; {{var}} : variance alias
    5757; {{sigma^2}} : variance alias
     
    6060=== basic-statistics
    6161
    62 <procedure>(basic-statistics) -> (vector-of real)</procedure>
     62<procedure>(basic-statistics SEQ) -> (vector-of real)</procedure>
    6363
    64 Returns #(m h g s v).
     64Returns #(m h g s v) for the {{SEQ}}.
     65
     66; {{SEQ}} : {{(seq-of real)}} ; the sample
    6567
    6668=== generate-statistics-alist
Note: See TracChangeset for help on using the changeset viewer.