internal double GetProbability(double x) { var p = GetStatisticFor(x); if (p == null) throw new InvalidOperationException("Range not found!"); return p.Probability; }