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
Synth_runner: Interpret the statistical outcome and general questions [Stata]Hello together, I am started to work with stata and synth_runner package. I try to figure out differ…
ring setting of legend option and scheme modifiedDear Stata users, I like placing the legend inside the plot, so I modify scheme s2color as follows:…
xtabond2 Hansen testHello I'm using system GMM to estimate TFP growth (gtfp_100) at regional level . I've a problem with…
Static (not dynamic) panel data using xtabond2.Dear All, This is a question more about econometric concept rather than Stata code. While (ssc insta…
Subsetting data using labelsHi, I have 15 big data sets where I want to keep only a few variables and I want to do the same to …
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