Thank you for your help...

I try other data from my sampling but the determinant is very close to zero.
I also tried to generate random numbers using MATLAB and then calculate
S=var(x) to no avail. Could you please help me with a pseudo matrix of 4x4
that is gonna work with mahalanobis?

Thanks.. 
-- 
View this message in context: 
http://www.nabble.com/mahalanobis-distance-tp24569511p24576155.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to