原文的要求如下:
It contains 10 measure (or variables) and a classification variable on the first 35 observations.
The objective is to use this data (the first 35 observations) to construct a classification function which will be able to classify new observations into group 1 or 2.
The method we will use is to construct W, where:
Where X is a vector of the 10 measures on each person we are trying to classify.
is a vector of means for the 10 measures of the observations in group 1.
is a vector of means for the 10 measures of the observations in group 2.
Sp is the pooled variance covariance matrix of the 10 measures on the observations in groups 1 and 2.
The decision rule is: Assign X to group 1 if W > 0, otherwise assign X to group 2. Please classify the last five observations in the file, observations 36-40. Print your results and SAS PROC IML code.