Syntax Rules (CSPLAN command)
General
-
PLAN,PLANVARS, andPRINTare global. Only a single instance of each global subcommand is allowed. - Within a subcommand, an error occurs if a keyword or attribute is specified more than once.
- Equals signs shown in the syntax chart are required.
- Subcommand names and keywords (for example,
PPS_WR) must be spelled in full. - In general, empty subcommands (that is, those that
have no specifications) generate an error.
DESIGNis the only subcommand that can be empty. - Any variable names that are specified must be valid IBM® SPSS® Statistics variable names.
Creating a Plan
- Stages are specified in design blocks. The
DESIGNsubcommand signals the start of a block. The first block corresponds to stage 1, the second to stage 2, and the third to stage 3. OneDESIGNsubcommand must be specified per stage. - The following subcommands are local and apply to
the immediately preceding
DESIGNsubcommand:METHOD,MOS,SIZE,RATE,STAGEVARS,ESTIMATOR,POPSIZE, andINCLPROB. An error occurs if any of these subcommands appears more than once within a block. - Available
METHODandESTIMATORoptions depend on the stage. - The following subcommands are honored only if a sample
design is requested:
METHOD,MOS,SIZE,RATE, andSTAGEVARS. An error occurs if any of these subcommands is specified for an analysis design. -
MOScan be specified in stage 1 only. - The following subcommands can be used only if an
analysis design is requested:
ESTIMATOR,POPSIZE, andINCLPROB. An error occurs if any of these subcommands is specified for a sample design. - In general, each variable specified in the design can assume only one role. For example, a weight variable cannot be used as a stratification or cluster variable.
Displaying a Plan
- If
CSPLAN VIEWis used, only thePLANandPRINTsubcommands can be specified.