SAS command

proc freq data=dataname; (where dataname is the name of the dataset)
table hhtype01*hhtype91 /missing; (where hhtype01 and hhtype91 are the variables representing household type in 2001 and 1991)
run;