初学sas请问下,我从数据库读取了很多列需要方差计算以其中一列作为分类,怎么计算全部列,或者给列加一个分组。还望赐教。
data lss.stu2;
merge oracle.sas_student oracle.sas_stu_information;
by stu_id;
drop autoid class_id stu_id comm autoid stu_id stu_name id sex stu_type nation place birthday score enrollment_id examinee_id address parent_information in_time college_id college professional grade class_name state
special_type campus transactions f_language dormitory graduation_type in_date graduation_id out_date political_outlook middle_school professional_id;
run;
proc glm data=lss.stu2;
class sex_en;
model a220000120=sex_en;
means sex_en/lsd;
run;
其中a220000120是其中一列 相同的列数有上百条。请问如何才能给列编一个组。如果一个一个输入实在需要耗费太大经历和时间。