I'd like to represent the following table of probabilities in a chart. Trans is my time variable and I would like the a cluster of the 4 other variables per time point. I tried the following but didn't get what I needed:
graph bar (asis) stayedNE becameNE becameE stayedE, over(transition_t)
I'd be very grateful for any help!
+----------------------------------------------------+
| transi~t stayedNE becameNE becameE stayedE |
|----------------------------------------------------|
1. | 1 to 3 0.771 0.229 0.240 0.760 |
2. | 3 to 5 0.881 0.119 0.450 0.550 |
3. | 5 to 8 0.800 0.200 0.256 0.744 |
4. | 8 to 11 0.862 0.138 0.321 0.679 |
5. | 11 to 16 0.879 0.121 0.459 0.541 |
+----------------------------------------------------+
graph bar (asis) stayedNE becameNE becameE stayedE, over(transition_t)
I'd be very grateful for any help!
+----------------------------------------------------+
| transi~t stayedNE becameNE becameE stayedE |
|----------------------------------------------------|
1. | 1 to 3 0.771 0.229 0.240 0.760 |
2. | 3 to 5 0.881 0.119 0.450 0.550 |
3. | 5 to 8 0.800 0.200 0.256 0.744 |
4. | 8 to 11 0.862 0.138 0.321 0.679 |
5. | 11 to 16 0.879 0.121 0.459 0.541 |
+----------------------------------------------------+
Comment