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:
“The basic difference between classical music and jazz is that in the former the music is always greater than its performanceBeethovens Violin Concerto, for instance, is always greater than its performancewhereas the way jazz is performed is always more important than what is being performed.”
—André Previn (b. 1929)
“After I discovered the real life of mothers bore little resemblance to the plot outlined in most of the books and articles Id read, I started relying on the expert advice of other mothersespecially those with sons a few years older than mine. This great body of knowledge is essentially an oral history, because anyone engaged in motherhood on a daily basis has no time to write an advice book about it.”
—Mary Kay Blakely (20th century)