How do I run a Domain or Subgroup analysis in PROC SURVEYFREQ?


Unlike the other survey analysis procedures in SAS, PROC SURVEYFREQ does not have a DOMAIN statement. Instead PROC SURVEYFREQ provides a domain analysis through its multiway table capability. To request a domain analysis with PROC SURVEYFREQ, include the domain variable(s) in your TABLES statement request. For example, specifying DOMAIN * A * B in a TABLES statement produces separate two-way tables of A by B for each level of DOMAIN.