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" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: problem with reshape
Date   Wed, 23 Jul 2003 14:49:47 +0100

Ernest Berkhout replied to jaks@zoom.co.uk 

> >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 
n.j.cox@durham.ac.uk 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index