Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The LOESS Procedure

Syntax

The following statements are available in PROC LOESS:

PROC LOESS <DATA=SAS-data-set> ;

MODEL dependents=regressors < / options > ;
ID variables ;
BY variables ;
WEIGHT variable ;
SCORE DATA=SAS-data-set < ID=(variable list) > < / options > ;

The PROC LOESS and MODEL statements are required. The BY, WEIGHT, and ID statements are optional. The SCORE statement is optional, and more than one SCORE statement can be used.

The statements used with the LOESS procedure, in addition to the PROC LOESS statement, are as follows.

BY
specifies variables to define subgroups for the analysis.

ID
names variables to identify observations in the displayed output.

MODEL
specifies the dependent and independent variables in the loess model, details and parameters for the computational algorithm, and the required output.

SCORE
specifies a data set containing observations to be scored.

WEIGHT
declares a variable to weight observations.


PROC LOESS Statement

BY Statement

ID Statement

MODEL Statement

SCORE Statement

WEIGHT Statement

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.