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

RE: st: RE: problem with reshape


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: problem with reshape
Date   Wed, 23 Jul 2003 14:49:47 +0100

Ernest Berkhout replied to [email protected] 

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

A specific problem with suffixes like 01, 02, ... is 
flagged, together with some other points, at 
http://www.stata.com/support/faqs/data/reshape3.html

Nick 
[email protected] 

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