An histogram is an accurate graphical representation of the distribution of numerical data. It takes as input one numerical variable only. The variable is cut into several bins, and the

number of observation per bin is represented by the height of the bar. Note that the shape of the histogram can be really different following the number of bins you set. Thus, try different

values before taking any conclusion. Note that it is really close to density plot. To compare several distributions, add them on the same axis or use violinplots.

## Leave a Reply

Be the First to Comment!