BookmarkSubscribeRSS Feed
AndersBergquist
Quartz | Level 8
I have a question about the estimation about confidence limits and proc surveymeans.

When we estimates the confidence limits, it seams that SAS does not take the df in account? It makes just a point estimate with SD * 2.04.

Is this the correct behavior? or is there a way to make SAS adjust the 2.04 coefficint according to the df and the numbers in the t-tables?
1 REPLY 1
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1166 views
  • 0 likes
  • 2 in conversation