Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 19033 invoked from network); 20 Oct 2004 21:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Oct 2004 21:25:44 -0000 Received: (qmail 90269 invoked by uid 500); 20 Oct 2004 21:25:35 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 90178 invoked by uid 500); 20 Oct 2004 21:25:35 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 90162 invoked by uid 99); 20 Oct 2004 21:25:34 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [68.142.225.208] (HELO web54710.mail.yahoo.com) (68.142.225.208) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 20 Oct 2004 14:25:33 -0700 Message-ID: <20041020212531.14409.qmail@web54710.mail.yahoo.com> Received: from [65.213.54.114] by web54710.mail.yahoo.com via HTTP; Wed, 20 Oct 2004 14:25:31 PDT Date: Wed, 20 Oct 2004 14:25:31 -0700 (PDT) From: Al Chou Subject: Re: [math] Questions regarding probability distributions To: Jakarta Commons Developers List In-Reply-To: <200410201909.34799.frno@bredband.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Frank, --- F Norin wrote: > > >Note: There are also distributions that are neither discrete, continuous > > > or a mixture of the two. For example, there are numerous distributions > > > based upon the Cantor ternary sets. > > > > Practical counter-examples like what you have above are more compelling ;-) > > Sure, a standard example of a Cantor ternary set distribution can be created > like this: [deletia] > Distributions like this are actually used in practical applications as > probability models within fields such as biophysics, molecular biology and > quantum mechanics. Do you have any references for the quantum physics cases? I certainly didn't specialize in quantum physics (plasma physics typically uses almost everything _but_ quantum physics), but I did get as far as a EE graduate course in QED and never encountered such probability models. Maybe it's because I wasn't in a physics department or ever really encountered molecular models in what I was studying? Honestly, I doubt most of the users of Commons Math will be needing this kind of distribution, but I guess if we merge in (parts of) Colt, we might end up attracting that kind of user. In any case, I learned something new today, which is cool. Al > [Proving that X is a probability distribution isn't exactly trivial- it > requires rather advanced concepts from measure theory, see Chung, "A course > in Probability Theory", Academic Press (1974), p.12-13, for a rigorous > treatment of this.] > > > > >but if you want a completely generic and typesafe definition you should > > >go for something like > > > > > >public interface ProbabilityDistribution { > > > public Probability distributionFunction(Number x); > > >} > > > > I think we can make it work with doubles and don't see a big loss there. I > > guess this is where I get off the bus ;-) -- though I see your point. > > Ok, but I do think there is a strong case for having a separate Probability > class. > > /Frank N --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org