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/