@Test
public void testVariance() {

	double variance = TimeSeriesUtil.variance(this.T);
	double expectation = (2 * 3.5 * 3.5 + 2 * 2.5 * 2.5 + 2 * 1.5 * 1.5 + 0.5) / 8;
	assertEquals(expectation, variance, 1e-5);
}