// //handin data command // //This command is used to define data directly. //(Quation) //If code data which is represented by integer,you must set '*' to front of valiable name. //example id -> *id //Syntax hand [variables]/ [datas] ; //Example 1 χ二乗検定 //hand in data about cross table which is count by 4 category and 3stat. hand c1 - 4 stat/ 21 32 31 28 good 10 21 18 25 even 7 13 12 22 bad ;
//Execute χ二乗検定 chisqt c1 -4; plevel=0.05 ;
//Example 2 make format file by hand command. //Since id is integer code, put '*' to from of variable name 'id'. hand *id idnm/ 1 1:stuff 2 2:trainning 3 3:gardman 4 4:specialist 5 5:director 6 6:MBA 7 7:engineer ; put jobcat_;
//Read a bank worker data in USA with job_category. get bankR.csv@; //Get count of workers by job_category with category name. count jobcat/ jobcat:format=jobcat_ ;