Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: Date: Sun, 7 Feb 2010 21:41:16 +0100


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: Date: Sun, 7 Feb 2010 21:41:16 +0100
Date   Sun, 7 Feb 2010 16:21:24 -0500

<>
Martin wrote

So when you -trace- the execution of -reshape- with your problem in mind,
you can see that it is actually the limits of -tabulate- that bite here
(hence no entry for -reshape- in -help limits- which initially bewildered
me). 

According to -help limits-, the limits differ between -version-s. For my MP,
the limit is at 12,000 unique values. Your number exceeds all of the limits,
so you have to find a way around this along the lines of Kit`s suggestion.


but the limits, although technically binding, are irrelevant. If you have continuous data, you never want to create a category for each number on the real line represented in your data. The same issue arises if you

set obs 20000
g junk = runiform()
tab junk, gen(dum)

you just don't want to do this. The original post suggested a misunderstanding of the role of the variable(s) TO reshape and the variables that control the reshaping process. Logically, the i() and j() variables must be integers (or, for j, a finite number of string values) to make any sense.

Apologies for the missing subject on the previous posting.

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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