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.
Actually, the STRATA statement in the SURVEY procedures are intended to house the strata used in the sampling design, not the croostabs. For your problem, it is appropriate to use syntax like gender*outcome or age group*gender*outcome like you might frequently do in the FREQ procedure.
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.