Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #802

Re: Calculate R-squared value from gnuplot 'fit' output?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!t30g2000vbx.googlegroups.com!not-for-mail
From ab <ab.3942@googlemail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Calculate R-squared value from gnuplot 'fit' output?
Date Mon, 2 Jan 2012 00:37:56 -0800 (PST)
Organization http://groups.google.com
Lines 16
Message-ID <5a11567f-08f0-406d-becf-73dcf79c02f3@t30g2000vbx.googlegroups.com> (permalink)
References <9d8f352e-5f07-45c2-8eee-1fa5c58eeba0@f33g2000yqh.googlegroups.com> <f9c8ad34-7845-4b94-9138-c7d9a5efc6cf@d8g2000vbb.googlegroups.com>
NNTP-Posting-Host 194.99.122.193
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1325493477 15998 127.0.0.1 (2 Jan 2012 08:37:57 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Mon, 2 Jan 2012 08:37:57 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info t30g2000vbx.googlegroups.com; posting-host=194.99.122.193; posting-account=aUX_SgoAAAANFc1Z3AbGx-co6QimaYdU
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order ARLEUHNKC
X-HTTP-UserAgent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:802

Show key headers only | View raw


>
> Why does that take 3 iterations? That is just a linear LS problem?
> Linear LS regression has an analytical solution, i.e. with normal
> equations.
> Solution should be either intelligent starting values or one iteration
> from

Hi,

You can force the fit  to converge in one iteration by using
FIT_START_LAMBDA=1.e-15
FIT_MAXITER=1
This is only suited for a linear model.

A better way is the stats command in gnuplot 4.5.
The correlation coefficient  r is calculated directly.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Calculate R-squared value from gnuplot 'fit' output? Mike <mesimms@gmail.com> - 2011-12-28 12:14 -0800
  Re: Calculate R-squared value from gnuplot 'fit' output? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-12-28 22:11 +0100
  Re: Calculate R-squared value from gnuplot 'fit' output? wolfgang <cmat.wolfgang@gmail.com> - 2011-12-29 00:17 -0800
    Re: Calculate R-squared value from gnuplot 'fit' output? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-12-29 12:39 +0100
    Re: Calculate R-squared value from gnuplot 'fit' output? ab <ab.3942@googlemail.com> - 2012-01-02 00:37 -0800
  Re: Calculate R-squared value from gnuplot 'fit' output? benjamin.chen@aztopia.com - 2013-11-04 19:17 -0800
    Re: Calculate R-squared value from gnuplot 'fit' output? Karl <mail.kfr@gmx.net> - 2013-11-05 14:14 +0100
      Re: Calculate R-squared value from gnuplot 'fit' output? ooe@st-andrews.ac.uk - 2014-12-10 16:09 -0800
        Re: Calculate R-squared value from gnuplot 'fit' output? ali.a.abedi@gmail.com - 2015-01-26 11:32 -0800
          Re: Calculate R-squared value from gnuplot 'fit' output? thiagopaes@gmail.com - 2016-07-08 12:58 -0700
            Re: Calculate R-squared value from gnuplot 'fit' output? luis.blacutt@gmail.com - 2016-07-15 08:29 -0700
              Re: Calculate R-squared value from gnuplot 'fit' output? armin@armbrusters.name - 2017-02-21 12:40 -0800
  Re: Calculate R-squared value from gnuplot 'fit' output? henryxparker@gmail.com - 2017-10-13 10:25 -0700
    Re: Calculate R-squared value from gnuplot 'fit' output? Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-13 19:53 +0200
      Re: Calculate R-squared value from gnuplot 'fit' output? ruben safir <ruben@mrbrklyn.com> - 2017-10-24 17:35 -0400
        Re: Calculate R-squared value from gnuplot 'fit' output? Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-25 09:27 +0200

csiph-web