IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s347301.html
 

VIOLIN: Stata module to generate violin plots

Author

Listed:
  • Thomas Steichen

    ()

Abstract

violin produces violin plots, a graphical box plot--kernel density synergism. The violin plot combines the basic summary statistics of a box plot with the visual information provided by a local density estimator. The goal is to reveal the distributional structure in a variable. Much like a traditional box plot, the violin plot displays the median as a short horizontal line, the first-to-third interquartile range as a narrow shaded box, and the lower-to-upper adjacent value range as a vertical line, but it does not plot outside values. Instead, it "boxes" the data with mirrored density curves and labels the y-axis at the minimum, median and maximum observed data values. This is version 1.4.1 of the software. This version has been modified to run correctly under Stata Version 7 (though it remains a version 6 program).

Suggested Citation

  • Thomas Steichen, 1998. "VIOLIN: Stata module to generate violin plots," Statistical Software Components S347301, Boston College Department of Economics, revised 04 Feb 2001.
  • Handle: RePEc:boc:bocode:s347301
    Note: This module may be installed from within Stata by typing "ssc install violin". Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/v/violin.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/v/violin.hlp
    File Function: help file
    Download Restriction: no

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s347301. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum). General contact details of provider: http://edirc.repec.org/data/debocus.html .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.