Programming the statistical procedures from SAS

Surveymeans and confidence limits

Posts: 54

Surveymeans and confidence limits

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?
Valued Guide
Valued Guide
Posts: 684

Re: Surveymeans and confidence limits

Posted in reply to AndersBergquist
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.
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation