ODS OUTPUT VariableImportancePlot=vip;
PROC IMPORT OUT= file_name
DATAFILE= “E:\000GraduationData\1PROSAIL\131128-PROSAIL_5B_MATLAB\PROSAIL_R0514.xlsx”
DBMS=EXCEL REPLACE;
SHEET='0514特征波段’n;
RANGE=‘B2:O34’;
GETNAMES=YES;
MIXED=NO;
SCANTEXT=YES;
USEDATE=YES;
SCANTIME=YES;
RUN;
PROC PLS cv=one method=pls cvtest details plots=vip;
model LAI=X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 /solution;
RUN;
PROC PRINT data=vip;
RUN;
ODS OUTPUT CLOSE;
代码都是英文符号,复制出去注意格式。用QIUT停止PLS。示例数据,这样还能显示变量投影重要性VIP的值。
选3个主成分?