Re: [math] Distributions over sample spaces other than R

2011-11-06 Thread Phil Steitz
bution." That leaves open "MultivariateXxDistribution" which we could add later. Assuming there are no objections to this approach, it would be great if you could create a JIRA for this and attach a patch taking a stab at it. Phil > > Christian > > -- > View this message i

Re: [math] Distributions over sample spaces other than R

2011-11-05 Thread cwinter
(e.g. if a multidimension normal distribution shall be implemented). Christian -- View this message in context: http://apache-commons.680414.n4.nabble.com/math-Distributions-over-sample-spaces-other-than-R-tp3931349p3994066.html Sent from the Commons - Dev mailing l

Re: [math] Distributions over sample spaces other than R

2011-11-02 Thread Mikkel Meyer Andersen
nuous (by that, I mean > real-valued RV) case. Note how it is overriden now in > AbstractIntegerDistribution. So why not just leave that alone and > separate out the discrete/integer/whatever-we-want-to-call-it case? > Discrete distributions are fundamentally different. They

Re: [math] Distributions over sample spaces other than R

2011-11-02 Thread Sébastien Brisard
> > What exactly do we gain by having the common parent?  The inverse > cdf machinery will work only for the continuous (by that, I mean > real-valued RV) case.  Note how it is overriden now in > AbstractIntegerDistribution.  So why not just leave that alone and > separate out the discrete/integer/

Re: [math] Distributions over sample spaces other than R

2011-11-01 Thread Phil Steitz
k differently. Why not just cleanly separate? Phil > > In my opinion, we benefit from having one such common ancestor instead > of two "independent" linages. > >> Phil >>> Christian >>> >>> -- >>> View this message in context: >&

Re: [math] Distributions over sample spaces other than R

2011-11-01 Thread Mikkel Meyer Andersen
to make this generic parameterising the argument to cdf and others. In my opinion, we benefit from having one such common ancestor instead of two "independent" linages. > > Phil >> >> Christian >> >> --

Re: [math] Distributions over sample spaces other than R

2011-10-31 Thread Ted Dunning
On Mon, Oct 31, 2011 at 2:56 PM, cwinter wrote: > > Phil Steitz wrote: > > > > Maybe it would be best to eliminate IntegerDistribution then and > > merge Distribution and ContinuousDistribution, so we have two roots > > - DiscreteDistribution and ContinuousDistribution. The only reason > > real

Re: [math] Distributions over sample spaces other than R

2011-10-31 Thread cwinter
f the distribution. Apart from this, a separate interface for more general discrete distributions is indeed not required. Christian -- View this message in context: http://apache-commons.680414.n4.nabble.com/math-Distributions-over-sample-spaces-other-than-R-tp3931349p3961807.h

Re: [math] Distributions over sample spaces other than R

2011-10-29 Thread Phil Steitz
istribution as a parent, so why not just drop both IntegerDistribution and Distribution and move to two roots with doubles / ints as domains and contracts cleaned up to deal with discrete vs continuous cases consistently. Phil > > Christian > > -- > View this message in con

Re: [math] Distributions over sample spaces other than R

2011-10-29 Thread cwinter
ty interface. Thus there is in fact the question whether it should be eliminated. Otherwise it would be just a "flag" for discrete distributions and that's indeed independent of the sample space. Christian -- View this message in context: http://apache-commons.680414.n4.nabble.com/m

Re: [math] Distributions over sample spaces other than R

2011-10-29 Thread Phil Steitz
e value in supporting discrete distributions over sample spaces that are not embedded in the integers. Phil > > Best Regards, > Christian > > > -- > View this message in context: > http://apache-commons.680414.n4.nabble.com/math-Distributions-over-sample-spaces-

Re: [math] Distributions over sample spaces other than R

2011-10-29 Thread cwinter
eDistribution. Best Regards, Christian -- View this message in context: http://apache-commons.680414.n4.nabble.com/math-Distributions-over-sample-spaces-other-than-R-tp3931349p3951113.html Sent from the Commons - Dev mailing list archive at Nabble.com.

Re: [math] Distributions over sample spaces other than R

2011-10-25 Thread cwinter
ian -- View this message in context: http://apache-commons.680414.n4.nabble.com/math-Distributions-over-sample-spaces-other-than-R-tp3931349p3938185.html Sent from the Commons - Dev mailing list archive at Nabble.com. - To unsubsc

Re: [math] Distributions over sample spaces other than R

2011-10-24 Thread Ted Dunning
On Sun, Oct 23, 2011 at 6:50 PM, Phil Steitz wrote: > On 10/23/11 4:36 PM, Ted Dunning wrote: > > I think it isn't much to worry about forcing all the current stuff into > an > > unnatural structure for use cases that are not particularly common. > > > > The cases that I have seen for distributio

Re: [math] Distributions over sample spaces other than R

2011-10-23 Thread Phil Steitz
On 10/23/11 4:36 PM, Ted Dunning wrote: > I think it isn't much to worry about forcing all the current stuff into an > unnatural structure for use cases that are not particularly common. > > The cases that I have seen for distributions over non-reals are permutations > and graphs. In neither case

Re: [math] Distributions over sample spaces other than R

2011-10-23 Thread Ted Dunning
I think it isn't much to worry about forcing all the current stuff into an unnatural structure for use cases that are not particularly common. The cases that I have seen for distributions over non-reals are permutations and graphs. In neither case did I feel an urge to file a bug against java.lan

[math] Distributions over sample spaces other than R

2011-10-23 Thread Phil Steitz
Comments on [math-692] have made me curious about how might we run into discrete distributions that do not extend AbstractIntegerDistribution in practical applications. Does anyone have the need for this? One reason that I am asking about this is that I have always felt a little funny about basic