@Override
	public Pdf pdf() {
		return value -> {
			final int index = observation.partition().indexOf(value);
			if (index < 0 || index >= observation.partition().size()) {
				return 0;
			}

			return ((double)observation.buckets().get(index).count())/samples;
		};
	}
Return the observed distribution.

@return the observed distribution
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/EmpiricalDistribution.java