preprocessing/config/questionnaires/demographics.yaml
2025-12-15 13:47:28 +01:00

65 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

questionnaire: "demographics"
scales:
- name: "age"
label: "Age of participants (numerical value 18-110)"
items:
- id: "age"
text: "age"
score_range: [18, 110]
format: "numeric"
calculation: "response"
response_options: "numeric age"
output: "age"
reference: "self"
- name: "gender"
label: "Gender"
items:
- id: "gender"
text: "Please indicate your gender"
calculation: "categorical"
response_options:
"1": "Male"
"2": "Female"
"3": "Non-binary / third gender"
"4": "Prefer not to say"
missing_response_option: ["4"]
output: "gender"
reference: "self"
- name: "education"
label: "Highest Level of Education Completed"
items:
- id: "education"
text: "What is the highest level of education you have completed?"
calculation: "ordinal"
response_options:
"1": "Some high school or less"
"2": "High school diploma or GED"
"3": "Some college, but no degree"
"4": "Associates or technical degree"
"5": "Bachelors degree"
"6": "Graduate or professional degree (MA, MS, MBA, PhD, JD, MD, DDS etc.)"
"7": "Prefer not to say"
missing_response_option: ["7"]
output: "education"
reference: "self"
- name: "income"
label: "Total Household Income Before Taxes (Past 12 Months)"
items:
- id: "income"
text: "What was your total household income before taxes during the past 12 months?"
calculation: "ordinal"
response_options:
"1": "Less than $25,000"
"2": "$25,000-$49,999"
"3": "$50,000-$74,999"
"4": "$75,000-$99,999"
"5": "$100,000-$149,999"
"6": "$150,000 or more"
"7": "Prefer not to say"
missing_response_option: ["7"]
output: "income"
reference: "self"