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

Re: st: bug with histogram?


From   [email protected] (Jeff Pitblado, Stata Corp.)
To   [email protected]
Subject   Re: st: bug with histogram?
Date   Wed, 07 May 2003 12:31:03 -0500

Edwin Leuven <[email protected]> uncovered a bug in -graph twoway histogram-:

> i get the following error message when making a histogram
> 
> . hist v4, by(v1) discrete freq
> (start=0, width=1)
> __00000L not found
> no variables defined
> r(111);
> 
> does anyone know what's going on?

Nick Cox <[email protected]> then mentions a possible source of the
problem, and suggests using -spikeplot-.

The above error message is the result of a limitation in how the bin centers
were generated.  In the above case, the bin centers were not generated.

We have identified the problem, and already have a solution.  As mentioned by
Nick, this problem only arrives when trying to categorize a variable with more
that 999 bins, even when the number of non-empty bins is much less than 999.

The fix will be available in the next ado-update.

--Jeff
[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