I have experimental data which follow the function below. $$f(x) = a_1 e^{-b_1 x} - a_2 e^{-b_2 x} + \epsilon$$ ($a_1$, $b_1$, $a_2$, $b_1$ are all positive real numbers. $\epsilon$ represents experimental error)
What I'd like to do is to estimate $a_1$, $b_1$, $a_2$, $b_2$ from the data. These are crucial for evaluating physical properties of samples.
If this was a function like $y = ax + b$, these constants could be estimated using linear regression model. However, this one is tricky. I've been dealing with this problem and haven't found an answer yet.
I tried Fourier transform to convert it to an easier form, which didn't work well.
Does anyone have a solution for this issue?
There are methods for non-linear parameter estimation, discussed in any numerical analysis textbook. Basically you define an error function, usually $e(a1,a2,b,b2)=\sum (f(x_i)-d_i)^2$ where $x_i$ are the points at which you have data and $d_i$ are the data points. You then minimize this function over the four variables. Your problem can be badly conditioned so it becomes hard to estimate the values-there are combinations of the variables that to not increase the error function much. Probably you can get more specific recommendations over at cross validated. There is a discussion and code in chapter 10 of Numerical Recipes, with obsolete versions free. I don't know if that is considered state of the art.