2 The city manager of Snook Texas wants to generate some sta
2. The city manager of Snook. Texas, wants to generate some statistics on a voluntary free flu shot clinic for city employees. Specifically, she has the following data on whether employees received shots and whether they took sick leave during the winter months: Received Shot Took Sick Leave Yes No No Yes No Yes Yes No Yes Yes Yes No No No Yes No Yes No No Yes The city manager asks you to come up with a numerical coding scheme so that these data can be placed in a statistical program for analysis. Develop a coding scheme for each variable and the coded data table.

Solution
Coding scheme for both variables Received shot and Took sick leave
Yes=1
No=0
Data
Received shot
Took sick leave
1
0
0
1
0
1
1
0
1
1
1
0
0
0
1
0
1
0
0
1
| Received shot | Took sick leave |
| 1 | 0 |
| 0 | 1 |
| 0 | 1 |
| 1 | 0 |
| 1 | 1 |
| 1 | 0 |
| 0 | 0 |
| 1 | 0 |
| 1 | 0 |
| 0 | 1 |

