hoursvary: Usual hours vary, main job
Description
hoursvary
indicates whether or not the respondent's usual hours worked per week vary.
Availability
Sample |
Years |
Basic |
1994 - present |
ORG |
1994 - present |
Values
Value |
Label |
0 |
Hours do not vary |
1 |
Hours vary |
Code
Variable creation
*******************************************************************************
* Hours vary, primary job
*******************************************************************************
gen byte hoursvary = .
if $monthlycps == 1 {
if tm(1994m1) <= $date {
replace hoursvary = 0 if pehrusl1 >= 0
replace hoursvary = 1 if pehrusl1 == -4
}
}
lab var hoursvary "Usual hours vary, main job"
lab def hoursvary 0 "Hours do not vary" 1 "Hours vary"
lab val hoursvary hoursvary
notes hoursvary: Available 1994-present
notes hoursvary: 1994-present CPS: pehrusl1==-4