The TIMEID Procedure

PROC TIMEID Statement

PROC TIMEID options ;

The following options can be used in the PROC TIMEID statement:

DATA=SAS-data-set

names the SAS data set that contains the input data for the procedure. If the DATA= option is not specified, the most recently created SAS data set is used.

MAXERROR=number

limits the number of warning and error messages produced during the execution of the procedure to the specified value. The default is MAXERRORS=50. This option is particularly useful in BY-group processing where it can be used to suppress recurring messages.

NBYOBS=number

limits the number of observations that are used to analyze the time ID variable. The NBYOBS= option should be used instead of the OBS= data set option when BY variables are specified. The NBYOBS= option excludes observations from incomplete BY groups in the analysis. This option guarantees that any truncation of the DATA= data set occurs at a BY-group boundary. Only BY groups that are completely contained within the first number of observations are processed. When the NBYOBS= option is omitted, all observations are processed.

OUTFREQ=SAS-data-set

names the output data set to contain the frequency counts of each unique value of the time ID variable. The frequency counts are performed on time ID values that are recorded in the DATA= data set. The time ID values are not aligned with respect to an interval prior to computation of the frequency counts. See the section OUTFREQ= Data Set for details.

OUTINTERVAL=SAS-data-set

names the output data set to contain the time ID interval information that is summarized across all BY groups in the DATA= data set. See the section OUTINTERVAL= Data Set for details.

OUTINTERVALDETAILS=SAS-data-set

names the output data set to contain the time ID interval information for each BY group. See the section OUTINTERVALDETAILS= Data Set for details.

PLOT(global-option)=request-option | (request-options)

specifies the graphical output desired. By default, the TIMEID procedure produces no graphical output. The following global-options are available:

UNPACK | UNPACKPANELS

suppresses paneling.

By default, multiple plots can appear in some output panels. Specify UNPACKPANELS to get each plot in a separate panel. The following plot request-options are available:

COUNTS | INTCNTS | INTERVALCOUNTS

plots a histogram of the time ID interval counts.

OFFSETS

plots a histogram of the time offsets for the time ID values.

PERIODS | SPANS

plots a histogram of the spans between adjacent time ID values.

VALUES

plots a panel of the counts, offsets, and spans for each of the time ID values.

ALL

is equivalent to specifying PLOT=(INTERVALCOUNTS SPANS OFFSETS VALUES).

See the section Time ID Diagnostics for details.

PRINT=option | (options)

specifies the printed output desired. By default, the TIMEID procedure produces no printed output. The following printing options are available:

COUNTS | INTCNTS | INTERVALCOUNTS

prints a table that contains the counts of time ID values per interval.

INTERVAL

prints a summary of information about the time interval.

OFFSETS

prints a table that contains the time offsets for the time ID values.

PERIODS | SPANS

prints tables that contain statistics on the spans between adjacent time ID values.

VALUES

prints tables that contain offset span and count information for the time ID values.

ALL

is equivalent to specifying PRINT=(INTERVALCOUNTS SPANS INTERVAL OFFSETS VALUES).

See the section Time ID Diagnostics for details.