Hoping someone with SAS expertise can help me solve a coding issue.
I’m trying to obtain mean income for adults, by a categorical variable “doubled up” and by PUMA (“GEOID” below).
Here is my code:
PROC surveymeans DATA=merged NOMCAR clm cv;
class doubledup;
domain GEOID;
cluster cluster;
strata strata;
var INCTOT doubledup;
weight perwt;
where age>17;
RUN;
The output, though (attached) describes the proportion of people within each category of “doubled up” but does not compute distinct estimates of the mean for INCTOT. Any advice on how to get that result?
inctot3.csv (3.0 KB)