The following statements are available in the ROBUSTREG procedure:
PROC ROBUSTREG
<options> ;
BY
variables ;
CLASS
variables ;
EFFECT
name=effect-type(variables </ options>) ;
ID
variables ;
MODEL
response = <effects> </ options> ;
OUTPUT
<OUT=SAS-data-set> keyword=name <…keyword=name> ;
PERFORMANCE
<options> ;
TEST
effects ;
WEIGHT
variable ;
The PROC ROBUSTREG statement invokes the procedure. The METHOD= option in the PROC ROBUSTREG statement selects one of the four estimation methods, M, LTS, S, and MM. By default, Huber M estimation is used. The MODEL statement is required and specifies the variables used in the regression. Main effects and interaction terms can be specified in the MODEL statement, as in the GLM procedure (Chapter 42: The GLM Procedure.) The CLASS statement specifies which explanatory variables are treated as categorical. The ID statement names variables to identify observations in the outlier diagnostics tables. The WEIGHT statement identifies a variable in the input data set whose values are used to weight the observations. The OUTPUT statement creates an output data set that contains final weights, predicted values, and residuals. The TEST statement requests robust linear tests for the model parameters. The PERFORMANCE statement tunes the performance of the procedure by using single or multiple processors available on the hardware. Multiple OUTPUT and TEST statements are permitted.