Difference between revisions of "Histogram versus Bar Plot"

From Open Risk Manual
(Created page with "== Histogram versus Bar Plot == Histograms are visualizations of frequency (probability) distributions of a Numerical Variables. Bar Plots are visualizations of the freque...")
 
 
Line 1: Line 1:
 
== Histogram versus Bar Plot ==
 
== Histogram versus Bar Plot ==
Histograms are visualizations of frequency (probability) distributions of a [[Numerical Variables]]. Bar Plots are visualizations of the frequency of occurrence of [[Categorical Variable]]
+
Histograms are visualizations of frequency (probability) distributions of suitable binned [[Numerical Variable | numerical variables]]. Bar Plots are instead visualizations of the frequency of occurrence of the different values of [[Categorical Variable]]
 +
 
 +
While superficially the same, histograms and bar plots have quite different semantics:
 +
* In a histogram, the number of bins is variable but their ordering is not
 +
* In categorical variable bare plot the number of bars is given but their ordering is not
 +
 
 +
Many of the probabilistic concepts that one can read from a histogram (the shape and properties of the distribution) are not meaningful for a bar plot.
  
 
[[Category:X versus Y]]
 
[[Category:X versus Y]]
 
[[Category:Visualization]]
 
[[Category:Visualization]]

Latest revision as of 20:16, 10 September 2019

Histogram versus Bar Plot

Histograms are visualizations of frequency (probability) distributions of suitable binned numerical variables. Bar Plots are instead visualizations of the frequency of occurrence of the different values of Categorical Variable

While superficially the same, histograms and bar plots have quite different semantics:

  • In a histogram, the number of bins is variable but their ordering is not
  • In categorical variable bare plot the number of bars is given but their ordering is not

Many of the probabilistic concepts that one can read from a histogram (the shape and properties of the distribution) are not meaningful for a bar plot.

Contributors to this article

» Wiki admin