MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re : problem with NonlinearFit

  • To: mathgroup at
  • Subject: [mg4759] Re : [mg4705] problem with NonlinearFit
  • From: erase at
  • Date: Fri, 13 Sep 1996 13:54:46 -0400
  • Sender: owner-wri-mathgroup at

Brian O'NEILL" <oneill at> wrote

I am having the following problem with the NonlinearFit function, and would
appreciate any tips you might have. (I have appended sample Mathematica code

My goal is to fit a non-monotically decreasing time series with a
monotonically decreasing function (specifically, a sum of decaying
exponenitials plus a constant).  I am approaching the problem by using
NonlinearFit and specifying a general functional form, then attempting to
constrain the search to non-negative coefficients and non-positive
exponents.  However, in general I have run into the following problems:

(1) NonlinearFit will accept parameter specifications of the form {x,xo}, or
of the form {x,minx,maxx}, but not of the form {x,xo,xmin,xmax}.  This means
I can constrain the variables, but I can't start from different points to
test robustness.

(2)The routine stops when it tries to search outside the constraints instead
of continuing the search in a different direction, so that it is important
to be able to specify different initial values to look elsewhere.

May be it is possible to try a classical trick  (Walter et Pronzato
Identification de modeles parametriques, Masson, Paris, 1994, p. 67, but it
is in french !)

- In the general functional fn change non-negative parameter ai by  Exp[Ai]
- Find Ai by fiting data with parameter specification of the form {Ai,Ai0}
- find ai with ai =3D Exp[Ai] , so 0 < ai < Infinity

Hope this works


ERASE / Etude et Recherches en Analyse des Systemes Electrochimiques
J.-P. Diard, B. Le Gorrec, C. Montella
Laboratoire d'Electrochimie et de Physicochimie des Mat=E9riaux et Interface=
UMR.CNRS ENSEEG 1130 Rue de la piscine B.P. 75 X
38402 Saint Martin d'Heres
Tel. (33) 76 82 65 23  Telecopie (33) 76 82 66 30 email: erase at


  • Prev by Date: package loading via link
  • Next by Date: A Few Questions
  • Previous by thread: Re: package loading via link
  • Next by thread: A Few Questions