A histogram can be used to show either continuous or categorical data in a bar graph. For continuous data the histogram command in Stata will put the data into artificial categories called bins. For example, if you have a list of heights for 1000 people and you run the histogram command on that data, it will organize the heights into ranges. Each range is shown as a bar along the x-axis, and each bar represents the number of people whose height falls into that range. In this way the histogram command has created height categories to give a visual understanding of the distribution of heights in the data.
graphics, stata
Change your Stata menus to display in other languages
stata
Analysis of the AFL 2025 ladder using bumpline graphs
graphics, stata
A violin plot is a modified box-plot which adds the estimated kernel density to each plot. To draw this plot in Stata you will need a user-written command called vioplot. This can be easily installed within Stata using the following command:
graphics, stata
Create a heat map and horizontal bar graph in Stata to compare Melbourne Cup horse performance and identify potential betting value.
analytics, graphics, modelling, stata
In this TechTip, we demonstrate how to use Calligram to visualise Australian Consumer Price Index (CPI) data. We will create a word cloud in the shape of Australia, with each word representing an expenditure category. The size and colour of each word will reflect its annual percentage price increase.
graphics, maps, text