Creating a Simple Random Sampling Analysis Plan

Now you are ready to create the simple random sampling analysis plan.

  1. First, you need to create a sampling weight variable. From the menus choose:

    Transform > Compute Variable...

    Figure 1. Compute Variable dialog box
    Compute Variable dialog box
  2. In the Compute Variable dialog, type sampleweight as the target variable.
  3. Type 1 as the numeric expression.
  4. Click OK.

    You are now ready to create the analysis plan.

    Note: There is an existing plan file, srs.csaplan, in the sample files directory that you can use if you want to skip the following instructions and proceed to analysis of the data.

  5. To create the analysis plan, from the menus choose:

    Analyze > Complex Samples > Prepare for Analysis...

    Figure 2. Analysis Preparation Wizard, Welcome step
    Analysis Preparation Wizard, Welcome step
  6. In the Welcome step, select Create a plan file and type srs.csaplan as the name of the file. Alternatively, browse to the location where you want to save it.
  7. Click Next.
    Figure 3. Analysis Preparation Wizard, Design Variables
    Analysis Preparation Wizard, Design Variables
  8. In the Design Variables step, select sampleweight as the sample weight variable.
  9. Click Next.
    Figure 4. Analysis Preparation Wizard, Estimation Method
    Analysis Preparation Wizard, Estimation Method
  10. In the Estimation Method step, deselect Use finite population correction.
  11. Click Finish.

You are now ready to run the analysis.

Next