Causal Effects in Observational Studies

STAT 20: Introduction to Probability and Statistics

Warmup
05:00

To study the impact of receiving permanent resident status on mental health, we compare answers to a psychiatric survey from people who entered and won the US green card lottery to answers from others who entered but did not win.

What kind of study is this?

  1. A perfect Randomized Experiment ready to be analyzed.
  2. An observational study that is almost as good as a Randomized Experiment.
  3. An observational study that can be fixed by matching. What might be the confounders?
  4. A terrible observational study that can’t be fixed in any way. What might be the confounders?
  5. Not a causal study.
  6. None of the above.
  1. An observational study that is almost as good as a Randomized Experiment.

That’s because essentially the lottery winners were randomly drawn (treatment). However, it’s not a randomized experiment because it was not directly randomized by the researchers.

To study the impact of applying for permanent resident status on mental health, we compare answers to a psychiatric survey from people who entered the US green card lottery to answers from others who did not enter it.

What kind of study is this?

  1. A perfect Randomized Experiment ready to be analyzed.
  2. An observational study that is almost as good as a Randomized Experiment.
  3. An observational study that can be fixed by matching. What might be the confounders?
  4. A terrible observational study that can’t be fixed in any way. What might be the confounders?
  5. Not a causal study.
  6. None of the above.
  1. An observational study that can be fixed by matching.

That’s because applying for green card is not a treatment that was assigned randomly at all. For example, one confounder could be literacy: an illiterate person might be much less likely to apply and more likely to have poor mental health. Another massive confounder might be previous mental health conditions: someone with poor pre-assignment mental health might be less likely to apply and also be more likely to have poor post-assignment mental health. There are dozens and dozens more.

To study the impact of mid-year teacher substitution on later academic performance, we compare SAT scores for students who had a teacher being replaced with a substitute mid year for over 2 months before the age of 15, to SAT scores for students who did have happen to them.

What kind of study is this?

  1. A perfect Randomized Experiment ready to be analyzed.
  2. An observational study that is almost as good as a Randomized Experiment.
  3. An observational study that can be fixed by matching. What might be the confounders?
  4. A terrible observational study that can’t be fixed in any way. What might be the confounders?
  5. Not a causal study.
  6. None of the above.
  1. An observational study that can be fixed by matching.

Teacher substitution might feel just “random” but it definitely isn’t. For example socio economic status might be a confounder: poorer kids might be more likely to live in areas where both teacher substitution is more common (teachers want to leave) and their later SAT scores might be also impacted by them beeing poorer.

To study the effectiveness of a blood pressure medication, we enroll 500 patients. We take the blood pressure of all patients before anyone receives medication. We assign the 200 patients with the highest blood pressure readings to get the medication, assigning the others to be controls.

What kind of study is this?

  1. A perfect Randomized Experiment ready to be analyzed.
  2. An observational study that is almost as good as a Randomized Experiment.
  3. An observational study that can be fixed by matching. What might be the confounders?
  4. A terrible observational study that can’t be fixed in any way. What might be the confounders?
  5. Not a causal study.
  6. None of the above.
  1. A terrible observational study that can’t be fixed in any way. What might be the confounders?

The treatment assignment was deterministically decided based on a massive confounder: the pre-treatment blood pressure. Of course pre-treatment blood pressure is very strongly associated with post-treatment blood pressure (the outcome).

Concept Questions

In the next slide, you will see the first few rows of a dataset containing demographic information on California counties. Scroll to see all of the rows.

We are interested in determining whether a difference in median_edu has a causal effect on homeownership using matching. Which county serves as the best counterfactual match to Fresno County?

  1. Kern County
  2. Alameda County
  3. Contra Costa County
  4. Shasta County
  5. Del Norte County
02:00

name homeownership median_edu metro smoking_ban
Fresno County 55.0 some_college yes none
Colusa County 64.4 hs_diploma no none
Del Norte County 60.9 hs_diploma no none
Alameda County 55.1 some_college yes none
Contra Costa County 69.5 some_college yes partial
Glenn County 67.5 hs_diploma no none
Shasta County 66.0 some_college yes none
Kern County 61.4 hs_diploma yes none
San Luis Obispo County 61.4 some_college yes none

We are interested in determining whether a difference in median_edu has a causal effect on homeownership using matching. Which county serves as the best counterfactual match to Fresno County?

  1. Kern County
  2. Alameda County
  3. Contra Costa County
  4. Shasta County
  5. Del Norte County

When forming matched pairs, you want to look for covariates that are the same and treatments that are different, while you should be ignoring the response completely.

The answer is (A), Kern County, since both covariates (metro and smoking_ban) are identical to those of Fresno County, but the treatment (med_edu) is different.

The match you just found was

  1. Exact
  2. Nearest-neighbor
  3. Both
  4. Neither

I’d say (C) both, because it’s definitely exact as it has all values of X being identical to the original observation. But every time a match is exact, it is also one of the nearest neighbors to the original observation (distance = 0).

With all the observations in the previous sample I can perform

  1. Exact Matching
  2. Nearest-neighbor Matching
  3. Both
  4. Neither

I’d say (B) in theory as one can always come up with a notion of distance so they can find a closest match. However practically some points lack a truly “close” match.

Definitely we can’t do exact matching. What’s the exact match for Contra Costa?

Which observation will be used as a match more than any other?

name homeownership median_edu metro smoking_ban
Fresno County 55.0 some_college yes none
Colusa County 64.4 hs_diploma no none
Del Norte County 60.9 hs_diploma no none
Alameda County 55.1 some_college yes none
Contra Costa County 69.5 some_college yes partial
Glenn County 67.5 hs_diploma no none
Shasta County 66.0 some_college yes none
Kern County 61.4 hs_diploma yes none
San Luis Obispo County 61.4 some_college yes none

Which observation will be used as a match more than any other?

Kern County will be used at least 5 times!!!

That’s because it’s the only hs_diploma county with metro area being yes.

This data set is really bad. Most of the results will rely on that county only.

Break

05:00

Worksheet: Causal Effects in Observational Studies

40:00