Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Package to construct violin plots on SSC (vioplot)


From   Nick Winter <[email protected]>
To   Stata List <[email protected]>
Subject   st: Package to construct violin plots on SSC (vioplot)
Date   Wed, 16 Jan 2008 08:49:13 -0500

Greetings,

Kit Baum has just posted my package -vioplot-, which constructs violin plots.

Violin plots are a modification of box plots, that add plots of the estimated kernel density to the summary statistics displayed by box plots. They include a marker for the median of the data, a box indicating the interquartile range, and spikes extending to the upper- and lower-adjacent values, as in standard box plots. Overlaid with this modified box plot is a density, estimated by kdensity. They were first described by Hintze and Nelson (1998).

(There is a separate package, "violin," by Thomas Steichen that constructs violin plots as well. The major difference is that program runs under the "old," v7 graphics.)

Hintze, Jerry L., and Ray D. Nelson. 1998. "Violin Plots: A Box Plot-Density Trace Synergism." The American Statistician 52(2):181-84.

I'd love any feedback on the program.

Best,
Nick Winter


--
--------------------------------------------------------------
Nicholas Winter 434.924.6994 t
Assistant Professor 434.924.3359 f
Department of Politics [email protected] e
University of Virginia faculty.virginia.edu/nwinter w
PO Box 400787, 100 Cabell Hall
Charlottesville, VA 22904

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index