[SciPy-User] Generalized least square on large dataset

Peter Cimermančič peter.cimermancic@gmail....
Wed Mar 7 20:39:17 CST 2012


I'd like to linearly fit the data that were NOT sampled independently. I
came across generalized least square method:


X and Y are coordinates of the data points, and V is a "variance matrix".

The equation is Matlab format - I've tried solving problem there too, bit
it didn't work - but eventually I'd like to be able to solve problems like
that in python. The problem is that due to its size (1000 rows and
columns), the V matrix becomes singular, thus un-invertable. Any
suggestions for how to get around this problem? Maybe using a way of
solving generalized linear regression problem other than GLS?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120307/a296c7a8/attachment.html 

More information about the SciPy-User mailing list