EconPapers    
Economics at your fingertips  
 

STATPLOT: Stata module for plots of summary statistics, including by category

Eric Booth and Nicholas Cox

Statistical Software Components from Boston College Department of Economics

Abstract: statplot plots summary statistics. It is a wrapper for graph hbar, or bar, or dot. It is offered as an alternative command that may on occasion produce graphs that are more congenial or more convenient than those yielded by the equivalent Stata commands. The graphs produced are typically based more on axis labeling than on the use of legends, and typically are shown in one color rather than several. Version 1.3.0 added confidence intervals (ci, level(), ciopts()), percentages and shares (percent, share, base()), label wrapping (wrap()), control of the order in which variables are plotted (sort, descending, order(), first(), last()), heading and group brackets on the category axis (headings(), groups()), and export of the collapsed results set that is graphed (savedata(), listdata, frame()); statplot is rclass and returns its results in r(). Version 1.3.3 draws category labels of any length in full on every Stata version; wraps labels written in scripts that do not use spaces between words, such as Chinese, Japanese and Thai, measuring width in display columns; orders groups under ci as graph hbar does; and keeps each grouping variable's own values and value labels in exported results. Every option added since 1.2.7 is optional and with none of them the behaviour is unchanged. A test battery ships with the package as an ancillary file.

Language: Stata
Requires: Stata version 8.2
Keywords: graphics; summary statistics; bar chart; dot chart (search for similar items in EconPapers)
Date: 2011-03-05, Revised 2026-11-14
Note: This module should be installed from within Stata by typing "ssc install statplot". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/statplot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/statplot.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/statplot_pkgtest.do sample do-file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/statplot_examples.zip zipfile of examples (application/zip)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457248

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-11-16
Handle: RePEc:boc:bocode:s457248