I have a function produced by a model, lets call it f(x). I want to compare data that I have observed, (x0,y1), (x1,y1), etc. with an associated error of del(y0), del(y1), etc.
So I have the solution, I just want to figure out the residual sum of squares with a weight factor attached to it.
I was wondering if there was a routine that would allow me to use the parameters that I have above that would produce a residual sum of squares.
Currently I've been trying to use routines in NumPy and SciPy, but if there are any routines located outside of these packages that may be helpful, I'll gladly try them out.
Thank you very much.
