minsamp: Month in sample

Description

minsamp is the month in interview sample (1-8).

CPS respondents are interviewed for four consecutive months (minsamp = 1-4), not interviewd for four months, and then re-interviewed for four consecutive months (minsamp = 5-8). Those in sample months 4 and 8 comprise the outgoing rotation group (ORG) sample.

Availability

Sample Years
Basic All years
May All years
ORG All years
Variable creation
********************************************************************************
* Month in sample
********************************************************************************
gen byte minsamp = .

if $marchcps == 1 {
    if tm(1962m1) <= $date & $date <= tm(1997m12) {
        replace minsamp = mis
        * sometimes in early march years, minsamp == 9
    }
    if tm(1998m1) <= $date {
        replace minsamp = h_mis
    }
}

if $monthlycps == 1 | $maycps == 1 {
    if tm(1973m1) <= $date & $date <= tm(1993m12) {
        replace minsamp = mis
        assert minsamp >= 1 & minsamp <= 8
    }
    if tm(1994m1) <= $date {
        replace minsamp = hrmis
        assert minsamp >= 1 & minsamp <= 8
    }
}

lab var minsamp "Month in sample"
notes minsamp: 1973 - 1993 Unicon: hrmis
notes minsamp: 1994 - present Basic/ORG CPS: hrmis
notes minsamp: 1994 - present March CPS: h_mis