Skip to content

multiple_race (constant)

Syntax

multiple_race

Description

A constant that evaluates to 9. Can be helpful if representing racial demographics in a variable. The numeric values of racial codes are as follows:

Racial Numeric Code Racial Text Code
0 unknown_race
1 white
2 african_american
3 american_indian
4 alaska_native
5 tribal
6 asian
7 hawaiian_native
8 other_race
9 multiple_race

Examples

Assuming race is a numeric variable following the convention described above, agents categorized as "multiple race" can be sent to the state Select with the following transition rule.

if (race == multiple_race) then next(Select)

See Also