This example illustrates the specification for a SIMPLS (see Introductory Overview) multiple regression problem with two dependent variables and categorical predictors. In this example, we also assume that we are interested in first 10 components of PLS.

Note that brief descriptive comments are enclosed in curly brackets. You can run this example with the example data file Exp.sta.

PLS;

{ Dependent variable list: }

{ Specification of grouping variables (factors); note that

{ Specification of continuous predictor variables (covariates) }

{ Here the bar operator is used to construct the full factorial

{ The maximum number of components to be extracted is set

For more examples, see PLS Syntax - Examples.