Changes between Version 1 and Version 2 of TallyCowan


Ignore:
Timestamp:
06/23/13 02:23:33 (4 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TallyCowan

    v1 v2  
    1313Some of the statistics may be meaningless if more than one of these injectors is used on any one tally. 
    1414 
    15 `(tally! `''tally''` `''value''`)` 
     15`(tally! `''tally'' ''value''`)` 
    1616 
    1717Injects ''value'' into ''tally'' and updatse all descriptive statistics. 
    1818 
    19 `(tally-weighted! `''tally''` `''value''` `''weight''`)` 
     19`(tally-weighted! `''tally'' ''value'' ''weight''`)` 
    2020 
    2121Injects ''value'' into ''tally'', assigning it a weight of ''weight'' (from 0 to 1) for the purpose of calculating weighted sums and weighted averages, and updates all descriptive statistics. 
    2222 
    23 `(tally-timed! `''tally''` `''value''` `''timestamp''`)` 
     23`(tally-timed! `''tally'' ''value'' ''timestamp''`)` 
    2424 
    2525The same as `tally-weighted!`, except that the weight is ''timestamp'' minus the value of ''timestamp'' on the previous call to `tally-timed!`, or 0 if there was no previous call. 
    2626 
    27 `(tally-correlated! `''tally''` `''value,,1,,''` `''value,,2,,''`)` 
     27`(tally-correlated! `''tally'' ''value,,1,,'' ''value,,2,,''`)` 
    2828 
    2929Injects ''value,,1,,'' into ''tally'', tracking ''value,,2,,'' separately for the purpose of calculating correlation and covariance. 
     
    126126 
    127127Returns the correlation based on the pairs of observations injected so far. 
    128