PROC SURVEYREG Statement
- PROC SURVEYREG < options >;
The PROC SURVEYREG statement invokes the procedure.
You can specify the following options in the PROC SURVEYREG
statement.
-
ALPHA=
-
sets the confidence level for confidence limits. The
value of the ALPHA= option must be between 0.0001 and
0.9999, and the default value is 0.05. A confidence
level of produces %
confidence limits. The default of ALPHA=0.05 produces
95% confidence limits. If is between 0 and 1
but outside the range of 0.0001 to 0.9999, the
procedure uses the closest range endpoint. For
example, if you specify ALPHA=0.000001, the procedure
uses 0.0001 to determine confidence limits.
- DATA=SAS-data-set
-
specifies the SAS data set to be analyzed by PROC SURVEYREG.
If you omit the DATA= option, the procedure uses the most
recently created SAS data set.
-
NOPRINT
-
suppresses the display of all output. Note that this
option temporarily disables the Output Delivery System
(ODS). For more information, see Chapter 15, "Using the Output Delivery System."
- RATE=valueSAS-data-set
- R=valueSAS-data-set
-
specifies the sampling rate as a positive
value, or specifies an input data set that contains the
stratum sampling rates. The procedure uses this
information to compute a finite population correction
for variance estimation. If your sample design has
multiple stages, you should specify the first-stage
sampling rate,
which is the ratio
of the number of PSUs selected to the total number of
PSUs in the population.
For a nonstratified sample design, or for a stratified
sample design with the same sampling rate in all strata,
you should specify a positive value for the
RATE= option. If your design is stratified with
different sampling rates in the strata, then you should
name a SAS data set that contains the stratification
variables and the sampling rates.
See the section "Specification of Population Totals and Sampling Rates"
for details.
The value in the RATE= option or the values
of _RATE_ in the secondary data set must be
positive numbers. You can specify value as a number
between 0 and 1. Or you can specify value in
percentage form as a number between 1 and 100, and PROC
SURVEYREG will convert that number to a proportion. The
procedure treats the value 1 as 100%, and not the
percentage form 1%.
If you do not specify the TOTAL= option or the RATE=
option, then the variance estimation does not include a
finite population correction. You cannot specify both
the TOTAL= option and the RATE= option.
- TOTAL=valueSAS-data-set
- N=valueSAS-data-set
-
specifies the total number of primary sampling units in
the study population as a positive value, or
specifies an input data set that contains the stratum
population totals. The procedure uses this information
to compute a finite population correction for variance
estimation.
For a nonstratified sample design, or for a stratified
sample design with the same population total in all
strata, you should specify a positive value for
the TOTAL= option. If your sample design is stratified with
different population totals in the strata, then you should
name a SAS data set that contains the stratification
variables and the population totals.
See the section "Specification of Population Totals and Sampling Rates"
for details.
If you do not specify the TOTAL= option or the RATE=
option, then the variance estimation does not include
a finite population correction. You cannot specify
both the TOTAL= option and the RATE= option.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.