Survey form:
Preference of after dinner sweets in children below the age of 15
Part A: Demography (Please answer all the questions. Encircle where appropriate)
1. Name:
2. Age group: 2-5 years / 6-9 years / 10-12 years / 13-15 years
3. Gender: Male / Female
4. Ethnic Group: Malay / Chinese / Indian / Other
Part B: Preference (State your agreement or disagreement by encircling the appropriate)
Strongly Agree = SA, Agree = A, Neutral = N, Disagree = D, Strongly Disagree = SD
1. I prefer fruits after dinner: SA / A / N / D / SD
2. I prefer chocolate after dinner: SA / A / N / D / SD
3. I prefer ice-cream after dinner: SA / A / N / D / SD
4. I prefer something sweet after dinner: SA / A / N / D / SD
5. I don’t prefer spicy deserts after dinner: SA / A / N / D / SD
6. I don’t prefer hot beverages such as tea or coffee after dinner: SA / A / N / D / SD
7. I have toothaches regularly: SA / A / N / D / SD
End of survey.
Now let’s set up the database for the results on PSPP:
Open a new data file using the “File” menu on the top.
Select the Variable View tab to setup the variables and parameters.
Name: setup the parameters as follows. The measure is set to “Nominal”.
Age group: setup the parameters as follows. The measure is set as Nominal as the age group is not considering a range of ages e.g. from 1 to 15.
The values for the age group are not defined yet. Each age group will be represented by a number ranging from 1 to 4 (1 = 2-5 years , 2 = 6-9 years, 3 = 10-12 years, 4 = 13-15 years). To define the values click on the Values cell for the Agegroup variable. This will launch the Value Labels dialog box. Enter the vales and the corresponding labels click Add one by one.
Once the value labels have been set the variable view will be as follows.
Now, similarly define Gender and Ethnic Group.
Part B: this section uses a rubric (SA, A, N, D, SD) to gather responses. In this case the answer falls within a scale of 1 to 5 where 1 = SA and 5 = SD. When defining each of these variables, the measure should be set to scale and the values need to be defined for each. As the name for each variable has to be kept brief, the questions will be named B1, B2 etc. and the labels will be set to hold the complete question. After defining all the variables, your Variable View should look like the following.
Congratulations! You have now setup your first database on PSPP. Before moving onto the next section, you will need to save your database as .sav to be re-opened later on. Use the “Save As” command from the File menu.
Name your database and select System File as we will be using it from the hard drive of the computer.
Click on “Browse for other folders” to specify a destination. I’m providing my C: drive as the destination.
Click on the Data View. Now you are ready to populate your database with data.
Next - PSPP: a free and open source alternative to SPSS – Part 5 (Populating Data)
Previous - PSPP: a free and open source alternative to SPSS – Part 3 (Introduction to Data View and Variable View)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.



























