The HPFEVENTS Procedure

Functional Summary

Table 1 summarizes the statements and options that control the HPFEVENTS procedure.

Table 1: PROC HPFEVENTS Functional Summary

Description Statement Option
Statements
Specifies BY-group processing BY
Specifies an event combination EVENTCOMB
Specifies the event definition EVENTDEF
Specifies a group of events EVENTGROUP
Uses a predefined event definition EVENTKEY
Specifies the event data set EVENTDATA
Specifies the dummy variable data set EVENTDUMMY
Specifies the time ID variable ID
Specifies the variables to be copied to the dummy variable data set VAR
Data Set Options
Specifies the input data set PROC HPFEVENTS DATA=
Specifies an events input data set EVENTDATA IN=
Specifies an events output data set EVENTDATA OUT=
Condenses the events output data set EVENTDATA CONDENSE
Specifies a dummy variable output data set EVENTDUMMY OUT=
Specifies a starting time ID value ID START=
Specifies an ending time ID value ID END=
Specifies the format of the ID variable ID FORMAT=
Dummy Variable Format Options
Extends dummy variables past the end of the series PROC HPFEVENTS LEAD=
Specifies how to interpret missing values ID SETMISSING=
Specifies the frequency of the dummy variables ID INTERVAL=
Specifies interval alignment ID ALIGN=
Miscellaneous Options
Requests that variables in output data sets be in sorted order PROC HPFEVENTS SORTNAMES
Limits error and warning messages PROC HPFEVENTS MAXERROR=


Last updated: March 05, 2026