FRAMED_BAR: Stata module for framed bar charts
Nicholas Cox
Statistical Software Components from Boston College Department of Economics
Abstract:
framed_bar draws framed bar charts showing summary statistics for one or more numeric variables. Frames comparing bars with limiting values can work to simplify, by making an obvious complement tacit rather than explicit, and to clarify, by making near extremes evident. It is best explained statistically by a leading application. Suppose we have a binary variable coded 0 or 1. This command can produce a bar chart showing the proportion of successes within a frame of height or length 1. The empty space corresponds to the proportion of failures. Equivalently, such a bar chart plots the mean or means of one or more sets of binary values, as a mean of such a (0, 1) variable is just the proportion of successes. Any single summary statistic offered by collapse may be chosen rather than means. Annotation by default shows the statistics (say means) concerned as a numeric text display. Annotation may be shown optionally of sample sizes as a numeric text display. Values shown may on the fly be replaced according to a specified calculation.
Language: Stata
Requires: Stata version 12
Keywords: graphics; indicator variables; summary statistics; bar charts (search for similar items in EconPapers)
Date: 2024-09-23, Revised 2024-10-02
Note: This module may be installed from within Stata by typing "ssc install framed_bar". 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/f/framed_bar.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/framed_bar.sthlp help file (text/plain)
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:s459376
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 ().