I have an issue which I could not solve, although I tried and I got some help on R
forum.
I am trying to calculate Mahalanobis
distances on a data.frame
, where I have several hundreds of groups and several hundreds of variables.
Whatever I do, I get the system is computationally singular: reciprocal condition number
error.
It is clear that it is singular, but is there any way to get rid of it and run Mahalanobis
? Should I forget solve this using another approach? If yes, then what else to use?
I have uploaded the data file to my FTP: It is a tab delimited txt file with no headers.
I was working with the R
StatMatch Mahalanobis
(also tried stats Mahalanobis
) function. I have a deadline for this project (not a homework!), and I could always use this function, so I thought I will be able to keep the calculations short, but now I am lost.
Migrated from Stack Overflow.