楼主: windlover
|
2525
8
[原创博文] 求助:SAS中的偏最小二乘程序 |
学前班 60%
-
|
回帖推荐Syntax: PLS Procedure
The following statements are available in PROC PLS. Items within the angle brackets are optional.
PROC PLS ;
BY variables ;
CLASS variables ;
EFFECT name = effect-type ( variables ) ;
ID variables ;
MODEL dependent-variables = effects ;
OUTPUT OUT=SAS-data-set ;
To analyze a data set, you must use the PROC PLS and MODEL statements. You can use the ot ...
happyyes0602 发表于6楼 查看完整内容 proc pls data=sasuser.bbb nfac=4; model Y1 Y2 Y3 = X1 X2 X3 X4; run;
proc pls data=sasuser.bbb nfac=10 cv=testset(sasuser.bbb) cvtest(stat=press seed=1234); model Y1 Y2 Y3 = X1 X2 X3 X4; run;
ods listing;
生成X、Y、参数估计的程序 ods listing close; ods output PercentVariation = pctvar XWeights = xweights ...
本帖被以下文库推荐
| ||
| ||
| ||
| ||
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明