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
Split String Code: clear input HAVE WANT1 WANT2 AA01 AA 01 AZ02 AZ 02 AV03 AV 03 AA04 AA 0…
How to assess if there is enough variation in your dependent variableIs there a simple way to assess if there is enough variation in your dependent variable, or is it be…
Change in variance time seriesHi everyone, I am analysing a time series (stock returns) and I am trying to check whether variance…
xtivreg , first failes with "conformability error" r(503)Dear Readers xtivreg without "first" runs fine, but fails when I add the "first" option with "confo…
Log transforming variablesTwo questions related to log transforming variables. I understand that we would want to log transfo…
Subscribe to:
Post Comments (Atom)
0 Response to Matched dataset based on multiple variables
Post a Comment