1.极差标准化方法
经济统计分析中对正负指标标准化的一种处理方法:
sas计算:
proc sql; create table new as select (x-min(x))/(max(x)-min(x)) as z_x, (max(x)-x)/(max(x)-min(x)) as f_x from mydata; quit;
2.因子分析过程中综合得分的计算
网上有很多spss软件操作说明,sas的原理一样,先得出因子得分,在进行因子得分的加权。
proc factor data=raw score outstat=fact; run; proc score data=raw score=fact out=scores; run; data need; set scores(keep= factor1 factor2 ...); zonghescores= a*factor1+b*factor2+...;/*a,b,...,等系数proc factor过程得出*/ run;