Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The TPSPLINE Procedure

OUTPUT Statement

OUTPUT OUT=SAS-data-set <keyword ... keyword > ;

The OUTPUT statement creates a new SAS data set containing 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 on the specifications in the OUTPUT statement are as follows.

OUT=SAS-data-set
specifies the name of the new data set to contain the diagnostic measures. This specification is required.

keyword
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 that 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.



The keywords and the statistics they represent are as follows:

RESID | R
residual values, calculated as
ACTUAL - PREDICTED

PRED
predicted values
STD
standard error of the mean predicted value
UCLM
upper limit of the confidence interval for the expected value of the dependent variables. By default, PROC TPSPLINE computes 95% confidence limits.
LCLM
lower limit of the confidence interval for the expected value of the dependent variables. By default, PROC TPSPLINE computes 95% confidence limits.

ADIAG
diagonal element of the hat matrix associated with the observation

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.