I just recently realized that when you use proc tabulate in SAS, if you're working with categorical variable, WEIGHT does not work! Is there anyway of getting around that?
Explanation: spouse, child, parent are binary variables (1 for living with and 0 for not living with)
Here is my code:
PROC TABULATE
DATA=censusrounds;
CLASS spouse;
CLASS parent;
CLASS SEX;
CLASS AGEGROUP;
CLASS child;
CLASS sample;
TABLE sample*SEX*AGEGROUP,
RowPctN*(spouse parent child);
;
WEIGHT PERWT;
RUN;