From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15966 invoked by alias); 16 Mar 2007 16:01:43 -0000 Received: (qmail 15911 invoked by uid 22791); 16 Mar 2007 16:01:41 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.smtp.bt.com (HELO smtp1.smtp.bt.com) (217.32.164.137) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Mar 2007 16:01:31 +0000 Received: from i2kc06-ukbr.domain1.systemhost.net ([193.113.197.70]) by smtp1.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 16 Mar 2007 16:01:28 +0000 Received: from i2km96-ukbr.domain1.systemhost.net ([193.113.197.84]) by i2kc06-ukbr.domain1.systemhost.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 16 Mar 2007 16:01:26 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: correlation coefficient Date: Fri, 16 Mar 2007 16:01:00 -0000 Message-ID: <70B775CD6175D84B978C843BDDF683970C07454E@i2km96-ukbr.domain1.systemhost.net> In-Reply-To: <87odmt89vu.wl%bjg@network-theory.co.uk> From: To: 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/msg00050.txt.bz2 >> Is there any interest in putting a new function in the >> statistics area for calculating the Pearson correlation coefficient? >> ... it would be more efficient to calculate everything in 1 pass >> through the data=20 >Yes, sounds like a good idea to me. Go ahead and add it in >covariance_source.c if you have the 1-pass algorithm. A one-pass algorithm for this and also for polynomial least-squares can be = found at http://keithbriggs.info/pipemath.html. Keith=20 =09