I have data collected from two devices. device 1 is the traditional way of identifying accidents and fatalities from a database. We are trying to show that device 2 is better. After device 1 is done with analysis, we feed the data into devices 2 to see what device 1 has missed, so the columns for device 2 are both what was missed by device 1. is there a way to show the percent by which device 2 is performing in identifying accidents and fatalities? It could be that device 2 also missed some so can I add up the columns for device 1 and 2 as the denominator?
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 100 out of 100 observations
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte(id device1accidents device2accidents device1fatalities device2fatalities) 1 5 3 1 3 2 4 1 2 2 3 4 1 0 2 4 5 1 0 0 5 5 2 1 1 6 3 3 1 1 7 5 2 0 1 8 4 2 1 4 9 6 3 0 1 10 7 2 1 0 11 2 4 1 0 12 5 4 0 2 13 5 1 3 1 14 6 2 1 2 15 4 1 0 0 16 6 2 1 2 17 6 3 2 0 18 1 2 2 2 19 7 4 2 1 20 2 3 1 2 21 11 4 1 1 22 4 1 2 0 23 3 1 2 2 24 8 1 2 0 25 3 2 1 0 26 3 2 4 0 27 5 5 1 1 28 8 5 1 3 29 3 2 1 4 30 2 2 0 1 31 5 3 0 0 32 3 2 1 3 33 8 1 1 0 34 10 2 0 0 35 3 5 2 1 36 2 5 2 0 37 5 3 0 1 38 7 4 0 1 39 6 1 1 1 40 6 3 3 1 41 2 4 1 0 42 4 3 1 1 43 9 3 1 1 44 7 3 3 3 45 11 3 1 1 46 8 5 0 0 47 3 3 0 1 48 2 5 0 1 49 3 2 0 2 50 4 2 0 0 51 5 5 0 1 52 5 3 0 0 53 4 3 0 0 54 3 3 2 0 55 8 6 1 1 56 2 6 2 2 57 1 3 1 0 58 4 5 2 0 59 5 2 0 0 60 4 4 1 2 61 3 3 3 1 62 4 2 0 2 63 8 4 0 2 64 2 1 0 1 65 2 3 0 3 66 2 1 1 1 67 7 3 0 1 68 6 3 4 0 69 7 1 1 0 70 6 2 1 0 71 7 4 1 1 72 6 2 0 1 73 4 5 1 0 74 2 0 1 2 75 3 3 1 2 76 4 2 0 3 77 7 0 5 1 78 4 2 0 0 79 3 2 1 0 80 2 4 0 2 81 6 2 1 1 82 3 1 0 0 83 5 1 0 1 84 9 0 1 0 85 6 2 2 2 86 6 4 2 1 87 9 3 2 2 88 4 5 4 0 89 9 5 3 2 90 2 3 2 2 91 10 4 2 0 92 6 1 1 2 93 9 3 0 0 94 4 4 1 1 95 1 4 2 2 96 6 3 0 2 97 8 2 0 0 98 6 2 3 1 99 2 3 1 2 100 3 3 1 1 end
Listed 100 out of 100 observations
Comment