Re: integration + Levenberg-Marquardt (Numerical Recipes)



Hello,

I am having problems getting my fitting function >derivatives correct
for the Levenburg-Marquardt fitting routine.

I have a differential in the following format:
dAB/dt = ka*A(Bo-AB) - kd*AB

additional:
A is constant
I'm fitting ka,Bo and kd

I am getting the integrated format of the formula via >numerical
integration (this is a test equation, they will get more >difficult).

The integration is correct when I test the resulting >data but I don't
know how to properly get parameter derivatives for the >fitting
function.

How do I generate the parameter derivatives (dyda in the >LM fitting
function) without the integrated form of the formula (i >only have it
numerically).

Thank you for any hints.

Jamie

Hi,

to get the dy/dp, you simultanously have to solve
the differential equation(s)
d/dt (dy/dp_i) = df/dp_i + df/dy * dy/dp_i
if the differential equation itself is given by
dy/dt = f(t,p,y(t,p)).
Here, the p_i are your unknown parameters.
This follows by differentiating the equation
dy/dt = f(t,p,y(t,p))
with respect to p_i and then interchanging the order
of differentiation on the left-hand side.

Most codes approximate the derivatives dy/dp by finite
differences.

Best wishes
Torsten.
.



Relevant Pages

  • integration + Levenberg-Marquardt (Numerical Recipes)
    ... I am having problems getting my fitting function derivatives correct ... I am getting the integrated format of the formula via numerical ... The integration is correct when I test the resulting data but I don't ...
    (sci.math.num-analysis)
  • Re: integration + Levenberg-Marquardt (Numerical Recipes)
    ... I am having problems getting my fitting function derivatives correct ... the differential equations for the g1,g2,g3 are obtained by differentiating ... also AB itselt enters) and integrate then as one system with your integrator ...
    (sci.math.num-analysis)
  • Re: Simple Question on Derivatives
    ... derivatives, and moreover you haven't specified what variable you are ... you are differentiating with respect to x, you will be dividing by zero. ... If, on the other hand, x and y are discrete numerical arrays, it still ... In this case the requirement of even spacing for the third ...
    (comp.soft-sys.matlab)
  • Re: Linear operators 3
    ... Why are you differentiating? ... You are given TWO FUNCTIONS f and g, with domain, and codomain ... you are going to use derivatives; to check that your proposed h also ... would recommend you quit giving me a hard time and quit your position ...
    (sci.math)
  • Re: Linear operators 3
    ... Do you know any way by which, given a CONTINUOUS function f, you can ... Why are you differentiating? ... You are given TWO FUNCTIONS f and g, with domain, and codomain ... you are going to use derivatives; to check that your proposed h also ...
    (sci.math)