I'm working on a least-squares problem with an overdetermined matrix, and I've noticed that changing the data very slightly leads to a huge change in my solution (in this case, plotting an elliptical path).
I suspect that this is because the changes in data cause the matrix to become very close to being rank-deficient, but I'm not sure how to confirm this. Is there a way to measure whether a matrix is "close" to being rank-deficient?
Edit: I've been thinking about how if they were square, perhaps the determinant of the altered matrix would be closer to zero than the original. Perhaps I could compute the determinants of each matrix multiplied by its transpose to achieve a similar conclusion? Or this just wishful thinking?