The SURVEYMEANS Procedure

t Test for the Mean

If you specify the keyword T, PROC SURVEYMEANS computes the t-value for testing that the population mean equals zero, $H_0: \bar{Y} = 0$. The test statistic equals

\[  t(\widehat{{\bar{Y}}}) = {\widehat{{\bar{Y}}}} ~  / ~  {\mbox{StdErr}(\widehat{{\bar{Y}}})} \]

The two-sided p-value for this test is

\[  \mbox{Prob}(~ |T|>|t(\widehat{{\bar{Y}}})|~ ) \]

where T is a random variable with the t distribution with df degrees of freedom.