Previous Page | Next Page

The COUNTREG Procedure

OUTPUT Statement

OUTPUT <OUT=SAS-data-set> <output-options> ;

The OUTPUT statement creates a new SAS data set containing all the variables in the input data set and, optionally, the estimates of , the expected value of the response variable, and the probability that the response variable will take on the current value. Furthermore, if a zero-inflated model was fit, you can request that the output data set contain the estimates of , and the probability that the response is zero as a result of the zero-generating process. These statistics can be computed for all observations in which the regressors are not missing, even if the response is missing. By adding observations with missing response values to the input data set, you can compute these statistics for new observations or for settings of the regressors not present in the data without affecting the model fit.

You can only specify one OUTPUT statement. OUTPUT statement options as follows:

OUT=SAS-data-set

names the output data set.

XBETA=name

names the variable containing estimates of .

PRED=name

names the variable containing the predicted value of the response variable.

PROB=name

names the variable containing the probability of the response variable taking the current value, Pr().

ZGAMMA=name

names the variable containing estimates of .

PROBZERO=name

names the variable containing the value that of , the probability that the response variable will take on the value of zero as a result of the zero-generating process. It is written to the output file only if the model is zero-inflated.

Previous Page | Next Page | Top of Page