Statalist The Stata Listserver


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

st: changing limits of histogram bins


From   "Richard Hiscock" <[email protected]>
To   <[email protected]>
Subject   st: changing limits of histogram bins
Date   Mon, 19 Mar 2007 17:42:37 +1100

I am trying to create a frequency histogram where bins consist of cuts of a variable (proportion of observations therefore range [0,1]) in 0.1 bins sizes.
In Stata v9 using histogram..., width(0.1) start(0(0.1)1) the bins appear to be constructed [0,0.1) [0.1 ,0.2) ... & finally [0.9,1]
Is it possible to change the bin limits (0,0.1] (0.1,0.2] so that the upper limit is exclude from the bin?
Or should I just reset the bin limits for example ...,width(0.1) start (0(0.10001)1) xlab(0(0.1)1)?

thanks Richard Hiscock





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