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

st: numerous histograms -> too many values -- r(1001)

From   Daniel Müller <>
To   <>
Subject   st: numerous histograms -> too many values -- r(1001)
Date   Mon, 24 Feb 2003 17:04:11 +0100

I am plotting several variables to observe their distributions. That works
well until graph number 23. Then I get below error message (I am using
Stata8/SE, WinXP). Here's the code:

. local vars "yiwrice3 ires32 iwealth3a xhhcred3 loganpk logarice year2
xethn3 secon3 logtravayr3 logcd_com logcd_dis avil aayr herovil xhhric3
xhh2wrice3 aaricehh3 xhh05ha3 logirri_ha logirriXyear2 xhhmai3 logximtot32
xhhsell3 logxhhhepa"

. tokenize vars

. foreach var of local vars {
  2.         histogram `var', bin(10) frequency normal name(`var', replace)
  3. }

(bin=10, start=100, width=65)
(bin=10, start=.42857143, width=.05357143)
too many sersets
too many values

If I delete the variable where I get the error, Stata still only produces 23
There are only 100 obs in the data. r(1001) tells that 'You have attempted
to create a table that has too many rows or columns.' I thought the max
number of rows and cols is unlimited in Stata SE. What is wrong here?

Thanks in advance,
--- Daniel ---

*   For searches and help try:

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