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

Re: st: Reshape command


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Reshape command
Date   Mon, 02 Feb 2004 15:22:54 +0000

At 15:10 02/02/04 +0000, Tumur Gunchinmaa wrote:
Dear all,
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?
There should definitely be a comma between the "reshape long" and the "i(id)", as in

reshape long varnames, i(id)

Roger



--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

Opinions expressed are those of the author, not the institution.

*
* 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/




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