Violin Plot

Violin plots are a method of plotting numeric data. A violin plot is a combination of a box plot and a kernel density plot. Specifically, it starts with a box plot. It then adds a rotated kernel density plot to each side of the box plot.

The violin plot is similar to box plots, except that they also show the probability density of the data at different values (in the simplest case this could be a histogram). Typically violin plots will include a marker for the median of the data and a box indicating the interquartile range, as in standard box plots. Overlaid on this box plot is a kernel density estimation.

Violin plots are available as extensions to a number of software packages, including R through the vioplot, wvioplot, UsingR, lattice, and ggplot2 libraries, and Stata through the vioplot add-in.

Violin plots are also quite similar to the turnip graph used in STATA.

Famous quotes containing the words violin and/or plot:

    Philosophy, astronomy, and politics were marked at zero, I remember. Botany variable, geology profound as regards the mud stains from any region within fifty miles of town, chemistry eccentric, anatomy unsystematic, sensational literature and crime records unique, violin player, boxer, swordsman, lawyer, and self-poisoner by cocaine and tobacco.
    Sir Arthur Conan Doyle (1859–1930)

    “The plot thickens,” he said, as I entered.
    Sir Arthur Conan Doyle (1859–1930)