// //select variable command // //Syntax select [variables]; //Example 1 //Analysis for 5 subjects of school. //Read score by Subjects. get prinA.csv@;
push table button to show readed data
view input data of school subjects
//Execute correlation between subjects. corr math science language english society;
push analysis button to show output
View tree analysis. math and science corr is high.
//Transpose to applay principal composite. transpose math science language english society;
push table button to show transpose data
view transpose data of school subjects
//Save transpose data. put dat; //Execute principal composite. prin col_1 - 7; //select most 3 effecient eigen vectors. get freq@ana; select vector_0-2;
push table button to show transpose data
view 3 eigen vector of subjects
//Save selected 3 eigen vector to calcurate score of eigen value. put vec; //Calculate score by 3 eigen vectors. get dat; mxmult col_1-7 by vec; //Add subjects to score. merge dat by #; //Select 3 eigen vector and subject name. select vector_0-2 _items_;
push table button to show transpose data
view score of school subjects by 3D eigen vecotr.
//View location of subjects by 3D eigen vectors. plot scat vector_0-2 by _items_;
view relation between subjects in 3D eigen vector.