whyunemp: Reason for unemployment
Description
whyunemp
describes the reason the respondent is unemployed.
Availability
Sample |
Years |
Basic |
1994 - present |
ORG |
1994 - present |
Values
Value |
Label |
1 |
Job loser/on layoff |
2 |
Other job loser |
3 |
Temporary job ended |
4 |
Job leaver |
5 |
Re-entrant |
6 |
New-entrant |
Code
Variable creation
*******************************************************************************
* Reason for unemployment
*******************************************************************************
gen byte whyunemp = .
if $marchcps == 1 {
if tm(1994m1) <= $date & $date <= tm(1997m12) {
replace whyunemp = runtype
replace whyunemp = . if whyunemp == -1
}
if tm(1998m1) <= $date {
replace whyunemp = pruntype
replace whyunemp = . if whyunemp == -1
}
}
if $monthlycps == 1 {
if tm(1994m1) <= $date {
replace whyunemp = pruntype
replace whyunemp = . if whyunemp == -1
}
}
lab var whyunemp "Reason for unemployment"
#delimit ;
lab def whyunemp
1 "Job loser/on layoff"
2 "Other job loser"
3 "Temporary job ended"
4 "Job leaver"
5 "Re-entrant"
6 "New-entrant"
;
#delimit cr
lab val whyunemp whyunemp
notes whyunemp: 1994-present CPS: pruntype