The fitted loess model is used to score the data in the specified
SAS data set. This data set must
contain all the regressor variables specified in the MODEL statement.
Furthermore, when a BY statement is used, the score data set must also
contain all the BY variables sorted in the order of the BY variables.
A SCORE statement is optional, and more than one SCORE statement
can be used. SCORE statements cannot be used if the DIRECT option is
specified in the MODEL statement. The
optional ID= (variable list) specifies ID variables to be
included in the "Score Results" table.
- SCORE <DATA=SAS-data-set> < ID=(variable list) >
< / options > ;
You find the results of the SCORE statement in the
"Score Results" table. This table contains all the data
in the data set named in the SCORE statement, including observations
with missing values. However, only those observations with
nonmissing regressor variables are scored. If no data set is
named in the SCORE statement, the data set named in the PROC LOESS
statement is scored. You use the PRINT option in the SCORE statement to request
that the "Score Results" table be displayed. You can place
the "Score Results" table in an output data set using
an ODS OUTPUT statement even if this table is not displayed.
The following options are available in
the SCORE statement after a slash (/).
requests that ) confidence limits on the mean predicted value be
added to the "Score Results" table. By default the 95% limits are
computed; the ALPHA= option
in the MODEL statement can be used to change the -level. The
use of this option implicitly selects the model option DFMETHOD=EXACT
if the DFMETHOD= option has not been explicitly used.
- PRINT < (variables )>
specifies that the "Score Results" table is to be displayed. By default
only the variables named in the MODEL statement, the variables listed in the ID
list in the SCORE statement, and the scored dependent
variables are displayed. The optional list in the PRINT
option specifies additional variables in the score data set that are to be
included in the displayed output. Note however that all columns
in the SCORE data set are placed in the SCORE results table,
even if you do not request that they be included in the displayed output.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.