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
Tabulating (counting) within many groups in a dataset does one company appearHello, I'm working with a many:1 dataset where each observation represents a single insurance polic…
dpplot command, use xline() option but not showing the vertical line in graphDear Statalist: I am trying to draw a density probability plots. I am using dpplot in Stata 17 MP.…
Help in Reshaping the DataI have data into this format Code: * Example generated by -dataex-. To install: ssc install dataex …
Using -xtologit- postestimation tools (particularly margins) when independent variables include an interaction of two binary variablesHi Users, Long time quiet reader, first time poster - I hope I have followed the community recommen…
Is it possible to tag duplicates sequentially?Hi Everyone! My data looks like below and I request for any syntax that helps to tag the duplicates …
Subscribe to:
Post Comments (Atom)
0 Response to Matched dataset based on multiple variables
Post a Comment