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" <>
To   <>
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:

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