# Simple Mean Plot by Categories

The following bar graph shows the mean of 5 different categories compared in one graph. A graph such as this could be used for comparing a certain variable over different age ranges etc.

The following code will create the graph above when implemented into Stata16: