From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31454 invoked by alias); 26 Sep 2007 15:52:39 -0000 Received: (qmail 31445 invoked by uid 22791); 26 Sep 2007 15:52:38 -0000 X-Spam-Check-By: sourceware.org Received: from network-theory.com (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Sep 2007 15:52:34 +0000 Date: Wed, 26 Sep 2007 15:52:00 -0000 Message-ID: From: Brian Gough To: gsl-discuss@sourceware.org Reply-To: gsl-discuss@sourceware.org Subject: Re: computing R-squared with gsl_multifit In-Reply-To: <20070925194628.GA22578@hippogriff.physics.drexel.edu> References: <20070925194628.GA22578@hippogriff.physics.drexel.edu> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: fee20a9aa60442bf9249d285c1009a25 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-q3/txt/msg00042.txt.bz2 At Tue, 25 Sep 2007 13:46:28 -0600, Patrick Alken wrote: > Computing the value would require adding about 4-5 lines of > code and it can be computed at the same time as chisq so there > doesn't have to be an extra loop added in. Hello, I think I'd prefer not to have results passed back through the workspace, it's not really part of the design -- a separate function is better, as for the correlation coefficient. A question: is the formula the same for both weighted and unweighted fits? -- Brian Gough