First of all sorry but I am a little bit of a newbie to advanced stats hence why my question may sound silly.
I am trying to perform a classification task where I assume that my data is generated by a multivariate Gaussian distribution. For that purpose I estimate the covariance matrices from my sample data, but for some of the variables I am getting a non positive definite matrix. Could anyone provide me with a sound explanation to this (I understand I have some non linearly independent variables in my data probably?) and maybe a workaround so I can proceed?
cholcovin Matlab) I get the result that my matrix has at least one negative eigenvalue... Should I approach this the hard coded way and ditch the prebuilt functions? BTW thanks a lot for your help @whuber, I needed this discussion to move forward! – PL-RL Oct 12 '16 at 14:42