Skip to content

samejob: Same employer as last month, at main job

Description

samejob indicates whether or not the respondent has the same employer as last month.

Availability

Sample Years
Basic 1994 - present
ORG 1994 - present

Values

Value Label
0 Not the same employer
1 Same employer

Code

Variable creation
*******************************************************************************
* Same job as last month
*******************************************************************************
gen byte samejob = .

if $monthlycps == 1 {
    if tm(1994m1) <= $date {
        replace samejob = 1 if puiodp1 == 1
        replace samejob = 0 if puiodp1 == 2
    }
}

lab var samejob "Same employer as last month, at main job"
lab def samejob 1 "Same employer" 0 "Not the same employer"
lab val samejob samejob
notes samejob: Available 1994-present
notes samejob: 1994-present CPS: puiodp1