[R] Fitting of Non-Linear Diff Equations and Parameter Estimation

Woodrow Setzer wsetzer at mindspring.com
Thu Oct 27 20:46:05 CEST 2005


Raja Jayaraman <rajnmsu79 <at> gmail.com> writes:

> 
> Hello Everybody,
> I am running R 2.2.0 with Windows XP
> i am trying to fit nonlinear differential equation to data sets which looks
> like this:
[SNIP]
>  and i need to fit these data to the following diff equation:
> dNdt=a*N-b*N*C, dCdt=N^2,
> Where a=birth rate, b=death rate and N= Current count, C= Cumulative Count.
> i need to fit the differential equation, solve and obtain parameters a,b.
> can someone help with this,
> Thanks
> Raj

Try looking at the package odesolve for solving the ode system.

Woody Setzer
National Center for Computational Toxicology
US EPA




More information about the R-help mailing list