On 31/05/07, Anup Nandialath <[EMAIL PROTECTED]> wrote: > oops forgot the example example > > try this line > > sqrt(mahalanobis(all, colMeans(predictors), cov(all), FALSE) Hi and thanks for the reply Anup. Unfortunately, I had a look on the example before posting but not much of a help... I did some further tests and in order to have the same results I must run mahalanobis with the predictors only dataset, ie. mahalanobis(predictors, colMeans(predictors), cov(predictors)).
Now, on a first glance it seems to me a bit strange that the influence of these points on a regression are measured without taking into account the response variable (provided that the other stat software calculates the mahalanobis distances correctly).... but I guess this is something that I have to resolve by doing some studying on my own on the mahalanobis distance... thanks again. > > now cross check with other software > > best > > Anup > > > ________________________________ > No need to miss a message. Get email on-the-go > with Yahoo! Mail for Mobile. Get started. > > -- yianni ______________________________________________ R-help@stat.math.ethz.ch 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.