Abstract:
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.
Language: Stata Requires: Stata version 8.2 Keywords:exploratory data analysis; model diagnostics (search for similar items in EconPapers) Date: Written 2007-11-04 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.
More software in Statistical Software Components from Boston College Department of Economics Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Contact information at EDIRC. Series data maintained by Christopher F Baum ().
This site is part of RePEc
and all the data displayed here is part of the RePEc data set.
Is your work missing from RePEc? Here is how to
contribute.
Questions or problems? Check the EconPapers FAQ or send mail to .