Select the method of your choice.

Minitab uses the nonlinear iterative partial least squares (NIPALS) algorithm developed by Herman Wold^{1} to solve problems associated with ill-conditioned data. PLS reduces the number of predictors by extracting uncorrelated components based on the covariance between the predictor and response variables. PLS is similar to principal components regression and ridge regression, but varies in its computational method.

The PLS algorithm produces a sequence of models, where each consecutive model contains one additional component. Components are calculated one at a time, starting with the standardized x- and y-matrix. Subsequent components are calculated from the x- and y-residual matrix; iterations stop upon reaching the maximum number of components or when x-residuals become the zero matrix. If the number of components equals the number of predictors, the PLS model equals the least squares regression model. Cross-validation is used to identify the number of components that minimizes prediction error.

PLS performs decomposition on both predictors and responses simultaneously. After Minitab determines the number of components and calculates the loadings, it calculates the regression coefficients for each predictor. For more detailed information on PLS and NIPALS see^{2}^{3}^{4}.

Calculates the predictive ability of potential models to help you determine the appropriate number of components to retain in your model. When the data contain multiple response variables, Minitab validates the components for all responses simultaneously.

For each potential model, Minitab:

- Omits one observation or group of observations, depending on the cross-validation method you use.
- Recalculates the model without the observation/group of observations.
- Predicts the response, or the cross-validated fitted value, for the omitted observation/group of observations using the recalculated model and calculates the cross-validated residual value.
- Repeats steps 1-3 until all observations have been omitted and fit.
- Calculates the prediction sum of squares (PRESS) and predicted R
^{2}values.

After performing steps 1-5 for each model, Minitab selects the model with the number of components that produces the highest predicted R^{2} and lowest PRESS. With multiple response variables, Minitab selects the model with the highest average predicted R^{2} and lowest average PRESS.