From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8072 invoked by alias); 16 Mar 2007 16:36:33 -0000 Received: (qmail 7998 invoked by uid 22791); 16 Mar 2007 16:36:33 -0000 X-Spam-Check-By: sourceware.org Received: from rwcrmhc12.comcast.net (HELO rwcrmhc12.comcast.net) (216.148.227.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Mar 2007 16:36:27 +0000 Received: from hippogriff.homeunix.org ([75.71.67.96]) by comcast.net (rwcrmhc12) with ESMTP id <20070316163625m1200ft3pje>; Fri, 16 Mar 2007 16:36:25 +0000 Received: by hippogriff.homeunix.org (Postfix, from userid 1000) id 3CE095795F; Fri, 16 Mar 2007 10:36:26 -0600 (MDT) Date: Fri, 16 Mar 2007 16:36:00 -0000 From: Patrick Alken To: gsl-discuss@sourceware.org Subject: Re: correlation coefficient Message-ID: <20070316163626.GA8047@hippogriff.physics.drexel.edu> References: <87odmt89vu.wl%bjg@network-theory.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00052.txt.bz2 > be sure to include Pearson in the name of the function, since there > are also Spearman's and Kendall's correlation statistics. (on second > thought, contradicting myself, those two are specialized nonparametric > measures, and so maybe it's reasonable to have Pearson's be the > default.) matlab and octave both use the name "corrcoef". I don't know about matlab, but octave has separate functions "spearman" and "kendall" for the other statistics, so I was thinking that gsl_stats_correlation would be ok, and later if people want the other functions they can name them gsl_stats_spearman etc. I'll make sure the docs clearly state its the Pearson coefficient for the function. Patrick Alken