In R you first need to import datafile "BodyMeasures.txt", define n to represent the sample size, and group your response variables into a set using cbind.
Make sure you have library MASS installed and perform a Linear Discriminant Analysis. CV=TRUE generates jacknifed (i.e., leave one out) predictions
Now assess the accuracy of the prediction by testing for the percent of the cases that are classified correctly, and the total percent correct
Display the results of a linear classifications two variables at a time.
|