Use this feature to specify the first age group. Age is specified assuming an age unit ( AGEU ) of years . By default an age range of 0-65 years has been specified.This feature is available only when the Set Age Groups check box has been checked. You must specify this age group when the Set Age Groups box has been checked.You must specify a group definition using the following syntax 1 :
• Type “ Age ”“ Operator ”“ Value ” to specify individuals who are either below, at, or above a specific age.where the Operator is used to specify a comparison (see examples below) and the Value is the numeric age value in years.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 subjects that meet the condition(s) specified are included in the age group.
•
• Typing Age=65 creates a group containing only those subjects who are 65 years old.
• Typing Age<=65 creates a group containing only those subjects who are 65 years old or younger.
• Typing Age>=65 creates a group containing only those subjects who are 65 years old or older..
• Typing Age<65 creates a group containing only those subjects who are 64 years old or younger. The group does not include subjects who are 65 years old.
• Typing Age>65 creates a group containing only those subjects who are 66 years old or older. The group does not include subjects who are 65 years old.
• To specify a group that includes subjects whose ages lie within a specific range, you can combine definitions using a Boolean operator. Type ( Value1 )( Operator )( Age ) and ( Age )( Operator )( Value2 ) to specify an age range for the group.where Operator1 and Operator2 are used to specify the comparisons (see example below), Value1 and Value2 are the numeric age value in years that represent the lower and upper ends of the age range, respectively, and and is the Boolean operator. For example, to specify a group containing subjects who are between 30 and 65 years of age, inclusively, type Age>=30 and Age<=65 .
Please refer to The SAS WHERE Expression documentation for more information.