« Previous | Contents | Next »
Listen
SHS Lite - User Guide: A guide to using the Scottish Household Survey simplified dataset
8. Illustrative Examples
8.1 Example 1 - Using Weights
This example shows how to weight the cases. All of the following examples will be weighted by the ind-wt weight. Before you create the following examples, it is important to weight the data. For more background information on weighting data see Section 4.7.
Weighting the data

Figure 35 - Weight cases by option selected

! Note | If the dialog box displays variable labels instead of variable names, you can change this by following the steps in Section 4.3 on page . |
- Select the ind-wt variable and click
to weight the cases as shown in Figure 36
Figure 36 - Weighting cases by the ind-wt variable

The data will now be weighted by the ind-wt variable and you can now see the weight indicator on the status bar at the foot of the screen as shown in Figure 37.
Figure 37 - Status Bar showing weight indicator

8.2 Example 2 - Frequency
This example creates a single frequency table

! Note | You can select a variable by typing the start of its name instead of scrolling through the list of variables. For example, type rd to select the rd3 variable. |
Figure 38 - The Frequencies dialog box

The Viewer window now opens to display the Frequency table (see Figure 39).
Figure 39 - How random adult usually travels to work/education

8.3 Example 3 - Multiple Frequencies
You can create Frequencies for more than one variable at the same time by selecting the variables within the Frequencies dialog box.

! Note | You can select a variable by typing the start of its name instead of scrolling through the list of variables. For example, type ag to select the agerband variable. |
Figure 40 - Multiple variables selected

The Viewer window now opens to display both Frequency tables (see Figure 41).
Figure 41 - agerband and randsex frequencies

« Previous | Contents | Next »