Hi everyone,
I am struggling with how I should merge two datasets. The dataset contains respondents, who have provided information on the household (applicable to the whole household) plus few information on the household members. However, these information (age, sex, primary occupation,...) on members are to be found in an other table. So I would like to merge these two tables based on the respondent name which is the same accross household members and turn household members' information into attribute of each household observation (identified by respondent name) such as member1_sex, member 1_age,... member2_sex, member2_age,...
All of this knowing the number of member is varying across households... Each household member being identified by its own name!
Thanks a lot for your answers,
Related Posts with Merge two data set? (particular case)
Having trouble while using inequality signs.Hi. I am having trouble with following script. It is a real basic function but I don't know why it …
questions about gologit2 command*and related modelsHi, I want to ask some questions about gologit2 command and partial proportional odds model. Here's…
Describing missing data by country and variableCan use by with mdesc command, or can I somehow describe missing data by country and variable. …
xtlogit, re gives constant with large magnitudeMy xtlogit, re regression gives constant estimate of 40.23.. (and is significant) while my model cov…
r(3900); error running Latent Class AnalysisI'm trying to run a latent class analysis analysis (60,000 cases, 20 variables, with group (6 groups…
Subscribe to:
Post Comments (Atom)
0 Response to Merge two data set? (particular case)
Post a Comment