Computing Inclusion Probabilities and Sampling Weights
- To compute the inclusion probabilities for
the first stage, from the menus choose:
Figure 1. Compute Variable dialog box Fifteen out of one hundred bank branches were selected without replacement in the first stage; thus, the probability that a given bank was selected is 15/100 = 0.15.
- In the Compute Variable dialog, type inclprob_s1 as the target variable.
- Type 0.15 as the numeric expression.
- Click OK.
One hundred customers were selected from each branch in the second stage; thus, the stage 2 inclusion probability for a given customer at a given bank is 100/the number of customers at that bank.
- Recall the Compute Variable dialog box.
- Type inclprob_s2 as the target variable.
- Type 100/ncust as the numeric expression.
- Click OK.
Now that you have the inclusion probabilities for each stage, it's easy to compute the final sampling weights.
- Recall the Compute Variable dialog box.
- Type finalweight as the target variable.
- Type 1/(inclprob_s1 * inclprob_s2) as the numeric expression.
- Click OK.
You are now ready to create the analysis plan.