Trying to match ftotval and hhincome to published income data from the Census

I am sure I am making an elementary mistake, but when I calculate the median and mean of ftotval, it is a lot lower than the mean and median family income from the Census and vice versa the mean and median for hhincome are much higher than what the Census tables show. I am comparing nominal values to the published tables for 2021, so deflation is not a factor (I think). I am also using asecwt. Any pointers on what I may be missing? Thanks.

I figured out my mistake. Sorry to bother you.

2 Likes