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
Pick columns to output using esttab and estpost correlationHello, I was wondering if there was an easy way to pick the columns to output with esttab when buil…
Unexpected behavior (suspected bug) when using Mata views with temporary variables created by fvrevarI encountered a very strange behavior when I use Mata views on temporary variables created by fvreva…
putexcel -- italicize a single word in a line of text, not the entire cellHello, I am using putexcel to add a line of text to a table cell. I would like to italicize a singl…
Spatial Autogressive Models for Binary Outcomes?Hi Folks, I was reading through about Stata's spatial autogressive models (https://www.stata.com/fe…
Is there an import delimited option to remove "." from variable names?Hi, I just imported a csv using the import delimited command. It imported with no errors or warning…
Subscribe to:
Post Comments (Atom)
0 Response to Add variables from a very different set of information
Post a Comment