Tentamencasus datapreparatie
Assignment 1a:
- Open SPSS
- File -> open -> data
- Files of type: text -> pp5_evendown.txt -> open
- How are your variables arranged? Delimited
- What is the decimal symbol: comma
- Which delimiters appear between variables? tab
- Variable view -> edit -> insert variable
- Name: ppnr
- Transform -> compute variable
- Target variable: ppnr = 5
Assignment 1b:
- Correct: even-down/odd-up 0-1/1-0
- Error: even-up/odd-down 0-0/1-1
- Variable view -> click on the variable name response
- Edit -> insert variable
- Name: correct
- Transform -> compute variable
- Target variable: correct = 0
- If -> include if case satisfies condition: response = 0 AND parity = 0 OR response = 1
AND parity = 1
- Target variable: correct = 1
- If -> include if case satisfies condition: response = 0 AND parity = 1 OR response = 1
AND parity = 0
- Variable view -> name: correct -> values -> value: 0/ label: error/ value: 1/ label:
correct
Assignment 1c:
- Transform -> compute variable
- Target variable: outlier = 0
- If -> include if case satisfies condition: latency >= 200 OR latency <= 1200
- Target variable: outlier = 1
- If -> include if case satisfies condition: latency < 200 OR latency > 1200
- Variable view -> name: outlier -> decimals: 0
- File -> save as -> pp5_evendown.sav -> save
Assignment 1a:
- Open SPSS
- File -> open -> data
- Files of type: text -> pp5_evendown.txt -> open
- How are your variables arranged? Delimited
- What is the decimal symbol: comma
- Which delimiters appear between variables? tab
- Variable view -> edit -> insert variable
- Name: ppnr
- Transform -> compute variable
- Target variable: ppnr = 5
Assignment 1b:
- Correct: even-down/odd-up 0-1/1-0
- Error: even-up/odd-down 0-0/1-1
- Variable view -> click on the variable name response
- Edit -> insert variable
- Name: correct
- Transform -> compute variable
- Target variable: correct = 0
- If -> include if case satisfies condition: response = 0 AND parity = 0 OR response = 1
AND parity = 1
- Target variable: correct = 1
- If -> include if case satisfies condition: response = 0 AND parity = 1 OR response = 1
AND parity = 0
- Variable view -> name: correct -> values -> value: 0/ label: error/ value: 1/ label:
correct
Assignment 1c:
- Transform -> compute variable
- Target variable: outlier = 0
- If -> include if case satisfies condition: latency >= 200 OR latency <= 1200
- Target variable: outlier = 1
- If -> include if case satisfies condition: latency < 200 OR latency > 1200
- Variable view -> name: outlier -> decimals: 0
- File -> save as -> pp5_evendown.sav -> save