Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10178 > unrolled thread
| Started by | Meriens <meriens@gmail.com> |
|---|---|
| First post | 2012-05-22 09:21 +0000 |
| Last post | 2012-05-23 07:30 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Non-trivial Non- linear fit Meriens <meriens@gmail.com> - 2012-05-22 09:21 +0000
Re: Non-trivial Non- linear fit danl@wolfram.com - 2012-05-23 07:30 +0000
| From | Meriens <meriens@gmail.com> |
|---|---|
| Date | 2012-05-22 09:21 +0000 |
| Subject | Non-trivial Non- linear fit |
| Message-ID | <jpflrj$ku5$1@smc.vnet.net> |
Hi, I've got a problem with a nonlinear fit. My function is this: B1= a1+b1/tr+c1/tr3 B2= a2+b2/tr+c2/tr3 B3=a3+b3/tr+c3/tr3 Btot=x*B1+y*B2+z*B3 I've got two dataset (some values are given below), one containing the Btot and Tr ed one containing x,y,z. My target is to make a regression to obtain the values a,b,c of every equation using only one regression. In other words, If I make a single regression for every x,y,z of the second dataset, my regressione will be indipendent and the coefficients will appear different for every regression. So I want find a way to make only one regression by changing into this operation Btot, Tr, x,y,z. So my coefficients will not be indipendent and for example the values of Btot and Tr of R11 will be associated with values of x,y, z corresponding to R11. I wish my explanation is clear. sorry for my english! Example of data: x y z R11 1 3 1 R12 1 2 2 R13 1 1 3 Tr B R11 0,506697 -1150,00 0,53028 -1070,00 0,601049 -862,00 R12 0,605006 -813 0,630972 -732 0,656938 -666 R13 0,871358 -251,4 0,90447 -233,5 0,937583 -217,2 MaryRam
[toc] | [next] | [standalone]
| From | danl@wolfram.com |
|---|---|
| Date | 2012-05-23 07:30 +0000 |
| Message-ID | <jpi3nd$4sr$1@smc.vnet.net> |
| In reply to | #10178 |
On Tuesday, May 22, 2012 4:21:55 AM UTC-5, Meriens wrote: > Hi, I've got a problem with a nonlinear fit. > My function is this: > B1= a1+b1/tr+c1/tr3 > B2= a2+b2/tr+c2/tr3 > B3=a3+b3/tr+c3/tr3 > Btot=x*B1+y*B2+z*B3 > I've got two dataset (some values are given below), one containing the Btot and Tr ed one containing x,y,z. My target is to make a regression to obtain the values a,b,c of every equation using only one regression. > In other words, > If I make a single regression for every x,y,z of the second dataset, my regressione will be indipendent and the coefficients will appear different for every regression. > So I want find a way to make only one regression by changing into this operation Btot, Tr, x,y,z. So my coefficients will not be indipendent and for example the values of Btot and Tr of R11 will be associated with values of x,y, z corresponding to R11. > I wish my explanation is clear. sorry for my english! > Example of data: > > > x > y > z > R11 > 1 > 3 > 1 > R12 > 1 > 2 > 2 > R13 > 1 > 1 > 3 > > > > > Tr > B > R11 > 0,506697 > -1150,00 > > 0,53028 > -1070,00 > > 0,601049 > -862,00 > R12 > 0,605006 > -813 > > 0,630972 > -732 > > 0,656938 > -666 > R13 > 0,871358 > -251,4 > > 0,90447 > -233,5 > > 0,937583 > -217,2 > > MaryRam For simultaneous data fitting, see references available at http://forums.wolfram.com/mathgroup/archive/2011/Sep/msg00555.html Also might have a look at http://mathematica.stackexchange.com/questions/866/simultaneously-fitting-multiple-datasets Daniel Lichtblau Wolfram Research
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web