Event Definition
Use this text box to specify a definition for the event.
Definition Syntax:
You must specify an event definition using the following syntax:
Variable Operator Value
where the Variable is a column in the domain specified using the Findings Domain to Analyze parameter, the Operator is used to specify a comparison (see examples below) and the Value is some numeric or character value.
You can combine definitions using Boolean operators such as and or or.
For example, to define a Hypertension event, where the systolic blood pressure is greater than 140 and the diastolic pressure is greater than 90:
8 | Type SYSBP >= 140 and DIABP >= 90 in the text box. |
You can set multiple conditions for each definition. Enclose these compound definitions in parentheses. For example, if your data have occasional missing values (the symbol for missing values is typically a period (.)) and you would prefer to interpret missing values as meeting event criteria:
8 | Type (SYSBP >= 140 or SYSBP =.) and (DIABP >= 90 or DIABP = .) in the text box. |
Operators
Comparison operators (also called binary operators) compare a variable with a value or with another variable. Comparison operators propose a relationship and ask SAS to determine whether that relationship holds. Only observations that meet the condition(s) specified are included in the analysis.
The comparison operators, available to you are shown below.
Symbol |
Definition |
Example |
||||||
= or EQ |
|
|
||||||
^= or NE |
|
|
||||||
< or LT |
|
|
||||||
> or GT |
|
|
||||||
<= or LE |
|
|
||||||
>= or GE |
|
|
To Specify an Event Definition:
8 | Enter the definition in the text box. |