In: Statistics and Probability
Background: You are a clinical psychologist who is interested in examining polysubstance use among a populations of legal staff in local law firms. As part of a research project you have collected data from 32 employees serving in various positions in the law firms of a large metropolitan area.
Data: The following table provides information on Role (1 = intern, 2 = paralegal, 3 = lawyer) Sex (1 = female, 2 = male), Alcohol Use (scale; 0 = does not drink, 10 = heavy drinker), and Marijuana Use (scale; 1 = does not use, 10 = heavy user) of the 32 firm employees in your sample. Your task is to enter this data into an SPSS data file such that each column represents a variable and each row represents an individual person. Please make sure that you treat Role and Sex as nominal variables and Alcohol Use and Marijuana Use as scale variables. After you complete data entry please double check all values. Any error that you make at this stage will carry over to procedures that you perform later. You should have 32 rows in the data file each representing a sample participant.
ID |
Role |
Sex |
Alcohol Use |
Marijuana Use |
ID |
Role |
Sex |
Alcohol Use |
Marijuana Use |
1 |
1 |
2 |
5 |
4 |
17 |
2 |
2 |
7 |
4 |
2 |
1 |
1 |
8 |
5 |
18 |
2 |
1 |
8 |
7 |
3 |
1 |
1 |
8 |
5 |
19 |
2 |
2 |
1 |
0 |
4 |
1 |
2 |
6 |
6 |
20 |
2 |
2 |
4 |
2 |
5 |
1 |
1 |
1 |
1 |
21 |
3 |
2 |
4 |
2 |
6 |
1 |
1 |
1 |
1 |
22 |
3 |
2 |
8 |
8 |
7 |
1 |
1 |
5 |
6 |
23 |
3 |
1 |
10 |
9 |
8 |
1 |
2 |
0 |
1 |
24 |
3 |
2 |
10 |
7 |
9 |
1 |
2 |
7 |
2 |
25 |
3 |
1 |
5 |
5 |
10 |
2 |
2 |
2 |
4 |
26 |
3 |
1 |
3 |
5 |
11 |
2 |
2 |
6 |
5 |
27 |
3 |
2 |
5 |
3 |
12 |
2 |
1 |
6 |
6 |
28 |
3 |
1 |
6 |
8 |
13 |
2 |
1 |
1 |
1 |
29 |
3 |
2 |
6 |
0 |
14 |
2 |
2 |
3 |
0 |
30 |
3 |
1 |
4 |
7 |
15 |
2 |
2 |
2 |
1 |
31 |
3 |
2 |
10 |
9 |
16 |
2 |
1 |
1 |
1 |
32 |
3 |
1 |
9 |
10 |
Be sure to copy and paste relevant SPSS syntax as part of your answers to any item requiring analysis, so I know how you came to the answers you did.
Q1. Compute a z-score on Alcohol Use for participants 6 and 29.