The TPSPLINE Procedure |
OUTPUT Statement |
The OUTPUT statement creates a new SAS data set that contains diagnostic measures calculated after fitting the model.
You can request a variety of diagnostic measures that are calculated for each observation in the data set. The new data set contains the variables specified in the MODEL statement in addition to the requested variables. If no keyword is present, the data set contains only the predicted values.
Details about the specifications in the OUTPUT statement are as follows.
specifies the name of the new data set to contain the diagnostic measures. This specification is required.
specifies the statistics to include in the output data set. The names of the new variables that contain the statistics are formed by using a prefix of one or more characters to identify the statistic, followed by an underscore (_), followed by the dependent variable name.
For example, suppose that you have two dependent variables—say, y1 and y2—and you specify the keywords PRED, ADIAG, and UCLM. The output SAS data set will contain the following variables:
P_y1 and P_y2
ADIAG_y1 and ADIAG_y2
UCLM_y1 and UCLM_y2
The keywords and the statistics they represent are as follows:
residual values, calculated as fitted values subtracted from the observed response values:
predicted values
standard error of the mean predicted value
upper limit of the Bayesian confidence interval for the expected value of the dependent variables. By default, PROC TPSPLINE computes confidence limits.
lower limit of the Bayesian confidence interval for the expected value of the dependent variables. By default, PROC TPSPLINE computes confidence limits.
diagonal element of the hat matrix associated with the observation
coefficients arranged in the order of , where is the number of unique data points. This option can be used only when there is only one dependent variable in the model.
Copyright © SAS Institute, Inc. All Rights Reserved.