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
How to fit a zero-inflated poisson model in GSEM?Hi friends, BACKGROUND: I have checked all examples showed in SEM/GSEM, but I do not find any examp…
subtracting datesPlease help. In my data set the dates are in the format: 17dec2016 00:00:00. I am trying to subtract…
Controlling for gender in linear regressionHello Statalist! This is my first ever post, and I am newly learning Stata as a somewhat-competent u…
Download (install) all packages in SSC?Dear All, Is it possible to install all the packages in SSC using one simple command (whatever that …
Capturing confidence intervals in newly generated variablesHi, I'm using the following code to determine the 95%CI of a proportion: cii means n_sample n_case…
Subscribe to:
Post Comments (Atom)
0 Response to Add variables from a very different set of information
Post a Comment