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

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   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

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