st: new package hangroot

Thanks to Kit Baum a new package is available on -ssc-: -hangroot-. It
creates a hanging rootogram (Tukey 1977, Wainer 1974) comparing an
emprical distribution to the best fitting normal distribution. (Though
the article by Wainer was published earlier it cites a pre-release
version of (Tukey 1977) as its source.)
A hanging rootogram is an alternative for a histogram with the normal
option. 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 from normality in the tails, where
the counts are small, become more visible.
2) The spikes or bars "hang" from the normal distribution instead of
"standing" on the x-axis. The deviations from normality are now shown
as deviations from a horzontal line (y=0) instead of deviations from a
curve (the normal curve). This makes it easier to spot patterns in the
deviations from normality.
I suspect that the primary usefulness of -hangroot- will be as one of
the last steps in graphically assessing the quality of a -regress-
model, by checking the normality of the residuals. However, I never
underestimate the creativity of users in finding new uses for existing
software.
-hangroot- can be installed by typing -ssc install hangroot-.
-- Maarten
Referencces
Tukey, John W. (1977), "Exploratory Data Analysis", Addison-Wesley.
Wainer, Howard. (1974), "The Suspended Rootogram and Other Visual
Displays: An Empirical Validation". The American Statistician, 28(4),
pp. 143-145.
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/