Module msbfinal_db::stats[][src]

Expand description

Run required statistical tests over data

Functions

average_for_pairs

Given a hashmap of ((T, T), Vec), compute the average for each pairing of T’s.

avg

Simple mean

counts_for_pairs

Given a hashmap of ((T, T), Vec), compute frequency data.

pmcc

Pearson moment correlation coefficient. Returns a 3-tuple of (correlation coefficient, n).

stdev

Sample standard deviation (sum of suared differences / dof)