Dear friends, I would like to ask you for help on a problem, hopefully someone can help me.
I have two sets of information, in one case is a household survey with detailed personal information, in another, I have information on purchases of people (identified by an id) the only information available is salary, age and sex.
In the set of people's purchasing information, I would like to add other details, such as years of education, number of children, characteristics of their home and internet use. But they are found in the household survey, not in this set of purchasing information.
My idea is to search within the household survey for the person with the same salary, age and sex as the person in the purchasing information set. I would like to use some sort of comparison rule, in case this is fulfilled, assign the characteristics of that person located in the household survey to the person in the purchasing information set.
Does anyone have any idea how to do this in stata?
Best regards
Related Posts with Add variables from a very different set of information
ASDOC: Dropping base level of factor variablesDear all users pf Statalist I do not find option of the command of asdoc to drop base level of fact…
Creating dummy variable based on percentilesHi Everyone, I have a variable G-Index with the following distribution: Governance | Index | (Gom…
how many waves at least needed to run system GMMDear all, I'm estimating system gmm on a panel of 249 individuals across three waves. I wanted to l…
Time variable issue when trying a difference in difference approachGood day I want to perform a difference in difference regression defined as Code: mi estimate, e…
by id: replace var1[1] = max(var1), error "weights not allowed"Dear community I have the following types of panel data: The actual data is huge, so ask questions t…
Subscribe to:
Post Comments (Atom)
0 Response to Add variables from a very different set of information
Post a Comment