Presentation is loading. Please wait.

Presentation is loading. Please wait.

Propensity Score Matching

Similar presentations


Presentation on theme: "Propensity Score Matching"— Presentation transcript:

1 Propensity Score Matching
Summer School for Young Economists 2017 June 22, 2017

2 Today’s Class General Theme: If you don’t have an experiment, how do you get a ‘control group’ We have already seen D-i-D, RD and others Another way to get a control group: Matching Assumptions for identification Specific form of matching called “propensity score matching” Is it better than just a plain old regression?

3 The Counterfactual Framework
Counterfactual: what would have happened to the treated subjects, had they not received treatment? Idea: individuals selected into treatment and nontreatment groups have potential outcomes in both states: the one in which they are observed the one in which they are not observed.

4 Reminder of Terms For the treated group, we have observed mean outcome under the condition of treatment E(Y1|T=1) and unobserved mean outcome under the condition of nontreatment E(Y0|T=1). For the control group we have both observed mean E(Y0|T=0) and unobserved mean E(Y1|T=0)

5 What is “matching”? Pairing treatment and comparison units that are similar in terms of observable characteristics Can do this in regressions (with covariates) or prior to regression to define your treatment and control samples

6 Matching Assumption Conditioning on observables (X) we can take assignment to treatment ‘as if’ random, i.e. What is the implicit statement: unobservables (stuff not in X) plays no role in treatment assignment (T)

7 A matched estimator E(Y1 – Y0 | T=1) =
E[Y1 | X, T=1] – E[Y0 | X, T=0] - E[Y0 | X, T=1] – E[Y0 | X, T=0] Key idea: all selection occurs only through observed X Assumed to be zero Matched treatment effect

8 Common Support Can only exist if there is a region of “common support”
People with the same X values are in both the treatment and the control groups Let S be the set of all observables X, then 0<Pr(T=1 | X)<0 for some S* subset of S Intuition: Someone in control close enough to match to treatment unit OR enough overlap in the distribution of treated and untreated individuals

9 Lots of common support Between red and blue line is area of common support

10 Not so much common support

11 How do we match on p(X) Taken literally, should match on exactly p(Xi)
In practice hard to do so strategy is to match treated units to comparison units whose p-scores are sufficiently close to consider Issues: How many times can 1 unit be a “match” How many to match to treatment unit How to “match” if using more than 1 control unit per treatment unit

12 Replacement Issue: once control group person Z is a match for individual A, can she also be a match for individual B Trade-off between bias and precision: With replacement minimizes the propensity score distance between the matched and the comparison unit Without replacement

13 Are we doing a one-to-one match?
If 1-to-1 match: units closely related but may not be very precise estimates More you include in match, the more the p-score of the control group will differ from the treatment group Trade-off between bias and precision Typically use 1-to-many match because 1-to-1 is extremely data intensive if X is multi-dimensional

14 Different matching algorithms-1
Can use nearest neighbor which chooses m closest comparison units implicitly weights these all the same Get fixed m but may end up with different pscores Can use ‘caliper’—radius around a point Again implicitly weights these the same Fixed difference in p-scores, but may not be many units in radius Stratify Break sample up into intervals Estimate treatment effect separately in each region

15 Different Matching Algorithms-2
Can also use some type of distribution: Kernel estimator puts some type of distribution (e.g. normal) around the each treatment unit and weights closer control units more and farther control units less Explicit weighting function can be used if you have some knowledge of how related units of certain distances are to each other

16 How close is close enough?
No “right” answer in these choices—will depend heavily on sample issues How deep is the common support (i.e. are there lots of people in both control and treatment group at all the p-score values Should all be the same asymptotically but in finite samples (which is everything) may differ

17 Tradeoffs in different methods
Source: Caliendo and Kopeinig, 2005

18 How to estimate a p-score
Typically use a logit Specific, useful functional form for estimating “discrete choice” models You haven’t learned these yet but you will For now, think of running a regular OLS regression where the outcome is 1 if you got the treatment and zero if you didn’t Take the E[T | X] and that’s your propensity score

19 The Treatment Effect CIA holds and sufficient region of of common support Difference in outcome between treated individual i and weighted comparison group J, with weight generated by the p-score distribution in the common support region J is comparison group with |J| is the number of comparison group units matched to i N is the treatment group and |N| is the size of the treatment group

20 General Procedure Run Regression:
Dependent variable: T=1, if participate; T = 0, otherwise. Choose appropriate conditioning variables, X Obtain propensity score: predicted probability (p) 1-to-1 match estimate difference in outcomes for each pair Take average difference as treatment effect 1-to-n Match Nearest neighbor matching Caliper matching Nonparametric/kernel matching Multivariate analysis based on new sample

21 Standard Errors Problem: Estimated variance of treatment effect should include additional variance from estimating p Typically people “bootstrap” which is a non-parametric form of estimating your coefficients over and over until you get a distribution of those coefficients—use the variance from that

22 Some concerns about Matching
Data intensive in propensity score estimation May reduce dimensionality of treatment effect estimation but still need enough of a sample to estimate propensity score over common support Need LOTS of X’s for this to be believable Inflexible in how p-score is related to treatment Worry about heterogeneity Bias terms much more difficult to sign (non-linear p-score bias)

23 Matching + Diff-in-Diff
Worry that unobservables causing selection because matching on X not sufficient Can combine this with difference and difference estimates Take control group J for each individual i Estimate difference before treatment If the groups are truly ‘as if’ random should be zero If it’s not zero: can assume fixed differences over time and take before after difference in treatment and control groups

24 Calculating Impact using PSM
4. Match Pairs: Restrict sample to common support (as in Figure) Need to determine a tolerance limit: how different can control individuals or villages be and still be a match? Nearest neighbors, nonlinear matching, multiple matches 5. Once matches are made, we can calculate impact by comparing the means of outcomes across participants and their matched pairs

25 PSM vs Randomization Randomization does not require the untestable assumption of independence conditional on observables PSM requires large samples and good data: Ideally, the same data source is used for participants and non-participants Participants and non-participants have access to similar institutions and markets, and The data include X variables capable of identifying program participation and outcomes.

26 Lessons on Matching Methods
Typically used when neither randomization, RD or other quasi experimental options are not possible Case 1: no baseline. Can do ex-post matching Dangers of ex-post matching: Matching on variables that change due to participation (i.e., endogenous) What are some variables that won’t change? Matching helps control only for OBSERVABLE differences, not unobservable differences

27 More Lessons on Matching Methods
Matching becomes much better in combination with other techniques, such as: Exploiting baseline data for matching and using difference-in-difference strategy If an assignment rule exists for project, can match on this rule Need good quality data Common support can be a problem if two groups are very different

28 Case Study: Piped Water in India
Jalan and Ravaillion (2003): Impact of piped water for children’s health in rural India Research questions of interest include: Is a child less vulnerable to diarrhoeal disease if he/she lives in a HH with access to piped water? Do children in poor, or poorly educated, HH have smaller health gains from piped water? Does income matter independently of parental education?

29 Piped Water: the IE Design
Classic problem for infrastructure programs: randomization is generally not an option (although randomization in timing may be possible in other contexts) The challenge: observable and unobservable differences across households with piped water and those without What are differences for such households in Nigeria? Jalan and Ravallion use cross-sectional data nationally representative survey on 33,000 rural HH from 1765 villages

30 PSM in Practice To estimate the propensity score, authors used:
Village level characteristics Including: Village size, amount of irrigated land, schools, infrastructure (bus stop, railway station) Household variables Including: Ethnicity / caste / religion, asset ownership (bicycle, radio, thresher), educational background of HH members Are there variables which can not be included? Only using cross-section, so no variables influenced by project

31 Piped Water: Behavioral Considerations
IE is designed to estimate not only impact of piped water but to look at how benefits vary across group There is therefore a behavioral component: poor households may be less able to benefit from piped water b/c they do not properly store water With this in mind, Are there any key variables missing?

32 Potential Unobserved Factors
The behavioral factors – importance put on sanitation and behavioral inputs – are also likely correlated with whether a HH has piped water However, there are no behavioral variables in data: water storage, soap usage, latrines These are unobserved factors NOT included in propensity score

33

34 Piped Water: Impacts Disease prevalence among those with piped water would be 21% higher without it Gains from piped water exploited more by wealthier households and households with more educated mothers Even find counterintuitive result for low income, illiterate HH: piped water is associated with higher diarrhea prevalence

35 Design When to use Advantages Disadvantages Randomization
Whenever feasible When there is variation at the individual or community level Gold standard Most powerful Not always feasible Not always ethical Randomized Encouragement Design When an intervention is universally implemented Provides exogenous variation for a subset of beneficiaries Only looks at sub-group of sample Power of encouragement design only known ex post Regression Discontinuity If an intervention has a clear, sharp assignment rule Project beneficiaries often must qualify through established criteria Only look at sub-group of sample Assignment rule in practice often not implemented strictly Difference-in- Differences If two groups are growing at similar rates Baseline and follow-up data are available Eliminates fixed differences not related to treatment Can be biased if trends change Ideally have 2 pre-intervention periods of data Matching When other methods are not possible Overcomes observed differences between treatment and comparison Assumes no unobserved differences (often implausible)


Download ppt "Propensity Score Matching"

Similar presentations


Ads by Google