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

st: Truncating x-axis in kernel density graphs


From   Ramani Gunatilaka <Ramani.Gunatilaka@buseco.monash.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: Truncating x-axis in kernel density graphs
Date   Thu, 27 Nov 2003 10:00:49 +0000

Hi all,
I am plotting kernel density functions of per capita household consumption for three years on the same graph.
All three distributions are skewed to the left and have very long tails extending to the right.
I would like to truncate the x axis at a certain consumption value so that the long tail is dropped and the area where all the action is, stretched across so that the changes are more visible.
I have explored the graph scale options and Stata list archives but couldn't find anything that related to my particular problem. 
If I were to specify a shorter range of consumption values than the entire data set, wouldn't it distort results?
Would anyone be able to advise of any alternative?
Thanks in advance,
Ramani
*
*   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