Hi family,
I have a data set that the individual household member's information is presented in the wide format instead of the expected long format(row per every household member with repeated hhID if same household).
I tried my best by using the command reshape wide mid1, i(otherhh_id) j(hhnumber) but it didn't work out.
Any help?.
I attached the dataset for your perusal.
Thank you.
Sham
Related Posts with How to reshape/convert a household data set in the wide format to long format
Turning numeric variable into stata time variableI have a dataset broken into date and time of the day. I want to break this time variable into hour …
Handling duplicatesHello, This is my first post here and I am generally new to Stata, but I'll try to formulate my con…
Number format which does not add zeros to natural numbersI want Stata to show decimals only for numbers which are not natural. For instance - I want the numb…
Interpretation of long and short run coefficients in ARDL modelHi, I needed some help understanding how to interpret the short and long run coefficients of ARDL m…
Date formatHello, In the dataset, the date is in format : Code: 2015 - 07 - 01 00:00:00 2016 - 01 - 01 00:00…
Subscribe to:
Post Comments (Atom)
0 Response to How to reshape/convert a household data set in the wide format to long format
Post a Comment