I am trying to estimate parameters, 4 of them, by fitting a system of 3 ordinary differential equations. I am using a model published that was using 3 parameters and gave a good fit to the data, and I am trying to add a parameter to this (without changing the system of ODE, there is just a rate that is used twice, and I decided to make it two parameters instead).
More precisely, the system in question is: $$\left\{\begin{array} yy_1' = -\alpha(k_1+k_2)y_1 + \alpha k_2y_2\\ y_2' = \beta k_1y_1 - (\beta k_2 + k_4)y_3\\ y_3' = \gamma k_4y_2 - \delta y_3 \end{array} \right.$$ In the original model, $k_1=k_2$, but I wanted to try with different values.
Since with this change, I have now more parameters to fit (the $k_i, \ i=1,...,4$) than I have dependent variables ($y_i,\ i = 1,...,3$), I was wondering if it could have been the reason why I could not get a proper fit using nonlinear least squares, in the same way the authors had done.
I was trying to minimize the sum of the squared errors, namely: $$SSE(\theta) = \frac{1}{3N}\sum_{i=1}^3\sum_{j=0}^{N} (y_i(t_j,\theta)-\bar y_i(t_j))^2$$ with $\theta=(k_1,k_2,k_3,k_4)$ the parameters and $\bar y_i(t_j)$ the observations.
Turned out it was just a problem of the nonlinear least square problem being to hard for the algorithms and that using the log of the model and observations made it better conditioned. Namely, the problem of minimizing: $$SSE_{log}(\theta) = \frac{1}{3N}\sum_{i=1}^3\sum_{j=0}^{N} \Bigl(\ln\bigl(y_i(t_j,\theta)\bigr)-\ln\bigl(\bar y_i(t_j)\bigr)\Bigr)^2$$ was a much simpler task and I obtained a satisfying fit to my data.