requests that only one common package be created to contain all the scoring functions.
If you specify this option, then all the scoring functions are created in a package called sevfit. For each distribution function that has the name distribution_suffix, the name of the corresponding scoring function is formed as SEV_suffix_distribution. For example, the scoring function of the distribution function 'MYDIST_BAR' is named 'SEV_BAR_MYDIST'.
If you do not specify this option, then all scoring functions for a distribution are created in a package that has the same
name as the distribution, and for each distribution function that has the name distribution_suffix, the name of the corresponding scoring function is formed as SEV_suffix. For example, the scoring function of the distribution function 'MYDIST_BAR' is named 'SEV_BAR'.
names the output data set to contain the unique identifier for each BY group. This unique identifier is used as part of the
name of the package or scoring function for each distribution. This is a required option when you specify a BY statement in
PROC HPSEVERITY.
The OUTBYID= data set contains one observation per BY group and a variable named _ID_ in addition to the BY variables that
you specify in the BY statement. The _ID_ variable contains the unique identifier for each BY group. The identifier of the
BY group is the decimal representation of the sequence number of the BY group. The first BY group has an identifier of 1,
the second BY group has an identifier of 2, the tenth BY group has an identifier of 10, and so on.
If you do not specify the COMMONPACKAGE option in the OUTSCORELIB statement, then for each distribution, PROC HPSEVERITY creates
as many packages as the number of BY groups. The unique BY-group identifier is used as a suffix for the package name. For
example, if your DATA= data set has three BY groups and if you specify the OUTSCORELIB statement
outscorelib outlib=sasuser.byscorefunc outbyid=sasuser.byid;
then for the distribution 'MYDIST', the Sasuser.Byscorefunc
library contains the three packages 'MYDIST1', 'MYDIST2', and 'MYDIST3', and each package contains one scoring function named
'SEV_BAR' for each distribution function named 'MYDIST_BAR'.
If you specify the COMMONPACKAGE option in the OUTSCORELIB statement, PROC HPSEVERITY creates as many versions of the distribution
function as the number of BY groups. The unique BY-group identifier is used as a suffix for the function name. Extending the
previous example, if you specify the OUTSCORELIB statement with the COMMONPACKAGE option,
outscorelib outlib=sasuser.byscorefunc outbyid=sasuser.byid commonpackage;
then for the distribution function 'MYDIST_BAR' of the distribution 'MYDIST', the Sasuser.Byscorefunc
library contains the following three scoring functions: 'SEV_BAR_MYDIST1', 'SEV_BAR_MYDIST2', and 'SEV_BAR_MYDIST3'. All
the scoring functions are created in one common package named sevfit.
For both the preceding examples, the Sasuser.Byid
data set contains three observations, one for each BY group. The value of the _ID_ variable is 1 for the first BY group,
2 for the second BY group, and 3 for the third BY group.