27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SIZE Subcommand<br />

CSPLAN 361<br />

The SIZE subcommand specifies the number of sampling units to draw at the current stage.<br />

• You can specify a single value, a variable name, or a matrix of counts for design strata.<br />

• Size values must be positive integers.<br />

• The SIZE subcommand is ignored with a warning if the PPS_MURTHY or PPS_BREWER<br />

method is specified.<br />

• The SIZE or RATE subcommand must be specified for each stage. An error occurs if both<br />

are specified.<br />

VALUE Apply a single value to all strata. For example, VALUE=10 selects 10 units per<br />

stratum.<br />

MATRIX Specify disproportionate sample sizes for different strata. Specify one or more<br />

variables after the MATRIX keyword. Then provide one size specification per<br />

stratum. A size specification includes a set of category values and a size value.<br />

Category values should be listed in the same order as variables to which<br />

they apply. Semicolons are used to separate the size specifications.<br />

For example, the following syntax selects 10 units from the North stratum<br />

and 20 from the South stratum:<br />

/SIZE MATRIX=region; ‘North’ 10; ‘South’ 20<br />

If there is more than one variable, specify one size per combination of strata.<br />

For example, the following syntax specifies rate values for combinations of<br />

Region and Sex strata:<br />

/SIZE MATRIX=region sex; ‘North’ ‘Male’ 10; ‘North’ ‘Female’15; ‘South’ ‘Male’ 24;<br />

‘South’ ‘Female’ 30<br />

The variable list must contain all or a subset of stratification variables from<br />

the same and previous stages and cluster variables from the previous stages.<br />

An error occurs if the list contains variables that are not defined as strata or<br />

cluster variables.<br />

Each size specification must contain one category value per variable. If multiple<br />

size specifications are provided for the same strata or combination of<br />

strata only the last one is honored.<br />

String and date category values must be quoted.<br />

A semicolon must appear after the variable list and after each size specification.<br />

The semicolon is not allowed after the last size specification.<br />

VARIABLE Specify the name of a single variable that contains the sample sizes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!