I,m using STATA 12
I successfully used the catplot command to produce a bar chart that compares the percentage of overweight/obese in males & females using the following:
catplot gender obese, percent (gender) asyvars recast(bar)
which yielded the following graph
however, I couldn't figure a way to show the total. I want the graph to look like the attached graph (with males, females & totals)
any hints on how to do that?
Wafa
I successfully used the catplot command to produce a bar chart that compares the percentage of overweight/obese in males & females using the following:
catplot gender obese, percent (gender) asyvars recast(bar)
which yielded the following graph
however, I couldn't figure a way to show the total. I want the graph to look like the attached graph (with males, females & totals)
any hints on how to do that?
Wafa
Comment