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

st: rugplot


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: rugplot
Date   Fri, 16 May 2003 19:15:44 +0100

Here is a small graphical trick possible in an up-to-date
Stata 8: 

levels myvar, local(levels) 
histogram myvar, xtic(`levels', tposition(inside)) 

I don't know what limit there is on how many levels 
you can show. I guess that it bites for data sets 
large enough for this to be of little or no value 
graphically. 

I believe that a similar idea is referred to in many circles
(S-Plus, R?) as drawing a rugplot. Original reference
welcome. 

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