MAHALANOBIS DISTANCE PreviousNext
Mplus Discussion > Confirmatory Factor Analysis >
Message/Author
 finnigan posted on Wednesday, March 14, 2012 - 3:16 pm
Linda

I'm using example 3.1 and would like to obtain MAHALANOBIS distance for outliers.

Where in the mplus code does SAVE=MAHALANOBIS go? I've inserted it after the model command and MPLUS issues a warning
ERROR in MODEL command
Unknown variables: SAVE=MAHALANOBIS
in line: SAVE=MAHALANOBIS

Thanks
 Linda K. Muthen posted on Wednesday, March 14, 2012 - 4:14 pm
It goes in the SAVEDATA command.
 finnigan posted on Wednesday, March 14, 2012 - 7:50 pm
Thanks
This worked. I saved the output to a file ,opened it in excel, but there is no heading indicating the p value
The example 3.1 has y1 x1 x3,but there are five colums outputed in the saved file. Which of these is the p value for the Mahalanobis distance.
 Linda K. Muthen posted on Wednesday, March 14, 2012 - 10:50 pm
To understand what is in the saved data file, see the end of the output where that is described.

You can also use Mahalanobis with the PLOT command. You can plot the Mahalanobis distance variable against another relevant variable to find outliers.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: