The HPPLS Procedure

Fitting a PLS Model

To isolate a few underlying spectral factors that provide a good predictive model, you can fit a PLS model to the 16 samples by using the following SAS statements:

proc hppls data=sample;
   model ls ha dt = v1-v27;
run;

By default, the HPPLS procedure extracts at most 15 factors. The default output from this analysis is presented in Figure 58.1 through Figure 58.3.

Figure 58.1 displays the "Performance Information," "Data Access Information," and "Model Information" tables.

The "Performance Information" table shows that PROC HPPLS executes in single-machine mode—that is, the model is fit on the machine where the SAS session executes. This run of the HPPLS procedure was performed on a multicore machine that has four CPUs; one computational thread was spawned per CPU.

The "Data Access Information" table shows that the input data set is accessed with the V9 (base) engine on the client machine where the MVA SAS session executes.

The "Model Information" table identifies the data source and shows that the factor extraction method is partial least squares regression (which is the default) and that the nonlinear iterative partial least squares (NIPALS) algorithm (which is also the default) is used to compute extracted PLS factors.

Figure 58.1: Performance, Data Access, and Model Information

The HPPLS Procedure

Performance Information
Execution ModeSingle-Machine
Number of Threads4

Data Access Information
DataEngineRolePath
WORK.SAMPLEV9InputOn Client

Model Information
Data SourceWORK.SAMPLE
Factor Extraction MethodPartial Least Squares
PLS AlgorithmNIPALS
Validation MethodNone


Figure 58.2 displays the "Number of Observations" and "Dimensions" tables. The "Number of Observations" table shows that all 16 of the sample observations in the input data are used in the analysis because all samples contain complete data. The "Dimensions" table shows the number of dependent variables, the number of effects, the number of predictor parameters, and the number of factors to extract.

Figure 58.2: Number of Observations and Dimensions

Number of Observations Read16
Number of Observations Used16

Dimensions
Number of Response Variables3
Number of Effects27
Number of Predictor Parameters27
Number of Factors15


Figure 58.3 lists the amount of variation, both individual and cumulative, that is accounted for by each of the 15 factors. All the variation in both the predictors and the responses is accounted for by only 15 factors because there are only 16 sample observations. More important, almost all the variation is accounted for with even fewer factors—one or two for the predictors and three to eight for the responses.

Figure 58.3: PLS Variation Summary

Percent Variation Accounted for by Partial Least Squares Factors
Number of
Extracted
Factors
Model EffectsDependent Variables
CurrentTotalCurrentTotal
197.4606897.4606841.9154641.91546
22.1829699.6436524.2435566.15900
30.1780699.8217024.5339390.69293
40.1197399.941433.7897894.48271
50.0414699.982891.0045495.48725
60.0105899.993472.2808497.76809
70.0016899.995151.1693598.93744
80.0009758699.996130.5041099.44153
90.0014299.997550.1229299.56446
100.0009703799.998520.1102799.67472
110.0003272599.998840.1522799.82699
120.0002933899.999140.1290799.95606
130.0002479299.999390.0312199.98727
140.0004274299.999810.0065199.99378
150.00018639100.000000.00622100.00000