EVENTDS= System Option

Specifies one or more data sets that define events.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Input control: Data Processing
PROC OPTIONS GROUP= INPUTCONTROL
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

EVENTDS=(<DEFAULTS | NODEFAULTS> event-data-set-1 < ...event-data-set-n>)

Syntax Description

DEFAULTS
specifies to use the SAS predefined holiday events. This is the default.
NODEFAULTS
specifies not to use default event definitions. The only events that are used are specified by the event-data-set list.
event-data-set
specifies the name of a data set that contains event definitions. The data set can be specified as a one-level name, dataset, or a two-level name, libref.dataset.

Details

A SAS event is used to model any incident that disrupts the normal flow of the process that generated the time series. Examples of commonly used events include natural disasters, retail promotions, strikes, advertising campaigns, policy changes, and data recording errors. You can create your own set of events, or you can use events that are predefined by SAS.
The events that are defined in the event-data-set list appear in the Events Repository in SAS Forecast Studio. In SAS High-Performance Forecasting, you can use an event data set as a value for the INEVENT= option in the HPFDIAGNOSE and HPFENGINE procedures. In SAS/ETS, an event data set can be used by the INEVENT= option in the X12 procedure.
When you set the EVENTDS= option, all values that were specified by a previous EVENTDS= option are replaced. A new specification of the option is not appended to the value of the existing value. You can use this option to override the default events or to add or delete event data sets.
To create event data sets, see the HPFEVENTS procedure in the SAS High-Performance Forecasting User’s Guide.

Examples

Example 1

By default, the SAS predefined holiday events are valid events as long as NODEFAULTS is not specified in the EVENTDS= option. The valid events that are set using the following EVENTDS= option are the SAS predefined holiday events and the events that are specified in the events.WorldCup data set:
options eventds=(events.WorldCup);

Example 2

Because NODEFAULTS is specified, after the EVENTDS= option is set, the SAS predefined holiday events are not valid events. The only valid events are the events that are defined in the dubai_holidays data set:
options eventsds=(nodefaults dubai_holidays);

Example 3

Reset the valid events to the predefined list of SAS holiday events:
options eventds=(defaults);

See Also

SAS/ETS User’s Guide
SAS Forecast Studio User’s Guide
SAS High-Performance Forecasting: User’s Guide
System Options: