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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CSPLAN 355<br />

• The variable sampleweight is specified as the variable containing sample weights for analysis.<br />

Stratified clustering analysis design<br />

CSPLAN ANALYSIS<br />

/PLAN FILE=’c:\survey\myfile.csaplan’<br />

/PLANVARS ANALYSISWEIGHT=sampleweight<br />

/DESIGN STRATA=district CLUSTER=school<br />

/ESTIMATOR TYPE=UNEQUAL_WOR.<br />

• The analysis design specifies that units were sampled using stratified clustering.<br />

• The variable sampleweight is specified as the variable containing sample weights for analysis.<br />

• District is defined as a stratification variable and school is defined as a cluster variable.<br />

• The UNEQUAL_WOR estimator will be used for analysis.<br />

Multistage analysis design<br />

CSPLAN ANALYSIS<br />

/PLAN FILE=’c:\survey\myfile.csaplan’<br />

/PLANVARS ANALYSISWEIGHT=sampleweight<br />

/DESIGN CLUSTER=district<br />

/ESTIMATOR TYPE=UNEQUAL_WOR<br />

/DESIGN CLUSTER=school<br />

/ESTIMATOR TYPE=EQUAL_WOR<br />

/INCLPROB VARIABLE=sprob.<br />

• The analysis design specifies that cases were sampled using multistage clustering.<br />

Schools were sampled within districts.<br />

• The UNEQUAL_WOR estimator will be used in stage 1.<br />

• The EQUAL_WOR estimator will be used in stage 2.<br />

• The variable sprob contains inclusion probabilities, which are required for analysis of the<br />

second stage.<br />

• The variable sampleweight is specified as the variable containing sample weights for analysis.<br />

Display Plan<br />

CSPLAN VIEW<br />

/PLAN FILE=’c:\survey\myfile.csplan’.<br />

• The syntax displays the specifications in the plan file myfile.csplan.

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

Saved successfully!

Ooh no, something went wrong!