📋 Survey practice dataset (150 respondents)
A general-purpose synthetic survey for practising every StatLab procedure: demographics, a pre/post test, a five-item satisfaction scale, income with missing values, smoking and education. 150 cases, 15 variables. Field: social science · level: beginner.
Open in StatLab Download: CSV · Excel (.xlsx, with codebook sheet) · SPSS (.sav, with labels)
What does each variable mean? (codebook)
| Variable | Label | Measure | Value labels | Values |
|---|---|---|---|---|
id | Respondent ID | scale | 1–150, mean 75.50 | |
gender | Gender | nominal | 1 = Male, 2 = Female | 2 categories |
group | Programme group | nominal | 1 = Control, 2 = Programme A, 3 = Programme B | 3 categories |
age | Age (years) | scale | 18–65, mean 41.25 | |
pre | Pre-test score | scale | 23.5–78.41, mean 51.38 | |
post | Post-test score | scale | 20.98–83.41, mean 54.45 | |
q1 | Satisfaction item 1 | ordinal | 1 = Strongly disagree, 2 = Disagree, 3 = Neutral, 4 = Agree, 5 = Strongly agree | 5 categories |
q2 | Satisfaction item 2 | ordinal | 1 = Strongly disagree, 2 = Disagree, 3 = Neutral, 4 = Agree, 5 = Strongly agree | 5 categories |
q3 | Satisfaction item 3 | ordinal | 1 = Strongly disagree, 2 = Disagree, 3 = Neutral, 4 = Agree, 5 = Strongly agree | 5 categories |
q4 | Satisfaction item 4 | ordinal | 1 = Strongly disagree, 2 = Disagree, 3 = Neutral, 4 = Agree, 5 = Strongly agree | 5 categories |
q5 | Satisfaction item 5 | ordinal | 1 = Strongly disagree, 2 = Disagree, 3 = Neutral, 4 = Agree, 5 = Strongly agree | 5 categories |
income | Monthly income (RM) | scale | 715–31375, mean 3639.56 | |
smoker | Smoker | nominal | 0 = No, 1 = Yes | 2 categories |
educ | Highest education | ordinal | 1 = Primary, 2 = Secondary, 3 = Diploma, 4 = Degree | 4 categories |
score | Wellbeing score | scale | 47.508–92.272, mean 69.50 |
Which analyses suit this dataset?
- Frequencies of gender and group
- Explore score by group
- Independent t test of score by gender
- Paired t test pre vs post
- One-way ANOVA of score by group
- Cronbach's alpha of q1–q5
- Regression of score on age, pre and q1
- Every recipe uses this dataset.
Licence
Synthetic data produced by a seeded random process for teaching (no real people or organisations). Released under CC0 1.0 (public domain dedication) by Jupiter2u — free to use, share and adapt.