Previous Page | Next Page

The TPSPLINE Procedure

ODS Table Names

PROC TPSPLINE assigns a name to each table it creates. You can use these names to reference the table when using the Output Delivery System (ODS) to select tables and create output data sets. Table 90.2 lists these names. For more information about ODS, see Chapter 20, Using the Output Delivery System.

Table 90.2 ODS Tables Produced by PROC TPSPLINE

ODS Table Name

Description

Statement

Option

DataSummary

Data summary

PROC

Default

FitSummary

Fit parameters and
fit summary

PROC

Default

FitStatistics

Model fit statistics

PROC

Default

GCVFunction

GCV table

MODEL

LOGNLAMBDA, LAMBDA

By referring to the names of such tables, you can use the ODS OUTPUT statement to place one or more of these tables in output data sets.

For example, the following statements create an output data set named FitStats which contains the FitStatistics table, an output data set named DataInfo which contains the DataSummary table, an output data set named ModelInfo which contains the FitSummary table, and an output data set named GCVFunc which contains the GCVFunction table.

proc tpspline data=Melanoma;
   model Incidences=Year /LOGNLAMBDA=(-4 to 0 by 0.2);
   ods output FitStatistics = FitStats
              DataSummary   = DataInfo
              FitSummary    = ModelInfo
              GCVFunction   = GCVFunc;
run;
Previous Page | Next Page | Top of Page