public static EmpiricalDistribution of(
		final Interval interval,
		final double[] expected
	) {
		return of(Partition.of(interval, expected.length), expected);
	}
Create a new distribution within the given {@code interval} and the
{@code expected} frequencies within the interval. The number of
subintervals is determined by the length of the frequency array.

@param interval the overall distribution interval
@param expected the expected frequencies
@return a new distribution object
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/EmpiricalDistribution.java