MathGroup Archive 2002

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

Search the Archive

Re: A question of Fit

  • To: mathgroup at
  • Subject: [mg32202] Re: [mg32177] A question of Fit
  • From: Sseziwa Mukasa <mukasa at>
  • Date: Sat, 5 Jan 2002 00:10:47 -0500 (EST)
  • Organization: JEOL (USA) Ltd.
  • Sender: owner-wri-mathgroup at

none wrote:

> I'd like to fit data of two independent variables, similar to the
> Fit[data, {1, x, y, TBD}, {x, y}]
> (data of the form      {{x1, y1, z1}, {x2, y2, z2}, ..., {xn, yn,
>      )
> I have enough knowledge of the data to state that
> z [x, 0]  = = x
> Is there a way to force a fitted function to pass through the known
> at y = = 0?
> Thanks,
> James Richitt

This is a constrained minimization problem.  Mathematica does not have a

built in facility for solving these problems (much to my chagrin).
There is
a book Practical Optimization Methods : With Mathematica Applications by
Asghar Bhatti published by Springer Verlag.  Since the example codes are

developed in Mathematica it may be useful to you.  Otherwise if you are
familiar with Mathlink I suggest using one of the publicly available
constrained optimization codes.



  • Prev by Date: Re: Length and Drop
  • Next by Date: Re: Length and Drop
  • Previous by thread: Re: A question of Fit
  • Next by thread: Length and Drop