Skip to content

basicwgt: Basic monthly weight

Description

basicwgt is the sample weight to use for most basic monthly tabulations for ages 16 and above.

It will sum each month to the monthly estimate of the civilian, non-institutional population ages 16 and above. It will replicate most published BLS statistics for 1998 and later cmpwgt.

Availability

Sample Years
Basic All years
May All years
ORG All years

Code

Variable creation
********************************************************************************
* Basic monthly weight
********************************************************************************
gen basicwgt = .

if $monthlycps == 1 | $maycps == 1 {
    * basic variable creation
    if tm(1973m1) <= $date & $date <= tm(1997m12) {
        replace basicwgt = finalwgt
    }
    if tm(1998m1) <= $date {
        replace basicwgt = cmpwgt
    }

    * age restrictions
    if tm(1973m1) <= $date & $date <= tm(1993m12) {
        replace basicwgt = . if age < 16 | age == .
    }
    if tm(1994m1) <= $date & $date <= tm(2012m4) {
        replace basicwgt = . if peage < 16 | peage == .
    }
    if tm(2012m5) <= $date {
        replace basicwgt = . if prtage < 16 | prtage == .
    }
}

lab var basicwgt "Basic monthly weight"
notes basicwgt: Sum to civilian, non-institutional population age > 16 in each month
notes basicwgt: Combination of finalwgt and pwcmpwgt, but defined only for age > 16
notes basicwgt: Used by EPI for most labor force statistics
notes basicwgt: 1973-1997: finalwgt
notes basicwgt: 1998-present: cmpwgt