Skip to content
Prev 309047 / 398513 Next

system is computationally singular: reciprocal condition number

On Fri, Oct 26, 2012 at 12:14 PM, langvince <langv at purdue.edu> wrote:

            
It's a singular matrix.  The data matrix has rank 300 according to
either qr() or svd().  The 301st singular value is about ten orders of
magnitude smaller than the 300th one.

The problem is the rounding of the values -- if you take 372 vectors
in 380-dimensional space they should be linearly independent, but if
you force them to lie on a relatively coarse grid there are quite
likely to be linear dependencies.  When I add random noise in the
fourth decimal place, the matrix stops being singular.

     -thomas


    -thomas