Totals

PROC SURVEYFREQ estimates population frequency totals for the specified crosstabulation tables, including totals for two-way table cells, rows, columns, and overall totals. The procedure computes the estimate of the total frequency in table cell as the weighted frequency sum,

     

Similarly, PROC SURVEYFREQ computes estimates of row totals, column totals, and overall totals as

     
     
     

PROC SURVEYFREQ estimates the variances of totals by using the variance estimation method that you request. If you request BRR variance estimation (by specifying the VARMETHOD=BRR option in the PROC SURVEYFREQ statement), the procedure estimates the variances as described in the section Balanced Repeated Replication (BRR). If you request jackknife variance estimation (by specifying the VARMETHOD=JACKKNIFE option), the procedure estimates the variances as described in the section The Jackknife Method.

If you do not specify the VARMETHOD= option or a REPWEIGHTS statement, the default variance estimation method is Taylor series, which you can also request with the VARMETHOD=TAYLOR option. Since totals are linear statistics, their variances can be estimated directly, without the approximation that is used for proportions and other nonlinear statistics. PROC SURVEYFREQ estimates the variance of the total frequency in table cell as

     

where if ,

     
     
     

and if ,

     

The standard deviation of the total is computed as

     

The variances and standard deviations are computed in a similar manner for row totals, column totals, and overall table totals.