sas里可以作,具体命令要看帮助(Help->using this window->搜索proc pls->Overview)。
语法如下:
The following statements are available in PROC PLS. Items within the brackets < > are optional.
- PROC PLS < options > ;
- BY variables ;
- CLASS variables < / option > ;
- MODEL dependent-variables = effects < / options > ;
- OUTPUT OUT= SAS-data-set < options > ;
To analyze a data set, you must use the PROC PLS and MODEL statements. You can use the other statements as needed.