Hi everyone!
I have results of interviews (one person interviewed in each household). There is information on different family members but for the rest, everyting is exaclty the same. For example:
respondent_name name_of_mem relationship_to_hhhead sex_mem
ABE-ABE, LORITA ABE-ABE, LORITA other relative Female
ABE-ABE, LORITA DE GRACIA, FRECHIE THERESE Son/Daughter Female
ABE-ABE, LORITA DE GRACIA, TERESITA Head Female
So respondent_name is the same but the name of member varies. I am trying to reshape into wide form to have information of family members as attributes of the respondent name.
I used the command:
reshape wide relationship_to_hhhead sex_mem age_hhmem, i( respondent_name) j( name_of_mem) string
Stata says then (note j = ... (listing all my members name) ) , not allowed
what does the " , not allowed" mean? What am I doing wrong?
Thank you for your answers!!
Chloé
Related Posts with Reshape : , not allowed
Omission of variables while using interactions in panel dataDear All, is this normal to get a results like below while using interactions (my variables got omit…
How to standardize variables to make max value 1 and min value -1 ?Hello, I am having trouble standardizing to standardize some panel data from VDEM. The data doesn't…
xteprobit convergece failHi, I tried to estimate a probit panel data model with endogenous binary variable using xteprobit. F…
Interpreting effect sizeDear all, I will please like to know how to discuss the result of a regression analysis e.g. Ols pr…
Intergrowth 21th neonatal birth weight standard commandHi all I am trying to calculate the proportion of newborns born small-for-gestational age for newbo…
Subscribe to:
Post Comments (Atom)
0 Response to Reshape : , not allowed
Post a Comment