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 0544418127 for ; Fri, 19 Jun 2015 13:58:04 +0000 (UTC) Received: (qmail 45316 invoked by uid 500); 19 Jun 2015 13:58:03 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 45193 invoked by uid 500); 19 Jun 2015 13:58:03 -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 45180 invoked by uid 99); 19 Jun 2015 13:58:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2015 13:58:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of narjessaraie@gmail.com designates 209.85.223.179 as permitted sender) Received: from [209.85.223.179] (HELO mail-ie0-f179.google.com) (209.85.223.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2015 13:55:48 +0000 Received: by iebmu5 with SMTP id mu5so75224355ieb.1 for ; Fri, 19 Jun 2015 06:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tTZ4WvG5SdXAKiUYW+hII4mPiTTts8SlcJSobIOlVko=; b=bZUhXR1VEZjsLByic4+/fBuPDBK1zQQff3KXDU+mWDXZ+Ov0WHpJ749TFu+59CfaRM cb/vtOnQ+SyUxtlGkxFe2M/UjoQEP3tpgH189qwXat/C78ArJyDp6pYb5RQxzSadlT3G Vxtp3CEi3WP7StCgSMe030kIqsJDKen/DVgDzM6MfptpWVk2KHgOxQy2N9N2zM26wQYQ OVPAGcFdPDS5b5aJlrgdLeNDKi2sx8UzOuq8tcozd0TBHszlefkQZGCUsdx1E1fKMPT8 SdDRXMyqUSwnik0HWIZpcjgVKEfO7WtK8oFfauycuG75fzZhBmmBAJ2AHfQsDbMpAp49 sETA== MIME-Version: 1.0 X-Received: by 10.50.4.41 with SMTP id h9mr4606532igh.10.1434722256244; Fri, 19 Jun 2015 06:57:36 -0700 (PDT) Received: by 10.50.136.234 with HTTP; Fri, 19 Jun 2015 06:57:36 -0700 (PDT) In-Reply-To: <55841BAC.5010500@gmail.com> References: <5582DE8D.4080501@gmail.com> <55841BAC.5010500@gmail.com> Date: Fri, 19 Jun 2015 06:57:36 -0700 Message-ID: Subject: Re: [math]plot distribution From: narjes saraie To: Commons Users List Content-Type: multipart/alternative; boundary=001a11c315286f798a0518df4ec9 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c315286f798a0518df4ec9 Content-Type: text/plain; charset=UTF-8 Thanks a lot for patient guidance. best regards On Fri, Jun 19, 2015 at 6:39 AM, Ole Ersoy wrote: > Narjes, > > There's some examples of plotting distributions here (The library also has > code for various GOF metrics): > http://www.iro.umontreal.ca/~simardr/ssj/indexe.html > > Follow the `plot` link: > http://simul.iro.umontreal.ca/ssj/doc/pdf/guidecharts.pdf > > Cheers, > - Ole > > > On 06/19/2015 04: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? >> 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 >>> >>> thanks. >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>> For additional commands, e-mail: user-help@commons.apache.org >>> >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > --001a11c315286f798a0518df4ec9--