Re: A question of Fit
- To: mathgroup at smc.vnet.net
- Subject: [mg32202] Re: [mg32177] A question of Fit
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Sat, 5 Jan 2002 00:10:47 -0500 (EST)
- Organization: JEOL (USA) Ltd.
- Sender: owner-wri-mathgroup at wolfram.com
none wrote:
> I'd like to fit data of two independent variables, similar to the
typical
>
> 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
points
> 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
M.
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.
Regards,
Ssezi