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
New variables using longitudinal dataMay you assist with syntax for longitudinal data. 1. Within each record "personid" I would like to …
Manually estimating standard error of the random effect, after the mi estimate: mixed command, with remlHello, I am using mi estimate: mixed, with reml. In Stata 16.1 Following estimation of the model, I …
Bivariate Dynamic Probit Model for Panel DataHello All, I would like to estimate a Bivariate Dynamic Probit model for panel data using Simulated…
r(198) invalid name error messageI'm getting an r(198) error when trying to run the code below I'm new to STATA so I'm not exactly su…
Lag function using datesDear all May you assist since I am not very familiar with lag functions. I am working with longitud…
Subscribe to:
Post Comments (Atom)
0 Response to Add variables from a very different set of information
Post a Comment