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

Re: st: RE: problem with reshape


From   Ernest Berkhout <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: RE: problem with reshape
Date   Wed, 23 Jul 2003 15:41:36 +0200

At 15:22 23-7-2003, [email protected] wrote:
My data is currently wide.i.e. the title row: hhid
with columns going accross as memage_01 memex_01 reltohead_01 memage_02
memsex_02 reltohead_02......up to 22.

When typing in reshape long (varname), i(hhid) j(memno)
That can't be executed, I think you need to do: reshape long (memage_ memex_ reltohead_ ), i(hhid) j(memno)
Also check that all variables are numeric.




Ernest Berkhout
SEO Amsterdam Economics
University of Amsterdam

Room 3.08
Roetersstraat 29
1018 WB Amsterdam
The Netherlands

tel.:+ 31 20 525 1657
fax:+ 31 20 525 1686
http://www.seo.nl
===========================
A statistician: someone who insists
on being certain about uncertainty
===========================

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