Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1881
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: fitting to more than 5 variables |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2013-06-08 15:26 -0700 |
| Organization | gnuplot development team |
| Message-ID | <kp0aqp$hl9$1@dont-email.me> (permalink) |
| References | <481037c4-a6a8-45ed-8d33-e0d57a70a0cf@googlegroups.com> |
Followups directed to: comp.graphics.apps.gnuplot
trg818@gmail.com wrote:
> Hi,
> it seems that by default, the non-linear least squares fitting
> algorithm implemented in Gnuplot is restricted to at most 5
> independent variables. I have a dataset that I need to fit to 9
> independent variables. Is there a way to do this in Gnuplot, e.g., by
> setting some environment variable, or is there absolutely no way to
> achieve this? If it can't be done, are there plans to implement a
> method that allows for more flexibility, and what alternatives do I
> have? Thomas
Please show us the fit command you are trying to use,
and the error message it gives.
There is not a 5-parameter limit in defining a function.
E.g. this command is accepted
F(q1,q2,q3,q4,q5,q6,q7,q8,q9) = q1+q2+q3+q4+q5+q6+q7+q8+q9
Also there is not a 5-parameter limit in the "via" keyword.
E.g. this command is accepted
fit Q(x,y) using 1:2:3:(1) via q1,q2,q3,q4,q5,q6,q7,q8
Even the combination is accepted:
fit F(q1,q2,q3,q4,q5,q6,q7,q8,q9) 'foo.dat' using 1:2:3 \
via q1,q2,q3,q4,q5,q6,q7,q8,q9
So what limit have you encountered, exactly?
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
fitting to more than 5 variables trg818@gmail.com - 2013-06-07 17:18 -0700
Re: fitting to more than 5 variables sfeam <sfeam@users.sourceforge.net> - 2013-06-08 15:26 -0700
Re: fitting to more than 5 variables trg818@gmail.com - 2013-06-09 16:35 -0700
Re: fitting to more than 5 variables sfeam <sfeam@users.sourceforge.net> - 2013-06-10 16:28 -0700
Re: fitting to more than 5 variables sfeam <sfeam@users.sourceforge.net> - 2013-06-11 15:59 -0700
csiph-web