I use -ciplot- to show the state of Health (1Very Good...5Very bad) across Age. -ciplot- graphs the mean values of Health but I want to plot it as count (1,2,3,4,5) instead. Is there any way to trick the process e.g. transforming the data structure.

Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double(Age Health) 85 4 40 2 73 2 50 3 51 2 62 3 43 2 69 2 27 3 55 4 59 3 50 2 72 4 75 3 31 2 53 3 65 3 44 3 72 3 64 2 54 2 65 2 70 2 59 3 50 2 54 4 70 2 73 3 54 3 38 1 79 2 50 2 57 3 46 2 53 4 85 4 79 3 31 2 50 4 35 2 61 2 70 3 50 2 37 2 87 3 54 2 62 3 50 3 55 3 50 2 62 2 60 2 61 3 52 1 70 2 70 3 60 3 72 3 64 3 61 3 67 3 74 3 56 3 80 2 52 2 90 4 50 3 66 4 67 4 46 3 86 4 57 3 70 2 65 3 56 4 74 3 65 3 55 2 71 2 62 3 60 3 52 3 78 3 55 2 81 4 37 1 52 3 55 3 75 4 38 2 50 2 73 3 28 1 64 2 75 4 82 3 68 3 75 2 50 3 49 2 end
Code:
ciplot Health, by(Age)
Comment