Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 095801790E for ; Mon, 22 Jun 2015 09:06:57 +0000 (UTC) Received: (qmail 22936 invoked by uid 500); 22 Jun 2015 09:06:56 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 22784 invoked by uid 500); 22 Jun 2015 09:06:56 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 22772 invoked by uid 99); 22 Jun 2015 09:06:55 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2015 09:06:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0890A1A5ACD for ; Mon, 22 Jun 2015 09:06:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=scarlet.be Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JYZ4aqHruYFe for ; Mon, 22 Jun 2015 09:06:41 +0000 (UTC) Received: from eir.is.scarlet.be (eir.is.scarlet.be [193.74.71.27]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id BC6AD24A0C for ; Mon, 22 Jun 2015 09:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1434963993; bh=kb5o3JJVhv/zSqQEuL279KvYuCQlSfj/FS2g7bDAf5M=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:In-Reply-To:References:Message-ID; b=An5usBT5vs12txxfYSkQ4URMoZpAUXRMySp+CW3AonYNQAM8qEjvWcXYvt1PI8R8Z faYXGnvCog8ts649HIRzTuMJE22N/fyljS0RGXfaf9C4y1x1M/DyUvpo3LXJBeyYFB tcAkpHA5FSpq8leNn7uWKf2yGLs9a3d7ia0oryNc= Received: from webmail.scarlet.be (gresham.is.scarlet.be [193.74.71.215]) by eir.is.scarlet.be (8.14.9/8.14.9) with ESMTP id t5M96W2e000337 for ; Mon, 22 Jun 2015 11:06:33 +0200 X-Scarlet: d=1434963993 c=193.74.71.215 Received: from ip-83-134-165-40.dsl.scarlet.be ([83.134.165.40]) via ip-83-134-165-40.dsl.scarlet.be ([83.134.165.40]) by webmail.scarlet.be with HTTP (HTTP/1.1 POST); Mon, 22 Jun 2015 11:06:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 22 Jun 2015 11:06:32 +0200 From: Gilles To: Subject: Re: [math]plot distribution In-Reply-To: References: <5582DE8D.4080501@gmail.com> <55842602.9060401@gmail.com> Message-ID: <8884497c8ea04b59d943405ea39eca7f@scarlet.be> X-Sender: gilles@harfang.homelinux.org User-Agent: Scarlet Webmail X-DCC-scarlet.be-Metrics: eir; whitelist X-Virus-Scanned: clamav-milter 0.98.1-exp at eir X-Virus-Status: Clean On Sun, 21 Jun 2015 23:54:21 -0700, narjes saraie wrote: > Hi. > I download RealDistributionComparison.java from > but in program there is "import > org.apache.commons.math4.util.FastMath; > 52 ",... . > how do I download math4 ? Replace "math4" with "math3" in the "import" statement and it should work fine. Best regards, Gilles > only there is commons math 3.5 in apache address and netbeans > error. > how I can solve it ,please? > thanks > > > > On Fri, Jun 19, 2015 at 7:24 AM, Phil Steitz > wrote: > >> On 6/19/15 2:22 AM, narjes saraie wrote: >> > Hi Phil. >> > >> > >> > I open http://s.apache.org/HTo >> > but i couldent use it.Is it possible for you to attache one >> source of >> the >> > plot? >> >> Click on "RealDistributionComparison.java" and you will see the >> source code. >> >> Phil >> > I dont know witch line help me to draw the plots in the user >> > guide section on probability distributions? >> > Im sorry that Im very very beginner. >> > >> > >> > thanks a lot . >> > >> > >> > >> > >> > On Thu, Jun 18, 2015 at 8:06 AM, Phil Steitz >> >> wrote: >> > >> >> On 6/18/15 6:31 AM, narjes saraie wrote: >> >>> Hi All. >> >>> I am beginner in java and have some data.I want to guess a >> distribution >> >> for >> >>> my data then calculate goodness of fit (gof). >> >>> I find distribution commons math and use it ,if i want plot my >> >> distribution >> >>> or CDF or probability (X>x), how do it? >> >>> is it any example for distribution and plotting it. >> >> We don't have graphical exploratory data analysis tools in >> Commons >> >> Math. You would do best to start with a package that supports >> >> generation of histograms if you have no idea what distribution >> might >> >> fit the data. If you do have an idea of what the distribution >> is, >> >> depending on what it is, you may be able to estimate the >> parameters >> >> of the distribution from the data. For example, if you think >> that >> >> the data are normally distributed, you can use SummaryStatistics >> in >> >> the stat package to get the standard statistical estimators of >> the >> >> mean and standard deviation, which together determine a normal >> >> distribution. Then you could do a Kolmogorov-Smirnov test (or >> group >> >> the data and use a G- or ChiSquare test) to assess goodness of >> fit. >> >> Other distributions have different parameters and different >> >> statistical estimators. >> >> >> >> We don't currently support plotting distributions in Commons >> Math, >> >> but the user guide code contains an example showing how to do it >> >> with some external tools. Have a look at the plots in the user >> >> guide section on probability distributions [1] and the source for >> >> the code that generates those plots [2]. >> >> >> >> Phil >> >> >> >> [1] >> >> >> >> http://commons.apache.org/proper/commons-math/userguide/distribution.html >> >> [2] http://s.apache.org/HTo >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org