public static double chiSquareMode(int nu) {
		if (nu <= 0) throw new IllegalArgumentException("The degrees of freedom [nu], " + nu + ", must be greater than zero");
		double mode = 0.0D;
		if (nu >= 2) mode = nu - 2.0D;
		return mode;
	}