*URGENT* these are answered, but plz let me know if they are correct, and if not then plz let me know what the answers are. Excel info and directions are there
***URGENT**** plz help. Directions and excel info are there. These are answered, but I don’t know if they are correct. Plz let me know if they are correct and if not please answer the question with the correct answers.
Consider the following data that shows a portion of sales transactions from a local fast-food restaurant. Each binary variable indicates whether or not a particular book genre is purchased within a transaction.
Transaction
Hamburgers
Fries
Soda
1
0
1
0
2
1
1
0
238
0
1
1
a. Using the first five sales transactions, compute the matching coefficients for all pairwise observations for the five binary variables. (Round your answers to 2 decimal places.)
Observations
1
2
3
4
5
1
0.67
0.00
0.00
0.67
2
0.33
0.33
1.00
3
1.00
0.33
4
0.33
5
b. Using the first five sales transactions, compute Jaccard's coefficients for all pairwise observations for the five binary variables. (Round your answers to 2 decimal places.)
Observations
1
2
3
4
5
1
0.50
0.00
0.00
0.50
2
0.33
0.33
1.00
3
1.00
0.33
4
0.33
5
c-1. Based on Jaccard's coefficients, which of the following transactions is the most similar pair?
◯ Observations 1 and 2
◯ Observations 4 and 3
◯ Observations 3 and 1
◯ Observations 2 and 5
c-2. Based on Jaccard's coefficients, which of the following transactions is the least similar pair?
◯ Observations 4 and 5
◯ Coservations 4 and 3
◯ Observations 5 and 2
◯ Observations 2 and 3
***Please see the third attachment***
Excel info is below - (1st number = transaction, 2nd number = Hamburgers, 3rd number = Fries, 4th number = Soda, and then it repeats and goes back to 1st number = transaction p.s. the photo of the excel data is only half of it that’s why it is below as well.
Transaction
Hamburgers
Fries
Soda
1
0
1
0
2
1
1
0
3
1
0
1
4
1
0
1
5
1
1
0
6
1
0
0
7
0
0
1
8
0
1
0
9
0
0
1
10
0
0
1
11
1
0
1
12
0
1
0
13
1
1
1
14
1
1
1
15
0
1
0
16
0
1
1
17
0
1
1
18
1
0
0
19
0
1
1
20
0
0
1
21
1
0
0
22
1
1
1
23
0
1
1
24
1
0
0
25
1
0
1
26
1
0
1
27
1
0
1
28
1
1
1
29
0
1
0
30
1
0
1
31
1
1
1
32
1
0
0
33
1
1
1
34
1
1
0
35
0
1
1
36
1
1
0
37
0
0
1
38
1
0
1
39
0
1
0
40
1
0
0
41
0
1
1
42
1
1
0
43
1
0
0
44
0
0
1
45
0
1
0
46
0
1
1
47
0
1
1
48
0
0
1
49
1
0
0
50
1
0
1
51
1
0
1
52
1
1
1
53
1
1
1
54
0
1
1
55
0
1
0
56
0
0
1
57
1
1
0
58
1
0
0
59
0
1
0
60
0
0
1
61
0
0
1
62
1
1
1
63
0
1
0
64
0
1
1
65
1
1
1
66
1
1
0
67
1
0
0
68
1
1
0
69
1
0
1
70
1
1
0
71
1
0
0
72
0
0
1
73
0
1
1
74
1
1
1
75
0
0
1
76
0
1
1
77
0
1
1
78
0
1
0
79
0
1
1
80
0
1
1
81
1
1
1
82
1
1
0
83
1
1
0
84
1
1
1
85
0
0
1
86
1
0
0
87
1
0
0
88
0
0
1
89
0
1
1
90
0
1
0
91
0
0
1
92
0
0
1
93
1
1
1
94
0
1
1
95
1
1
0
96
1
0
1
97
0
1
0
98
1
1
0
99
0
1
1
100
0
0
1
101
0
1
0
102
1
0
0
103
1
0
0
104
0
1
0
105
0
0
1
106
1
0
1
107
1
1
1
108
1
1
0
109
0
1
1
110
0
1
1
111
1
0
0
112
0
1
1
113
1
1
0
114
0
0
1
115
1
1
0
116
1
1
1
117
0
1
0
118
1
1
1
119
1
1
1
120
1
1
1
121
0
1
0
122
1
0
0
123
0
0
1
124
1
1
0
125
0
1
1
126
0
1
0
127
1
1
1
128
1
1
0
129
0
1
1
130
1
1
0
131
0
1
1
132
1
1
1
133
1
1
1
134
0
0
1
135
1
0
0
136
1
0
0
137
1
0
0
138
1
1
0
139
1
0
0
140
0
1
0
141
1
1
0
142
0
0
1
143
1
1
0
144
1
1
1
145
1
1
1
146
0
1
1
147
0
1
0
148
0
0
1
149
1
0
1
150
1
0
0
151
0
1
1
152
0
0
1
153
0
1
1
154
1
0
1
155
0
1
1
156
1
0
0
157
1
0
0
158
1
1
1
159
1
0
1
160
1
0
0
161
0
1
1
162
0
1
0
163
1
1
0
164
1
0
1
165
1
0
0
166
1
0
0
167
0
0
1
168
0
0
1
169
0
1
1
170
1
1
0
171
1
0
1
172
1
0
0
173
0
0
1
174
1
1
0
175
1
1
1
176
1
0
1
177
1
0
1
178
0
1
1
179
0
1
0
180
1
0
1
181
0
1
1
182
0
1
0
183
1
1
1
184
1
1
0
185
0
1
1
186
1
0
0
187
1
1
1
188
1
0
1
189
1
0
0
190
1
0
1
191
1
1
0
192
1
0
0
193
1
1
1
194
1
1
0
195
0
1
0
196
0
1
0
197
0
1
1
198
1
1
0
199
0
1
0
200
1
0
0
201
1
0
0
202
0
1
1
203
0
1
1
204
1
1
1
205
1
1
0
206
1
0
0
207
0
1
1
208
1
0
1
209
1
0
1
210
1
1
0
211
0
1
1
212
0
1
1
213
1
1
1
214
1
1
1
215
1
1
1
216
1
0
0
217
0
1
1
218
0
1
0
219
1
0
1
220
0
1
0
221
1
0
0
222
1
1
1
223
1
1
1
224
0
1
0
225
0
1
0
226
1
1
0
227
1
1
1
228
0
1
0
229
1
1
0
230
0
0
1
231
0
0
1
232
1
1
1
233
0
1
0
234
0
0
1
235
1
1
1
236
0
1
1
237
1
1
1
238
0
1
1
*URGENT* these are answered, but plz let me know if they are correct, and if not then plz let me know what the answers are. Excel info and directions are there
***URGENT**** plz help. Directions and excel info are there. These are answered, but I don’t know if they are correct. Plz let me know if they are correct and if not please answer the question with the correct answers.
Consider the following data that shows a portion of sales transactions from a local fast-food restaurant. Each binary variable indicates whether or not a particular book genre is purchased within a transaction.
Transaction | Hamburgers | Fries | Soda |
1 | 0 | 1 | 0 |
2 | 1 | 1 | 0 |
238 | 0 | 1 | 1 |
a. Using the first five sales transactions, compute the matching coefficients for all pairwise observations for the five binary variables. (Round your answers to 2 decimal places.)
Observations | 1 | 2 | 3 | 4 | 5 |
1 | 0.67 | 0.00 | 0.00 | 0.67 | |
2 | 0.33 | 0.33 | 1.00 | ||
3 | 1.00 | 0.33 | |||
4 | 0.33 | ||||
5 |
b. Using the first five sales transactions, compute Jaccard's coefficients for all pairwise observations for the five binary variables. (Round your answers to 2 decimal places.)
Observations | 1 | 2 | 3 | 4 | 5 |
1 | 0.50 | 0.00 | 0.00 | 0.50 | |
2 | 0.33 | 0.33 | 1.00 | ||
3 | 1.00 | 0.33 | |||
4 | 0.33 | ||||
5 |
Excel info is below - (1st number = transaction, 2nd number = Hamburgers, 3rd number = Fries, 4th number = Soda, and then it repeats and goes back to 1st number = transaction p.s. the photo of the excel data is only half of it that’s why it is below as well.
Transaction
Hamburgers
Fries
Soda
1
0
1
0
2
1
1
0
3
1
0
1
4
1
0
1
5
1
1
0
6
1
0
0
7
0
0
1
8
0
1
0
9
0
0
1
10
0
0
1
11
1
0
1
12
0
1
0
13
1
1
1
14
1
1
1
15
0
1
0
16
0
1
1
17
0
1
1
18
1
0
0
19
0
1
1
20
0
0
1
21
1
0
0
22
1
1
1
23
0
1
1
24
1
0
0
25
1
0
1
26
1
0
1
27
1
0
1
28
1
1
1
29
0
1
0
30
1
0
1
31
1
1
1
32
1
0
0
33
1
1
1
34
1
1
0
35
0
1
1
36
1
1
0
37
0
0
1
38
1
0
1
39
0
1
0
40
1
0
0
41
0
1
1
42
1
1
0
43
1
0
0
44
0
0
1
45
0
1
0
46
0
1
1
47
0
1
1
48
0
0
1
49
1
0
0
50
1
0
1
51
1
0
1
52
1
1
1
53
1
1
1
54
0
1
1
55
0
1
0
56
0
0
1
57
1
1
0
58
1
0
0
59
0
1
0
60
0
0
1
61
0
0
1
62
1
1
1
63
0
1
0
64
0
1
1
65
1
1
1
66
1
1
0
67
1
0
0
68
1
1
0
69
1
0
1
70
1
1
0
71
1
0
0
72
0
0
1
73
0
1
1
74
1
1
1
75
0
0
1
76
0
1
1
77
0
1
1
78
0
1
0
79
0
1
1
80
0
1
1
81
1
1
1
82
1
1
0
83
1
1
0
84
1
1
1
85
0
0
1
86
1
0
0
87
1
0
0
88
0
0
1
89
0
1
1
90
0
1
0
91
0
0
1
92
0
0
1
93
1
1
1
94
0
1
1
95
1
1
0
96
1
0
1
97
0
1
0
98
1
1
0
99
0
1
1
100
0
0
1
101
0
1
0
102
1
0
0
103
1
0
0
104
0
1
0
105
0
0
1
106
1
0
1
107
1
1
1
108
1
1
0
109
0
1
1
110
0
1
1
111
1
0
0
112
0
1
1
113
1
1
0
114
0
0
1
115
1
1
0
116
1
1
1
117
0
1
0
118
1
1
1
119
1
1
1
120
1
1
1
121
0
1
0
122
1
0
0
123
0
0
1
124
1
1
0
125
0
1
1
126
0
1
0
127
1
1
1
128
1
1
0
129
0
1
1
130
1
1
0
131
0
1
1
132
1
1
1
133
1
1
1
134
0
0
1
135
1
0
0
136
1
0
0
137
1
0
0
138
1
1
0
139
1
0
0
140
0
1
0
141
1
1
0
142
0
0
1
143
1
1
0
144
1
1
1
145
1
1
1
146
0
1
1
147
0
1
0
148
0
0
1
149
1
0
1
150
1
0
0
151
0
1
1
152
0
0
1
153
0
1
1
154
1
0
1
155
0
1
1
156
1
0
0
157
1
0
0
158
1
1
1
159
1
0
1
160
1
0
0
161
0
1
1
162
0
1
0
163
1
1
0
164
1
0
1
165
1
0
0
166
1
0
0
167
0
0
1
168
0
0
1
169
0
1
1
170
1
1
0
171
1
0
1
172
1
0
0
173
0
0
1
174
1
1
0
175
1
1
1
176
1
0
1
177
1
0
1
178
0
1
1
179
0
1
0
180
1
0
1
181
0
1
1
182
0
1
0
183
1
1
1
184
1
1
0
185
0
1
1
186
1
0
0
187
1
1
1
188
1
0
1
189
1
0
0
190
1
0
1
191
1
1
0
192
1
0
0
193
1
1
1
194
1
1
0
195
0
1
0
196
0
1
0
197
0
1
1
198
1
1
0
199
0
1
0
200
1
0
0
201
1
0
0
202
0
1
1
203
0
1
1
204
1
1
1
205
1
1
0
206
1
0
0
207
0
1
1
208
1
0
1
209
1
0
1
210
1
1
0
211
0
1
1
212
0
1
1
213
1
1
1
214
1
1
1
215
1
1
1
216
1
0
0
217
0
1
1
218
0
1
0
219
1
0
1
220
0
1
0
221
1
0
0
222
1
1
1
223
1
1
1
224
0
1
0
225
0
1
0
226
1
1
0
227
1
1
1
228
0
1
0
229
1
1
0
230
0
0
1
231
0
0
1
232
1
1
1
233
0
1
0
234
0
0
1
235
1
1
1
236
0
1
1
237
1
1
1
238
0
1
1