Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71746863A for ; Sat, 3 Sep 2011 17:39:34 +0000 (UTC) Received: (qmail 31836 invoked by uid 500); 3 Sep 2011 17:39:33 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 31682 invoked by uid 500); 3 Sep 2011 17:39:33 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 31673 invoked by uid 99); 3 Sep 2011 17:39:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 17:39:32 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of meyerjp3@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vx0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 17:39:26 +0000 Received: by vxh2 with SMTP id 2so700487vxh.30 for ; Sat, 03 Sep 2011 10:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=edD8Oht25XEr5Wg4LL2iqdyj2nzg+DQXCwJarhMoJ5I=; b=IbUYG91/He2qCRNbvIUmVaNGa1w/z1pcdxIqpibIX9omsim/6mQQatiJS/QUNCgvrr HNw6kJd88XODALablzoUusRlfOnnu6sOVpbNZVt2aSnoVIiJMjS3E68pi6ecfrI1U/UM fdf7gkAN5+e7q6m1UpSzwZgnYcF5zkEnNU9gY= Received: by 10.52.100.101 with SMTP id ex5mr2282522vdb.254.1315071545228; Sat, 03 Sep 2011 10:39:05 -0700 (PDT) Received: from [192.168.1.4] (c-75-75-1-250.hsd1.va.comcast.net [75.75.1.250]) by mx.google.com with ESMTPS id gv4sm1804762vdb.17.2011.09.03.10.39.03 (version=SSLv3 cipher=OTHER); Sat, 03 Sep 2011 10:39:04 -0700 (PDT) Message-ID: <4E6265F0.2000308@gmail.com> Date: Sat, 03 Sep 2011 13:37:52 -0400 From: Patrick Meyer User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: dev@commons.apache.org Subject: Re: [math] psychometrics References: <4E60D008.1080308@gmail.com> <20110902132642.GG19625@dusk.harfang.homelinux.org> <4E60E5E2.3040605@gmail.com> <4E61B3D3.80307@gmail.com> <4E624C3D.4070907@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org No, I have written very few tests. Until I recently discovered jUnit, I was using a very crude way of testing my code. I plan to add more tests over the coming year. If you are registered with java.net, you can view the source code at http://java.net/projects/psychometrics. I have requested that the project be made public but I don't know how long that will take. There is one dependency in the polychoric correlation package (com.itemanalysis.polycor) that could be problematic. The maximum likelihood estimator requires a multivariate normal (or at least bivariate normal) CDF. I use the one from http://vadim.kutsyy.com/java/javadoc/com/kutsyy/util/package-summary.html Are there plans to add a multivaraite normal CDF function to commons math? Patrick On 9/3/2011 12:36 PM, Greg Sterijevski wrote: > Do you have unit tests written for the different components? > > On Sat, Sep 3, 2011 at 10:48 AM, Patrick Meyer wrote: > >> Sounds good. Separating the general purpose stats from the psychometric >> specific stats seems like a natural way to distinguish the two libraries. >> I'll send a link to the source code soon. Hopefully, you will see the good >> ideas in the code. >> >> >> On 9/3/2011 12:57 AM, Phil Steitz wrote: >> >>> On 9/2/11 7:19 AM, Patrick Meyer wrote: >>> >>>> Yes, the math code is separate from the GUI and database for the >>>> most part. I'd be happy to share the code and documentation, but I >>>> need a few days to add it to a repository and get it online. >>>> >>>> There are parts of my library that can be transferred to math with >>>> very few changes but other parts that need more work to make it >>>> more object oriented in style and less procedural. In any case, >>>> I'll send information about the code once I have it online. >>>> >>> Don't worry too much about making things beautiful. Bad code + good >>> ideas is the combination that works [1]. The thing to think about >>> is what portions of your code are really general purpose math. Most >>> likely kernel regression, polycor, histograms, etc., maybe not so >>> much test scaling for example. Luc may have some good advice >>> having done this already with an space dynamics library (or maybe >>> Luc is so smart that there was no refactoring necessary :) >>> >>> What tends to work best is to bring things in incrementally, talking >>> about the fit and how to integrate. >>> >>> Phil >>> >>> [1] http://s.apache.org/hZ >>> >>>> Patrick >>>> >>>> On 9/2/2011 9:26 AM, Gilles Sadowski wrote: >>>> >>>>> Hello. >>>>> >>>>> I have been developing an pure Java application that does a variety >>>>>> of psychometric methods. I use the commons math library as much >>>>>> as I >>>>>> can but I've also had to develop my own library. I'd like to >>>>>> combine >>>>>> the two libraries by donating as much of my code to commons math as >>>>>> I can. My library includes features for measurement reliability, >>>>>> test scaling, test equating, polychoric correlations, histogram >>>>>> computations, kernel regression, etc. Most of these feature are >>>>>> specialized to psychometrics, but is there any interest in adding >>>>>> them to commons math? Are these methods too specialized for commons >>>>>> math? >>>>>> >>>>> Can we have a look at the code and documentation? >>>>> >>>>> If you're interested in seeing the application in action, you can >>>>>> download the full program from www.ItemAnalysis.com. You'll notice >>>>>> that it also uses an Apache derby database for data management. >>>>>> >>>>> Is the math code separate from GUI and data management? >>>>> >>>>> >>>>> Regards, >>>>> Gilles >>>>> >>>>> ------------------------------**------------------------------** >>>>> --------- >>>>> >>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org >>>>> For additional commands, e-mail: dev-help@commons.apache.org >>>>> >>>>> ------------------------------**------------------------------** >>>> --------- >>>> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org >>>> For additional commands, e-mail: dev-help@commons.apache.org >>>> >>>> >>>> >>> ------------------------------**------------------------------**--------- >>> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org >>> For additional commands, e-mail: dev-help@commons.apache.org >>> >>> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org