code: public void reset() {
  		Double[] init = null;
  		if(resetIndex>-1) init = Arrays.copyOfRange(insertSeq.toArray(new Double[resetIndex+1]), 0, resetIndex);
  		insertSeq.clear();
  		insertStat.clear();
  		observationCount = 0.0;
  		average = 0.0;
  		minimum = Double.MAX_VALUE;
  		maximum = Double.MIN_VALUE;
  		expectation = null;
  		moments.clear();
  		if(init != null)
  			for(Double value: init) {
  				addValue(value);
  			}
  	}
docs: Resets the observation to the initial state after creation.<br>
  Potential changed values for update behavior or moment degrees are kept.