Hello,
I am attempting to create a dataset of matched observations based on multiple criteria.
I have a dataset of 5 digit zipcode areas with census variable estimates (median property value, population, unemployment rate, etc.).
A small portion of these zipcode areas are "treated" the rest are "untreated".
I would like to match my "treated" observations to very similar "untreated" observations, based on certain criteria (a single match 1:1 at first and more if necessary).
For example, I would like to match an "untreated" observation to a "treated" observation as long as it is within 1000$ (+/-) of its median property value, within 15%(+/-) of its unemployment rate, and within the same state of that "treated" observation.
I cant seem to find a canned function that can do multiple criterion as described.
Thank you,
Jarron V
Related Posts with Matched dataset based on multiple variables
Selecting dates within groups based on specific criteria in order to create a more unique idHello all,
I'm a new Stata user and new to Statalist; I'm currently using StataMP 14.
I'm doing so…
Selecting all dates within groups that are within one week of each other and creating a sub-group idHello all,
I'm a new Stata user and new to Statalist; I'm currently using StataMP 14.
Purpose: I'm…
Adding 4 arguments in setstars() of asdoc / asdocxI seem to experience an issue with the setstars() arguments using asdoc or asdocx. It seems that it …
Pasting the data from Excel to Stata converts values of the variableDear Stata Members
I am dealing with some financial data like income, total assets, etc. Many of the…
Loop with consecutive numbersHello Stata community,
I am trying to replace multiple id of a data set, where the ids are consecut…
Subscribe to:
Post Comments (Atom)
0 Response to Matched dataset based on multiple variables
Post a Comment