* SUPPLEMENTAL CODING TO GENERATE 1999 HOUSEHOLD COUNT. * * COUNTS ARE GENERATED ON A "DATA YEAR" (6 QUARTERS ) BASIS. * THE GET FILE STATEMENT ASSUMES THAT A HOUSEHOLD-LEVEL FILE WAS * PREVIOUSLY CREATED AND SAVED USING THE 1999 FULL HIERARCHICAL FILE. * IT WAS SAVED UNWEIGHTED. ALL STATEMENTS REGARDING PERSON-LEVEL, (V3000'S) * AND INCIDENT-LEVEL (V4000'S), VARIABLES WERE COMMENTED OUT * AND MADE INACTIVE. get file="C:\NCVS\hhold99.sav". * ADJUST THE HOUSEHOLD WEIGHT TO REFLECT TIME IN SAMPLE * V2003 = YEAR AND QUARTER IDENTIFICATION * V2130 = MONTH ALLOCATED FROM PANEL/ROT NO. do if (v2003=991 and v2130=01). compute adjwgt=0. else if (v2003=991 and v2130=02). compute adjwgt=(v2116*1/12). else if (v2003=991 and v2130=03). compute adjwgt=(v2116*2/12). else if (v2003=992 and v2130=04). compute adjwgt=(v2116*3/12). else if (v2003=992 and v2130=05). compute adjwgt=(v2116*4/12). else if (v2003=992 and v2130=06). compute adjwgt=(v2116*5/12). else if (v2003=993 or v2003=994 and (v2130=07 or v2130=08 or v2130=09 or v2130=10 or v2130=11 or v2130=12)). compute adjwgt=(v2116*6/12). else if (v2003=001 and v2130=01). compute adjwgt=(v2116*6/12). else if (v2003=001 and v2130=02). compute adjwgt=(v2116*5/12). else if (v2003=001 and v2130=03). compute adjwgt=(v2116*4/12). else if (v2003=002 and v2130=04). compute adjwgt=(v2116*3/12). else if (v2003=002 and v2130=05). compute adjwgt=(v2116*2/12). else if (v2003=002 and v2130=06). compute adjwgt=(v2116*1/12). end if. * WEIGHTED FREQUENCY DISTRIBUTION ON ANY HOUSEHOLD VARIABLE. * V2011 = HOUSEHOLD STATUS. weight by adjwgt. freq vars = v2011.