Statistics for Subseries Join and Compression of Time Series Data Based on Non-uniform Segmentation