[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Reshape command
At 03:22 PM 2/2/2004 +0000, Roger Newson wrote:
I just want to add one bit of advice. Prior to the -reshape-, you should
-keep- only the variables you want to come through the
-reshape-. (Equivalently, -drop- the ones you don't want.) Keep those you
mention in the -reshape- command, plus any others you want retained (which
will be spread out as constants within each id-group.) If you neglect to
do this, you may end up with many excess variables (each spread out as
constants within id-groups), taking up lots of space, and adding
significant processing time to the -reshape-. The reshape help does not
say much about this.
At 15:10 02/02/04 +0000, Tumur Gunchinmaa wrote:
There should definitely be a comma between the "reshape long" and the
"i(id)", as in
I am new to Stata and started using Stata 6.0.
I am having problems to reshape my data from wide to long form.
I have many variables.
Is there any way to reshape it without typing in "j"s.
Also when I type the command
.reshape long i(id)
Stata asks me to indentify "i". What does this mean?
reshape long varnames, i(id)
I hope this is useful.
Institute for Policy Studies
Johns Hopkins University
* For searches and help try: