Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -distplot- revised on SSC


From   Nick Cox <[email protected]>
To   [email protected]
Subject   st: -distplot- revised on SSC
Date   Wed, 07 May 2003 17:44:44 +0100

Thanks to Kit Baum, the -distplot- package has been revised
on SSC for Stata 8. -distplot- is for cumulative (probability
or frequency) distribution plots. 

Type 

ssc describe distplot 

or 

ssc install distplot 

or 

ssc install distplot, replace 

if and as desired in Stata 8. If you have Stata 7, 
then the previous version of -distplot- on SSC 
remains there, cloned as -distplot7-. 
If you have Stata 6, then an earlier version 
of -distplot- is downloadable from the files 
for STB-51 (type -search distplot-). 

This revision is more than a minimal revision 
of -distplot- so that the graphics produced 
use those of Stata 8. A few features which seemed 
idiosyncratic or minor have been removed. 
Some features which were implemented in 
the -ordplot- package have been implemented in 
a more general form in -distplot-. -ordplot- 
remains on SSC for version 6.0 up, but will not 
be further developed, at least by me. 

The main features of -distplot- are 

* support for showing distributions for groups of 
a single variable 

* support for showing distributions for several 
variables 

* support for fweights and aweights 

* support for different plottypes. The syntax 
starts 

        distplot plottype 

where plottype is one of area, bar, connected,
dot, dropline, line, scatter or spike. Most 
users will probably decide that only about 
three of these are at all useful, but the 
flexibility is there, courtesy of the design 
of -twoway-. 

* support for showing cumulative frequency 
as well as cumulative probability 

* support for reverse distributions 

* support for showing probability 
or frequency on any user-chosen transformed scale 
(providing transformation can be 
expressed as an expression in Stata) 


Nick
[email protected]
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index