Kevin Dolan
07-24-2002, 09:03 AM
I have a problem which requires me to do two different fits with the same functions. Specifically, I call svdfit twice, both times with the same vector 'x' and the same function 'funcs', but with diferent vectors for 'y'.
My problem is this: When I feed the results of these two different fits into the function svdvar, I get the same covarience matrix for both fits, even though the vector 'y' that the fit is being made to is different. I am guessing that this must be a bug somewhere in my code, but I want to make sure that I am not seriously misunderstanding how these algorithms work.
Thanks,
Kevin Dolan
My problem is this: When I feed the results of these two different fits into the function svdvar, I get the same covarience matrix for both fits, even though the vector 'y' that the fit is being made to is different. I am guessing that this must be a bug somewhere in my code, but I want to make sure that I am not seriously misunderstanding how these algorithms work.
Thanks,
Kevin Dolan