PLS Syntax - Examples
Below are links to examples of PLS syntax specifications for various common designs; refer to the PLS Syntax Overview for details concerning the PLS syntax. For additional examples, also refer to the GLM Syntax Examples. For details concerning the options available in PLS, see also the Introductory Overview or the Partial Least Squares (PLS) Index.
In practically all cases, the most efficient way to write PLS syntax is to use the Quick-specs dialog boxes. Specifically, from the Startup Panel, select the desired design in the Type of analysis list, and Quick-specs dialog as the Specification method; then click OK to display the respective Quick-specs dialog box. Note that when selecting a Type of analysis, it is not necessary that your design matches exactly the chosen type of design. For example, if you want to exclude certain effects from a factorial ANOVA design, choose Factorial ANOVA from the Startup Panel, specify the full factorial design, click the More button, and then select Syntax editor. The syntax for the full factorial design (as specified in the Quick-specs dialog box) will be written out to the syntax editor, and you can modify the Design statement to customize the design (e.g., to drop effects).
Visual Partial Least Squares Syntax Examples
General Linear Models (GLM) Syntax Examples
Many of the General Linear Model (GLM) Syntax Examples can be run with minor modifications in PLS as well. However, remember that the following GLM features and options are not available in PLS:
- No choice of methods for partitioning the sums of squares is available (see also Six types of sums of squares for details);
- No within-subject (repeated measures) designs are available;
- No mixed-model ANOVA (with random effects) is available.