add stat_metric_by_interval, e.g. number of records, metric value percentiles etc.
Add page hinkley test for topn tuple via phtest_main.m, extract data matrix for single time window using stat_obrate.m