Inverse CDF methods work for discrete distributions as well as continuous ones.
On Mon, Oct 26, 2009 at 4:50 PM, Phil Steitz <phil.ste...@gmail.com> wrote: > > If not, I would create a public interface > > DistributionWithInverseCumulativeProbability (who has a better name?) > > with the method inverseCumulativeProbability (right now it's on > > ContinuousDistribution and some other subclasses and don't seem to be > > gathered in an interface) and all the distributions with the > > inverseCumulativeProbability-method should implement this interface. > > I am not following you here. What exactly is the difference between > DistributionWithInverseCumulativeProbability and > ContinuousDistribution? > -- Ted Dunning, CTO DeepDyve