orgwgt: Earnings weight¶
Description¶
orgwgt
is the sample weight to use for all tabulations of the Outgoing Rotation Groups sample.
Availability¶
Sample | Years |
---|---|
ORG | 1979 - present |
Code¶
Variable creation
********************************************************************************* ORG weight********************************************************************************gen orgwgt = . if$marchcps==1 { iftm(1979m1) <=$date&$date<=tm(1997m12) { replace orgwgt = ernwgt /100 } iftm(1998m1) <=$date { replace orgwgt = a_ernlwt } } if$monthlycps==1 | $maycps==1 { iftm(1979m1) <=$date&$date<=tm(1993m12) { * to ensure this runs on 1979-1981 basic, when ORG is a separate file * and ernwgt is missing in basic capture confirm variable ernwgt if _rc==0 { replace orgwgt = ernwgt /100 } } iftm(1994m1) <=$date { replace orgwgt = pworwgt * use Census 2000-based weights for 2000-2002 iftm(2000m1) <=$date&$date<=tm(2002m12) { replace orgwgt = nworwgt } } } replace orgwgt = . if orgwgt <=0lab var orgwgt "Earnings weight"notes orgwgt: Only for information collected only in ORGnotes orgwgt: Sum to civilian, non-institutional population in each monthnotes orgwgt: To obtain approximate US population with full year of data, /**/ divide orgwgt by12notes orgwgt: 1994-present CPS: pworwgtnotes orgwgt: 1979-1993 Unicon: ernwgt