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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.