hangroot draws a hanging rootogram comparing the empirical distribution of a variable to the best fitting theoretical distribution. It is an alternative for histogram with the theoretical density function plotted on top. It differs from a histogram in two ways: 1) Instead of showing the freqencies it shows the square root of the frequencies. This way deviations in the tails, where the counts are small, become more visible. 2) The spikes or bars "hang" from the theoretical distribution instead of "standing" on the x-axis. The deviations are now shown as deviations from a horzontal line (y=0) instead of deviations from a curve (the density function). This makes it easier to spot patterns in the deviations.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
file. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.
Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number
S456886.
Size: Programming language: Stata Requires: Stata version 8.2 Date of creation: 04 Nov 2007 Date of revision:
14 Jan 2008 Handle: RePEc:boc:bocode:s456886
Note: This module may be installed from within Stata by typing "ssc install hangroot". Windows users should not attempt to download these files with a web browser. Contact details of provider: Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Phone: 617-552-3670 Fax: +1-617-552-2308 Email: Web page: http://fmwww.bc.edu/EC/ More information through EDIRC
Did you know? You can include your works in the database easily by uploading them on the Munich Personal RePEc Archive (MPRA) if you do not have access to an institutional RePEc archive.