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
i am using panel data and if i run the analysis it shows me "Age of PFA" is omitted because of collinearity. need help. find my data belowi am using panel data and if i run the analysis it shows me "Age of PFA" is omitted because of colli…
Stacked bar graph: percentage of total observations, by groupsHello, I would like to produce a graph that shows the percentage of total observations (code_7), ov…
Having problem reshaping my qualitative data for estimation of nested logitI have a dataset with 727 observation and 29 variables. The variables with biom and solar prefix are…
unbalanced panel data with endogenous explanatory variable and some unobservable variablesHi All, I'm struggling with an equation that has an endogenous regressor (sample selection bias) and…
i am using panel datai am using panel data and if i run the analysis it shows me that the resul of one variable "Age of P…
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