public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* computing R-squared with gsl_multifit
@ 2007-09-25 19:46 Patrick Alken
  2007-09-26 15:52 ` Brian Gough
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Alken @ 2007-09-25 19:46 UTC (permalink / raw)
  To: gsl-discuss

Hi all,

  This is a continuation of the discussion from help-gsl on
computing the R^2 "coefficient of determination" for multi-parameter
fits. I think it would be a useful thing to have and I propose
that the best way to add it in would be to compute it in
gsl_multifit_linear and gsl_multifit_wlinear and store it in
the gsl_multifit workspace. Then provide a function like
gsl_multifit_linear_Rsq to return the value to the user. This
way we wouldn't need to change the api and the multifit_linear
routines would remain backwards compatible.

  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.

Patrick Alken

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-02  8:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-25 19:46 computing R-squared with gsl_multifit Patrick Alken
2007-09-26 15:52 ` Brian Gough
2007-09-26 16:18   ` Dirk Eddelbuettel
2007-09-26 16:26     ` Patrick Alken
2007-09-26 16:43       ` Dirk Eddelbuettel
2007-09-26 16:20   ` Patrick Alken
2007-10-02  8:35     ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).