The %MM_Countreg_Create_Scorecode
macro creates DATA step statements to compute the predicted values
of a model that you create using the COUNTREG procedure. Input to
the macro is the ODS output data set ParameterEstimates that is created
by the COUNTREG procedure. You can also specify the location to save
the score code and other macro output files, and prefix values for
the dependent variable and the variable for the probably of having
a zero-generating process.
Note: SAS Model Manager does not
support PROC COUNTREG models when VALIDVARNAME="ANY".
The score code generation
supports the following COUNTREG procedure features:
|
|
|
Character and numeric
class variables
|
|
Variable values are
used as is.
|
|
Effect specifications
that are allowed by the MODEL statement, including main effects, interactions,
and powers of continuous predictors. Only one MODEL statement can
be specified.
|
|
Effect specifications
that are allowed in the MODEL statement, including the intercept,
main effects, interactions, and powers of continuous predictors.
|
|
The offset variables
in the MODEL and ZEROMODEL statements are retrieved from the FitSummary
table.
|
ZEROMODEL statement
LINK function
|
The LOGISTIC and the
NORMAL link distribution functions that are allowed in the ZEROMODEL
statement.
|
BY-group processing
is not supported.