This does sound useful...do you want to make a patch? :-). For backwards compatibility it might be best to make a separate function that takes chi^2 and the data as input and computes R^2, rather than modify the existing api.
On Tue, Sep 25, 2007 at 12:12:49PM -0500, Barrett C. Foat wrote: > It would be handy if the gsl functions return R-sq. too, though, since it > is a more meaningful metric of the fit. > > On Tuesday 25 September 2007 11:52, Julian Winter wrote: > > Hi, > > > > Can anyone tell me how to get the R-square value from the GSL linear > > regression functions, specifically, gsl_multifit_linear and > > gsl_fit_linear? They only seem to return the chi-square. > > > > Thanks, > > > > Julian Winter > > GDA Corp. > > 200 Innovation Blvd., Suite 234 > > State College, PA 16803 > > 814-237-4060 (tel) > > 814-689-3375 (fax) > > [EMAIL PROTECTED] > > > > > > > > > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date: > > 9/25/2007 8:02 AM > > > > > > > > > > _______________________________________________ > > Help-gsl mailing list > > [email protected] > > http://lists.gnu.org/mailman/listinfo/help-gsl > > > _______________________________________________ > Help-gsl mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gsl > _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
