Hi Statalist users. I have data on few students. Each student appeared in 5 tests. I have to calculate the mean of the 3 highest values out of the 5. Can someone kindly help with the code.
Here is the data.
Here is the data.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte(id t1 t2 t3 t4 t5) 1 66 67 95 61 56 2 92 84 98 70 97 3 70 80 96 88 74 4 66 100 75 70 66 5 82 61 74 86 72 6 59 67 100 68 56 7 70 55 93 67 58 8 85 54 98 82 98 9 72 74 74 63 79 end
Comment