4.3 SPSS preparation
In SPSS, readers can import the CLSA datasets by the user interface: “File” “Import Data” “CSV Data” select the datafile and click “Open”. Then follow the instruction on the screen and click “Ok”.
To create the stratum variable, Transform Compute Variable Type “” under “Target Variable” and “” under “Numeric Expression” click: “Type & Labels” and select “String” in the “Type” panel.
We then declare the survey design by clicking “” click “” and choose a location and name as “”. Under Strata, select the variables “” and select “” under “Sampling Weight” and accept the default settings.
By default, SPSS will ignore the PSUs with single observations during variance calculation.