SURVEYMEANS does take df into account. The df calculation depends on whether you have clusters and/or strata. In the simplest case, with no clusters or strata (which means that each observation is a cluster), df = number of observations - 1. For your example, 2.04 IS the critical t value (with alpha=.05). By the way, CI is SE*t (not SD*t).
You can see the calculated df value by putting df in the procedure statement.
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.
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.