Dear all,
I have a query regarding the bar chart command in STATA. I have been trying to reproduce a graph similar to the one I have created in excel (attached). I have tried several commands using Stata but I have not came close to the result I am after. The best farthest I have gone is by using the following command: graph hbar, over( prep_ph ) by(gender) bargap(-50) nofill
The data I need to capture in a bar chart are reported in the table below. Not sure it is possible with STATA though.
If anyone has any suggestion it would be very appreciated. Thanks, Elena
I have a query regarding the bar chart command in STATA. I have been trying to reproduce a graph similar to the one I have created in excel (attached). I have tried several commands using Stata but I have not came close to the result I am after. The best farthest I have gone is by using the following command: graph hbar, over( prep_ph ) by(gender) bargap(-50) nofill
The data I need to capture in a bar chart are reported in the table below. Not sure it is possible with STATA though.
If anyone has any suggestion it would be very appreciated. Thanks, Elena
tot | male | female | ||
Preparation phase (%) | mostly men | 17.1 | 25 | 11.8 |
Mostly women | 78.7 | 72.6 | 82.8 | |
Equal number | 4.2 | 2.4 | 5.4 | |
Maintenance phase (%) | mostly men | 95.5 | 97.6 | 94.0 |
Mostly women | 3.2 | 2.4 | 3.8 | |
Equal number | 1.3 | 0 | 2.2 | |
Harvesting phase (%) | mostly men | 93.2 | 94.3 | 92.4 |
Mostly women | 5.5 | 5.7 | 5.4 | |
Equal number | 1.3 | 0 | 2.2 |
Comment