Hello.

I can't figure out how to do a nonlinear regression with two variables.

Like this sample:

data={{2,3,4},{3,4,5},{4,5,6}}

I want mathematica to find the best value of a and b:

4 = 3^a + 2^b , 5 = 4^a + 3^b , 6 = 5^a + 4^b

Thanks.

Printable View

- Apr 4th 2011, 09:53 AMrousfvNonlinear regression with two variables - Mathematica
Hello.

I can't figure out how to do a nonlinear regression with two variables.

Like this sample:

data={{2,3,4},{3,4,5},{4,5,6}}

I want mathematica to find the best value of a and b:

4 = 3^a + 2^b , 5 = 4^a + 3^b , 6 = 5^a + 4^b

Thanks.