Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: bugfix hangroot


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: bugfix hangroot
Date   Wed, 28 Nov 2007 10:21:44 +0000 (GMT)

Thanks to Kit Baum a bug fix for the -hangroot- package is now
available from ssc. -hangroot- miscalculated the hights of the bars,
this has now been fixed. Users can update their version by either
typing -adoupdate, update- or -ssc install hangroot, replace-.

-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.

-- Maarten

-----------------------------------------
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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index