You can specify all options of the LSMEANS statement in the SLICE statement. The philosophy of the SLICE statement is to apply the analysis according to the options to the subsets of the matrix that correspond to chosen partitions.
The following behavior differences between the SLICE and the LSMEANS statement are noteworthy:
The specification of the model-effect is optional in the LSMEANS statement and required in the SLICE statement.
Only a single SLICE model-effect can be specified before the option slash (/). However, you can specify multiple partitioning rules with the SLICEBY option.
The MEANS option is the default for most procedures in the LSMEANS statement. For the SLICE statement, the default is the NOMEANS option.
Also, the three generalized linear modeling options: EXP , ILINK , and ODDSRATIO in the SLICE statement are additionally supported by PROC GLIMMIX and by PROC PLM when it is used to perform statistical analyses on item stores that were created by PROC GLIMMIX.
In addition to the options in the LSMEANS statement, you can specify the following options in the SLICE statement after the slash (/):