Relationship Between Methods for PROC HPPLS
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: HPPLSGS2 */
/* TITLE: Relationship Between Methods for PROC HPPLS */
/* PRODUCT: HPSTAT */
/* SYSTEM: ALL */
/* KEYS: Regression Analysis */
/* PROCS: HPPLS */
/* DATA: */
/* */
/* SUPPORT: Ning Kang */
/* REF: */
/* MISC: */
/* */
/****************************************************************/
/* Relationships Between Methods */
data data;
input x1 x2 y;
datalines;
3.37651 2.30716 0.75615
0.74193 -0.88845 1.15285
4.18747 2.17373 1.42392
0.96097 0.57301 0.27433
-1.11161 -0.75225 -0.25410
-1.38029 -1.31343 -0.04728
1.28153 -0.13751 1.00341
-1.39242 -2.03615 0.45518
0.63741 0.06183 0.40699
-2.52533 -1.23726 -0.91080
2.44277 3.61077 -0.82590
;
proc hppls data=data nfac=1 method=rrr;
model y = x1 x2;
run;
proc hppls data=data nfac=1 method=pcr;
model y = x1 x2;
run;
proc hppls data=data nfac=1 method=pls;
model y = x1 x2;
run;