// //Static command // //This command outputs statistic infomation list by each category of explanation variable. //(Catuiton) //If explanation variable is numeric,variable is categorized automatically. //Syntax no explanations static [targets]; //Syntax with explanations count [target] by [explanation]; //Syntax using option count [target] by [explanation]/ [options] ; //Options [variable]:code //when variable type is numeric code,you have to define code. [variable]:continuous //when numeric type, you donnot need to define explicitly. [variable]:moji //when character type, you donnot need to define explicitly. [variable]:zero //if define zero,calcurate statistic of zero value category. [variable]:format=[filename] //if you define format file,you can categorize by format. //Exsample 1 without explanation variable. get iris@; static SepalL PetalL SepalW PetaLW; //Exsample 2 with explanation variable. get iris@; static SepalL by Species; //Exsample 3 with options. get bank@; static salay by jobcat/ jobcat:code ; // //You can use format in Freqency by making format. // //jobcat format 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_; get bank@; //Exsample 3 format version static salnow by jobcat/ jocat:format=jobcat_ ;