@Test
public void testPartialYears() {

    TsData x = Data.X.drop(5, 8);
    TsData y = x.changeFrequency(TsFrequency.Yearly, TsAggregationType.Sum, true);
    x=addNoise(x);
    // add some noise to y
    TsCholette cholette = new TsCholette();
    TsData xc = cholette.process(x, y);
    TsData yc = xc.changeFrequency(TsFrequency.Yearly, TsAggregationType.Sum, true);
    assertTrue(y.distance(yc) < 1e-9);
    cholette.setRho(1);
    xc = cholette.process(x, y);
    yc = xc.changeFrequency(TsFrequency.Yearly, TsAggregationType.Sum, true);
    assertTrue(y.distance(yc) < 1e-9);
      TsDataTable table=new TsDataTable();
      table.add(x, xc, y, yc);
      System.out.println(table);
}