Overview (CSLOGISTIC command)
CSLOGISTIC performs logistic regression analysis on a binary or multinomial
dependent variable using the generalized link function for samples
that are drawn by complex sampling methods. The procedure estimates
variances by taking into account the sample design that is used to
select the sample, including equal probability and probability proportional
to size (PPS) methods, and with replacement (WR) and without replacement
(WOR) sampling procedures. Optionally, CSLOGISTIC performs analyses for a subpopulation.
Basic Specification
- The basic
specification is a variable list (identifying the dependent variable,
the factors, if any, and the covariates, if any) and a
PLANsubcommand with the name of a complex sample analysis plan file, which may be generated by theCSPLANprocedure. - The default model includes the intercept term, main effects for any factors, and any covariates.
- The basic specification displays summary information about the sample and all analysis variables, model summary statistics, and Wald F tests for all model effects. Additional subcommands must be used for other output.
Operations
-
CSLOGISTICperforms logistic regression analysis for sampling designs that are supported by theCSPLANandCSSELECTprocedures. - The input dataset must contain the variables to be analyzed and variables that are related to the sampling design.
- The complex sample analysis plan file provides an analysis plan based on the sampling design.
- By default,
CSLOGISTICuses a model that includes the intercept term, main effects for any factors, and any covariates. - Other effects,
including interaction and nested effects, may be specified by using
the
MODELsubcommand. - The default output for the specified model is summary information about the sample and all analysis variables, model summary statistics, and Wald F tests for all model effects.
-
WEIGHTandSPLIT FILEsettings are ignored by theCSLOGISTICprocedure.
- This procedure uses the multithreaded options specified
by
SET THREADS.
Syntax Rules
- The dependent
variable and
PLANsubcommand are required. All other variables and subcommands are optional. - Multiple
CUSTOMandODDSRATIOSsubcommands may be specified; each subcommand is treated independently. All other subcommands may be specified only once. - Empty subcommands are not allowed; all subcommands must be specified with options.
- Each keyword may be specified only once within a subcommand.
- Subcommand names and keywords must be spelled in full.
- Equals signs (=) that are shown in the syntax chart are required.
- Subcommands may be specified in any order.
- The dependent variable, factors, and the subpopulation variable can be numeric or string variables, but covariates must be numeric.
- Across the dependent, factor, and covariate variable lists, a variable may be specified only once.
- Plan file and subpopulation variables may not be specified on the variable list.
- Minimum
syntax is a dependent variable and the
PLANsubcommand. This specification fits an intercept-only model.
Limitations
-
WEIGHTandSPLIT FILEsettings are ignored with a warning by theCSLOGISTICprocedure.