Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4182
| X-Received | by 2002:a6b:ee16:: with SMTP id i22mr129437ioh.9.1555310772352; Sun, 14 Apr 2019 23:46:12 -0700 (PDT) |
|---|---|
| X-Received | by 2002:aca:c505:: with SMTP id v5mr16969038oif.111.1555310771998; Sun, 14 Apr 2019 23:46:11 -0700 (PDT) |
| Path | csiph.com!4.us.feeder.erje.net!feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!136no406162itk.0!news-out.google.com!w17ni553itb.0!nntp.google.com!b2no407375itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Sun, 14 Apr 2019 23:46:11 -0700 (PDT) |
| In-Reply-To | <q8vone$p69$1@solani.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2a02:a03f:54b2:9e00:d4e7:2fe2:cf88:e350; posting-account=6f4zEAoAAABcPGvJdTxtF_Mhoal-gK1d |
| NNTP-Posting-Host | 2a02:a03f:54b2:9e00:d4e7:2fe2:cf88:e350 |
| References | <09207591-2b4d-4b5a-8460-cec754f3496d@googlegroups.com> <q8vone$p69$1@solani.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <f7a4082c-dcba-4f62-ab69-0e04b315c311@googlegroups.com> (permalink) |
| Subject | Re: strange discrepancy between stats command result and fitting result |
| From | "hugocoolens@gmail.com" <hugocoolens@gmail.com> |
| Injection-Date | Mon, 15 Apr 2019 06:46:12 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Lines | 26 |
| Xref | csiph.com comp.graphics.apps.gnuplot:4182 |
Show key headers only | View raw
On Sunday, April 14, 2019 at 6:56:16 PM UTC+2, Karl Ratzsch wrote: > Am 14.04.2019 um 17:19 schrieb hugocoolens@gmail.com: > > I am puzzled by the following discrepancy between a stats command result and the result which I have from normal Gnuplot fitting: > > > f(x)=a*log10(x)+b > > a=-1.06 > > b=-4.78 > > fit [3e-3:1] f(x) datafile using ($1):($2) via a,b > > stats [3e-3:1] datafile using (log10($1)):($2) > > > > > > The Gnuplot fitting gives me y=ax+b, with the correct a=-1.16816 and b=-4.78604 > > But the stats-command gives: y = -3.104 x - 4.194 > > > Not problem with fit or stats, your range setting for stats was > wrong: you have to logarithmise it as well > > stats [log10(3e-3):log10(1)] $dat using (log10($1)):($2) > > and the linear model that comes out is y = -1.168 x - 4.786 > > ;-) Thanks a lot! kind regards, Hugo
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
strange discrepancy between stats command result and fitting result "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2019-04-14 08:19 -0700
Re: strange discrepancy between stats command result and fitting result Karl Ratzsch <mail.kfr@gmx.net> - 2019-04-14 18:56 +0200
Re: strange discrepancy between stats command result and fitting result "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2019-04-14 23:46 -0700
csiph-web