The SURVEYFREQ Procedure

Proportions

PROC SURVEYFREQ computes the estimate of the proportion in table cell (r, c) as the ratio of the estimated total for the table cell to the estimated overall total,

$\displaystyle  \widehat{P}_{rc}  $
$\displaystyle  =  $
$\displaystyle  \widehat{N}_{rc} ~  / ~  \widehat{N}  $
$\displaystyle  $
$\displaystyle  =  $
$\displaystyle  \left( \sum _{h=1}^ H ~  \sum _{i=1}^{n_ h} ~  \sum _{j=1}^{m_{hi}} ~  {\delta _{hij} (r,c) ~  W_{hij}} \right) ~  / ~  \left( \sum _{h=1}^ H ~  \sum _{i=1}^{n_ h} ~  \sum _{j=1}^{m_{hi}} ~  {W_{hij}} \right)  $

If you request BRR variance estimation (by specifying the VARMETHOD=BRR option in the PROC SURVEYFREQ statement), the procedure estimates the variances of proportion estimates 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. By using Taylor series linearization, the variance of a proportion estimate can be expressed as

\[  \widehat{\mr {Var}}(\widehat{P}_{rc}) = \sum _{h=1}^ H \widehat{\mr {Var}}_ h(\widehat{P}_{rc})  \]

where if $n_ h > 1$,

$\displaystyle  \widehat{\mr {Var}}_ h(\widehat{P}_{rc})  $
$\displaystyle = $
$\displaystyle  \frac{n_ h(1-f_ h)}{n_ h-1} ~  \sum _{i=1}^{n_ h} (e_{rc}^{~ hi} - \bar{e}_{rc}^{~ h})^2  $
$\displaystyle e_{rc}^{~ hi}  $
$\displaystyle = $
$\displaystyle  \left( \sum _{j=1}^{m_{hi}} ~  ({\delta _{hij} (r,c) - \widehat{P}_{rc}) ~  W_{hij}} \right) ~  / ~  \widehat{N}  $
$\displaystyle  \bar{e}_{rc}^{~ h}  $
$\displaystyle = $
$\displaystyle  \left( \sum _{i=1}^{n_ h} ~  {e_{rc}^{~ hi}} \right) ~  / ~  n_ h  $

and if $n_ h = 1$,

\[  \widehat{\mr {Var}}_ h(\widehat{P}_{rc}) = \left\{  \begin{array}{ll} \mbox{missing} &  \mbox{ if } n_{h}=1 \mbox{ for } h’=1, 2, \ldots , H \\ 0 &  \mbox{ if } n_{h}>1 \mbox{ for some } 1 \leq h’ \leq H \end{array} \right.  \]

The standard error of the proportion is computed as

\[  \mr {StdErr}( \widehat{P}_{rc} ) = \sqrt { \widehat{\mr {Var}}( \widehat{P}_{rc} ) }  \]

Similarly, the estimate of the proportion in row r is

\[  \widehat{P}_{r \cdot } = \widehat{N}_{r \cdot } ~  / ~  \widehat{N}  \]

And its variance estimate is

\[  \widehat{\mr {Var}}(\widehat{P}_{r \cdot }) = \sum _{h=1}^ H \widehat{\mr {Var}}_ h(\widehat{P}_{r \cdot })   \]

where if $n_ h > 1$,

$\displaystyle  \widehat{\mr {Var}}_ h(\widehat{P}_{r \cdot })  $
$\displaystyle = $
$\displaystyle  \frac{n_ h(1-f_ h)}{n_ h-1} ~  \sum _{i=1}^{n_ h} (e_{r \cdot }^{~ hi} - \bar{e}_{r \cdot }^{~ h})^2  $
$\displaystyle e_{r \cdot }^{ hi}  $
$\displaystyle = $
$\displaystyle  \left( \sum _{j=1}^{m_{hi}} ({\delta _{hij} (r ~  \cdot ) - \widehat{P}_{r \cdot }) ~  W_{hij}} \right) ~  / ~  \widehat{N}  $
$\displaystyle  \bar{e}_{r \cdot }^{ h}  $
$\displaystyle = $
$\displaystyle  \left( \sum _{i=1}^{n_ h} ~  {e_{r \cdot }^{~ hi}} \right) ~  / ~  n_ h  $

and if $n_ h = 1$,

\[  \widehat{\mr {Var}}_ h(\widehat{P}_{r \cdot }) = \left\{  \begin{array}{ll} \mbox{missing} &  \mbox{ if } n_{h}=1 \mbox{ for } h’=1, 2, \ldots , H \\ 0 &  \mbox{ if } n_{h}>1 \mbox{ for some } 1 \leq h’ \leq H \end{array} \right.  \]

The standard error of the proportion in row r is computed as

\[  \mr {StdErr}( \widehat{P}_{r \cdot } ) = \sqrt { \widehat{\mr {Var}}( \widehat{P}_{r \cdot } ) }  \]

Computations for the proportion in column c are done in the same way.