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
xtlsdvc and xtbcfeHello, I am trying to fit a dynamic model determinants of corporate cash holdings for ~1700 firms a…
Robust or Clustered Standard ErrorsDear all, I am currently examining the impact of annual average sunset time on sleep duration of ch…
Generating new variables using an if functionI am trying to sort income based on marital Status and then generate new adjusted income based on ta…
Free text processing of medical notes I am attempting to search pathology reports, which are in string format, to identify only those whi…
Adjusting the DSS Stata 'Prediction of normal returns formula'Dear Statalists, in order to be able to calculate non-parametric significance tests when doing an e…
Subscribe to:
Post Comments (Atom)
0 Response to Reshape : , not allowed
Post a Comment