factor1.sas
来自「SAS for Windows统计分析系统教程,里面有源码」· SAS 代码 · 共 17 行
SAS
17 行
options nodate nonumber;
data factor1(type=corr);
_type_='corr';
input _name_ $ x1 x2 x3 x4 x5 x6;
cards;
x1 1.0 0.8491 0.5106 0.2497 0.5285 0.3019
x2 0.8491 1.0 0.8062 0.5438 0.7887 0.6064
x3 0.5106 0.8062 1.0 0.7833 0.9284 0.8364
x4 0.2497 0.5438 0.7833 1.0 0.6457 0.9051
x5 0.5285 0.7887 0.9284 0.6457 1.0 0.7097
x6 0.3019 0.6064 0.8364 0.9051 0.7097 1.0
;
options linesize=64 pagesize=50;
proc factor data=factor1
method=principal n=2 rotate=varimax scree all;
run;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?