Could it be that you are using Stata/IC? Then -maxvar- is limited to 2,047.
When your observations are turned into variables via -reshape- this value is
exceeded. From what I understand from -help stataic- this limit cannot be
reset...
Martin Weiss
_________________________________________________________________
Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany
Fon: 0049-7071-2978184
Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130
Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131
SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Simon Oertel
Sent: Thursday, May 15, 2008 12:36 PM
To: [email protected]
Subject: st: reshape problem
Dear Stata Users,
my dataset contains 4000 observations. Each subject in the dataset is
member of an investment program, while some subjects join more than one
program. So in total my dataset is based on 3232 subjects; some of them
registered two or more times based on different investment programs.
However, I would like to use the reshape command to restructure my data
from long to wide but I always get the message "... takes to many
values". The variable I would like to use as "j" in the reshape command
is unique for each subject.
Is there another way to restructure my data - besides reshape, or any
other solution for my problem?
Thanks for your answers.
Simon
*
* 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/
*
* 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/