Skip to content

Person Type Coding in SOABM

Binny edited this page Mar 26, 2019 · 3 revisions

CT-RAMP Person Type Coding Logic

The CT-RAMP component of the SO-ABM assigns a person type to each person record in the input synthetic population. SO-ABM has the following 8 person types:

- Full Time Worker
- Part Time Worker
- University Student
- Non-Working Adult
- Retiree
- Driving Age Student
- Non-Driving Age Student
- PreSchooler

The person type coding process in CT-RAMP is a three step process. First, an employment category is assigned to each person. Next, a student category is assigned to each person. Finally, each person is assigned one of the eight person types.

The coding logic uses the following PUMS person-level variable from the input synthetic population:

Employment status recode

b .N/A (less than 16 years old)
1 .Civilian employed, at work
2 .Civilian employed, with a job but not at work
3 .Unemployed
4 .Armed forces, at work
5 .Armed forces, with a job but not at work
6 .Not in labor force

WKHP

Usual hours worked per week past 12 months
bb .N/A (less than 16 years old/did not work during the past 12 months)
01..98 .1 to 98 usual hours
99 .99 or more usual hours

WKW

Weeks worked during past 12 months
b .N/A (less than 16 years old/did not work during the past 12 months)
1 .50 to 52 weeks
2 .48 to 49 weeks
3 .40 to 47 weeks
4 .27 to 39 weeks
5 .14 to 26 weeks
6 .13 weeks or less

SCHG

Grade level attending
b .N/A (not attending school)
1 .Nursery school/preschool
2 .Kindergarten
3 .Grade 1 to grade 4
4 .Grade 5 to grade 8
5 .Grade 9 to grade 12
6 .College undergraduate
7 .Graduate or professional school

AGEP

Age
00 .Under 1 year
01..99 .1 to 99 years (Top-coded***)

Each person's employment and student category is used in deciding the person's type. The details of the logic used to code employment category, student category and person type are described below.

Please note: { } is a set, ( ) is an open range, [ ] is a closed range

1. Employment Category Coding Logic

CT-RAMP has the following 4 employment categories:

* 1: Employed FullTime
* 2: Employed PartTime
* 3: Age 16 and over and not employed
* 4: Under age 16

The following logic is applied to each person record in the order as shown below:

The code snippet below shows the CT-RAMP Java implementation of the above logic:

2. Student Category Coding Logic

CT-RAMP has the following 4 student categories:

* 1: Student in high school or lower (including nursery and preschool)
* 2: Student in trade school, college or higher
* 3: Not attending school 

The student category coding logic uses the employment category coded in the previous step. The following logic is applied to each person record in the order as shown below:

The code snippet below shows the CT-RAMP Java implementation of the above logic:

3. Person Type Coding Logic

The person type coding logic uses both the employment category and the student category to code the person type. The following logic is applied to each person record in the order as shown below:

The code snippet below shows the CT-RAMP Java implementation of the above logic:

Clone this wiki locally