Re: 3D Data approximation
- To: mathgroup at smc.vnet.net
- Subject: [mg41530] Re: 3D Data approximation
- From: Antti Penttilä <Antti.I.Penttila at helsinki.fi>
- Date: Sat, 24 May 2003 01:07:38 -0400 (EDT)
- Organization: University of Helsinki
- References: <baiabe$dhn$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Martin Wieloch wrote:
> Dear All
>
> Please help me if you can in solving my problem with data
> approximation.
> It is probably simple but I have had Mathematica just for one week.
> I have got a set of experimental results {x,y,z} and I am trying
> to approximate (the least square method) them with a function of
> the form: a +a1x+a2x2+a3x3+a4x4+b1y+b2y2+b3y3+b4y4+cxy+c1x2y2
>
> Is there is any better function than FIT. I used the fit function
> to solve an example, but my results are slightly different from
> those I found in a book-I have obtained higher coefficients a, b, c.
>
> I will be very much grateful if someone can help me.
>
> Regards,
> Martin
>
>
Yes, there is a add-on package Statistics`LinearRegression`, and Regress
function in that package.
--
Antti Penttilä Antti.I.Penttila at helsinki.fi