A Singluar Covariance Matrix...

by Codewiz51 July 28, 2010 05:56

Wow!  It finally happened.  I managed to compute a covariance matrix from "real world" data that was singular. Cool The good news is that I found a failure in my row swapping logic for inverting a matrix.  The bad news is that no matter how I rearranged the rows of data, the determinant was always zero.

This just goes to show that singlular matrices may be rare in the "real world", but they do exist.  It also points out that my well thought out unit test wasn't. Embarassed  The term "failed spectacularly" comes to mind.

This problem goes back to the drawing board for further analysis.

Comments are closed

Powered by BlogEngine.NET 1.6.0.0
Theme by Mads Kristensen | Modified by Mooglegiant

Disclaimer

This blog represents my personal hobby, observations and views. It does not represent the views of my employer, clients, especially my wife, children, in-laws, clergy, the dog, the cats or my daughter's horse. In fact, I am not even sure it represents my views when I take the time to reread postings.

© Copyright 2008-2011