I have a case-cohort study that I need frequency cross-tabs for. I am running surveyfreq with weights because I would like to approximate the source population. Do I include an indicator for being sampled into the subcohort vs case group in the strata statement? When I do it lowers the p value around a hundred-fold.
The use of the STRATA statement would depend upon what your survey design is. The STRATA statement is meant to identify strata from a complex sampling design and not to run some sort of a conditional model/analysis that is usually associated with a case/control study.
If you have a case control study based on a weighted random sample then you would want to include the indicator on the TABLES statement only and not the STRATA statement.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.