Hello!!
I’m using mixOmics package for my master thesis project.
I’m using predict() function to predict, but I have some values in predict that are negative. I’m using as distance metric the mahalanobis distance.
I have two questions:
- Since the probability shouldn’t be negative, how could be possibile that I have some negative values? There’s something wrong that I could have done or this function could return negative values?
- What changes between predict and variates, both given by predict function?
Thank you!!
Sabrina