MODEL Statement
- MODEL dependent = < effects >< / options
>;
The MODEL statement specifies the dependent (response)
variable and the independent (regressor) variables or
effects. Each term in a MODEL statement, called an
effect, is a variable or a combination of
variables. You can specify an effect with a variable
name or with a special notation using variable names
and operators.
For more information on how to specify an
effect, see the section "Specification of Effects" in Chapter 30, "The GLM Procedure."
The dependent variable
must be numeric. Only one MODEL statement is allowed
for each PROC SURVEYREG statement. If you
specify more than one MODEL statement, the procedure
uses the first model and ignores the rest.
You can specify the following options in the MODEL
statement after a slash (/).
- COVB
-
displays the estimated covariance matrix of the
estimated regression estimates.
-
DF=value
-
specifies the denominator degrees of freedom for the
F tests and the degrees of freedom for the
t tests. The default is the number of clusters (or
the number of observations if there is no CLUSTER
statement) minus the number of actual strata. The
number of actual strata equals the number of strata
in the data before collapsing minus the number of
strata collapsed plus 1.
- CLPARM
-
requests confidence limits for the parameter
estimates. The SURVEYREG procedure determines the
confidence coefficient using the ALPHA=
option,
which by default equals 0.05 and produces 95%
confidence bounds. The CLPARM option also requests
confidence limits for all the estimable linear
functions of regression parameters in the ESTIMATE
statements.
Note that when there is a CLASS statement, you need to
use the SOLUTION option with the CLPARM option to obtain
the parameter estimates and their confidence
limits.
See the SOLUTION option.
- DEFF
-
displays design effects for the regression
coefficient estimates.
- NOINT
-
omits the intercept from the model.
- I
- INVERSE
-
displays the inverse or the generalized inverse of
the X'X matrix. When there is a WEIGHT
variable, the procedure displays the inverse or the
generalized inverse of the X'WX matrix, where
W is the diagonal matrix constructed from
WEIGHT variable values.
- X
- XPX
-
displays the X'X matrix, or the X'WX
matrix when there is a WEIGHT variable, where W is
the diagonal matrix constructed from WEIGHT variable
values. The X option also displays the
crossproducts vector X'y, or X'Wy.
-
SOLUTION
-
displays a solution to the normal equations, which are
the parameter estimates. The SOLUTION option is useful
only when you use a CLASS statement. If you do not
specify a CLASS statement, PROC SURVEYREG displays
parameter estimates by default. But if you specify a
CLASS statement, PROC SURVEYREG does not display
parameter estimates unless you also specify the
SOLUTION option.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.