Hi. This video is on the back door path criterion.

The objective of this video is to understand what the back door path criterion is,

how we'll recognize when it's met and more generally,

how to recognize when a set of variables is

sufficient to control for confounding based on a given DAG.

So we are going to think about when

a set of variables is sufficient to control for confounding.

So based on the back door path criterion,

we'll say it's sufficient if it blocks all back door paths from

treatment to outcome and it does not include any descendants of treatment.

So remember, a descendant of - of treatment

would actually be part of the causal effect of treatment.

So we do not want to control for effects of treatment.

So as long as those two conditions are met,

then you've met the back door path criterion.

So that's what the back door path criterion is,

is you've blocked all back door paths from treatment to

outcome and you also have not controlled for any descendants of treatment.

And it's not necessarily unique,

so there's not necessarily one set of

variables or strictly one set of variables that will satisfy this criterion.

There could be many options and we'll look through some examples of that.

So here's the first example.

So suppose this is - this is our DAG.

So we're imagining that this is reality and our treatment is A,

our outcome is Y and we're interested in that relationship.

So we're interested in the relationship between A and Y.

Is there a relationship?

If there is, how big is the effect?

But you'll see that there's these other variables,

V and W. And as we've seen previously,

here you could think of V - you could especially think of V as a confounder,

because V affects A directly and it indirectly affects Y.

What we see then is that there is exactly one back door path from A to Y.

So that back door path is A_V_W_Y.

So you can get to Y by going from A to V to W to Y.

And you'll notice on that path,

there's no colliders, so it's actual - so it's not blocked by any colliders.

So this is a pretty simple example.

We have no colliders, we have one backdoor path.

So we just have to block that path.

So the sets of variables that are sufficient to

control for confounding would be V. So if you control for V,

if you block V, you've blocked that back door path.

There's only one back door path and you would stop it with - by controlling for

V and that would then meet - the back door path criterion would be met.

But you also could control for W. So alternatively,

if you had W and you could control for that and that would

also satisfy the back door path criterion;

or you could control for both of them.

So you could control for both sets of variables.

So in this case, there's three collections

of variables that would satisfy the back door path criterion.

So V alone, W alone,

or V and W. And you - so you could actually just - if this was the correct DAG,

you could actually just pick any of these you wanted.

Typically people would prefer a smaller set of variables to control for,

so you might choose V or W.

Okay. So here's another example.

Imagine that this is the true DAG.

And again, we're interested in the relationship

between treatment and outcome here, A and Y.

Again, there's one back door path from A to Y.

The back door path from A to Y is A_V_M_W_Y.

But this one is blocked by a collider.

So you'll notice there's a collision at M. Therefore,

there's actually no confounding on this - on this DAG.

There's actually not any confounding in the sense that,

if you look at what is affecting treatment;

well, that's - that's V, right?

So V directly affects treatment.

But V - the information from V never flows back over to Y.

Similarly, there's - W affects Y,

but information from W never flows all the way back over to A.

So there's actually no confounding on this graph.

So I'll - I'll say one more thing about it.

So you actually just,

in general, would not have to control for anything.

So if this was your graph,

you wouldn't - you could just do

an unadjusted analysis looking at the relationship between A and Y.

However, you might - you might control for M;

it's possible that you might even do this unintentionally.

You know - for example, you might not realize that - you might

control for a variable that - and you don't realize that it is a collider.

So if you did that, what you'll do is you open a path

between V and W. So that's what I'm showing here in this figure.

There's a box around M, meaning I'm imagining that we're controlling for it.

The instant we control for it,

as we've seen in previous videos,

is we open a path then between V and W. So V and W were independent marginally,

but conditionally they're dependent.

So if we control for M, we open this path.

Then what that means is the sets of variables that are sufficient to

control for confounding is this list here.

So the first one I list is the empty set.

So again, you actually don't have to control for anything based on this DAG.

You could just control for V;

V is not a collider,

so controlling for it doesn't hurt anything in a biased sense.

So you could just control for V. You could also just control for W - no harm done.

But if you control for N, then you're going to have to control for either V,

W or both V and W.

So you'll see the last three sets of variables that are sufficient to control for

confounding involved M and then some combination of (W,V) or (W,M,V).

So you could control for any of these that I've listed here.

However, if - you cannot just control for M. If you strictly control for M,

you would have confounding.

There would - controlling for M would open a back door path.

So you could then go from A to V to W to Y.

So that would be a path that would be

unblocked - a backdoor path that would be unblocked,

which would mean you haven't sufficiently controlled for confounding.

So let's look at another example.

In this case, there are two back door paths from A to Y.

Again, we're interested in - in the effect of A and Y,

so that's our relationship of primary interest.

Because that's what we're interested in,

we want to block back door paths from A to Y.

So the first back door path from A to Y is A_Z_V_Y.

The second one is A_W_Z_V_Y.

So there's two roundabout ways you can get from A to Y.

So there's two indirect ways through back doors.

So I look at these one at a time.

So the first path,

A_Z_V_Y, you'll notice there's - there are no colliders on that particular path.

If you just focus on A_Z_V_Y path, there's no colliders;

therefore, on that path,

you could either control for Z or V if you wanted to block just that path.

So to block that back door path,

you could control for Z or V or both.

But you do have to control for at least one of

them because there is a unblocked back door path.

So you have to block it and you can do so with either Z, V or both.

There's a second path, A_W_Z_V_Y.

And you'll notice in this one,

there's a collision at Z, all right?

So V and W are - are both parents of Z,

so their information collides at Z.

So that back door path is - is already blocked.

However, if you were to control for Z,

then you would open a path between,

in this case, W and V, right?

Whenever you control for a collider,

you open a path between their parents.

So if you control for Z,

you would open a path between W and V,

which would mean you would have to control for W or V.

So in general, to block this particular path,

you can actually control for nothing on this path and you would be fine;

or you could control for V,

you could control for W. If you control for Z,

then you will also have to additionally control for

V or W to block that new path that you opened up.

So we looked at these two paths.

There's two backdoor paths on the graph.

We looked at them separately,

but now we can put it all together.

So the following sets of variables are sufficient to control for confounding.

So you could just control for V;

that would block the first back door path that we talked about.

And the second back door path that we talked about,

we don't actually need to block because there's a collider.

You also could control for V and Z;

you could control for Z and W because remember,

Z would - Z blocks the first path.

Or you could control for all three.

But you - it wouldn't be enough to just control for Z;

if you just control for Z,

it would open a path between W and V,

which would - and that would be - that would form

a new back door path from which you could get from A to Y.

You also couldn't just control for W. If you just control for W,

you could - there's still an unblocked back door path.

You could go A_Z_V_Y still.

So in this case, the - this - the minimal set would

be V so that the least you could control

for and still - and still block

all the back door paths would be V. So that would be typically the ideal thing,

would be to pick the smallest set if you can do it - if you know what it is.

We'll look at one more example here.

So this one's a little more complicated.

Now there are three back door paths from A to Y.

And we'll look at these separately,

coloring them to make it easier to see since there's so many paths this time.

So here's one that's A_Z_V_Y.

And you could block - you'll notice there's no collisions on that one.

We've already talked about this path, in fact.

And you can block that with Z or V or both.

Here's the next path, which is A_W_Z_V_Y.

In this one, there is - there's no colliders on this path;

you could block it with W, Z,

V or any combination of them.

Here's one more back door path where you could go from A to W to M to Y;

you could block this path with either W or M or both.

And then you could put all of that together.

And you'll see that there's many options here as far as which

sets of variables would be sufficient to control for a confounding here.

You just have to block all three of these back door paths.

Next I want to just quickly walk

through a real example that - that was proposed in literature.

And the reason I'm doing this is because if we look back at this graph, for example,

this looks kind of complicated and you might be wondering well,

who's going to come up with graphs like this?

Well, in practice, people really do come up with complicated graphs.

So this is an example from the literature which was -

the main focus here was on the relationship between

maternal pre-pregnancy weight status so that's the exposure of

interest and the outcome of interest was cesarean delivery.

But then you think they proposed all kinds of variables

that might be affecting the exposure or the outcome or both.

And the point here is that if you think carefully about the problem,

you can write down a complicated DAG like this,

but now that we know the rules about what variables you would need to control for,

we would - we could actually apply our rules to this kind of

a problem and figure out which variables to control for.

So this leads to a couple of questions.

So one is how do you come up with a DAG like this in the first place?

And so this is, of course, based on expert knowledge.

So - you know, you do your best to - based on the literature

to come up with a DAG that you think is reasonable.

But this kind of a - this kind of a picture,

this kind of causal diagram, is an assumption.

It's an assumption that - where, you know,

it might not be correct.

Nevertheless, there is some room for error.

So if you get the DAG slightly wrong,

it - it still might be the case that the variables you're controlling for are sufficient.

So as we saw, for example, on this previous slide,

there's a lot of different options in terms of which variables you could control for.

If the DAG looks slightly different,

it might be the case that you would still sufficiently control for confounding.

So this is really a starting point to have a - have a graph like

this to get you thinking more formally about the relationship between all the variables.

If you assume the DAG is correct,

you know what to control for.

The fact that we're not sure if the DAG is correct suggests that we

might want to think a little more carefully about sensitivity analyses,

which will be covered in future videos so we could think about well,

what if the DAG was a little bit different?

What if our assumptions are wrong?

What could we do about it? How - how much would inference be affected?

But in general, I think it's useful to write down graphs like this to really

formalize your thinking about what's going on with these kinds of problems.

So the big picture, then,

is that if you want to use a back door path criterion for variable selection,

you really - you need to know what the DAG is.

If you know the DAG, then you're able to identify which variables to control for.

So I - I think the process of thinking through a DAG is

helpful and it even sort of helps to

remind you that anything that was - could have been

caused by the treatment itself is not something you would want to control for.

But as I mentioned, it might be difficult to actually write down the DAG.

So this leads to an alternative criterion that we'll discuss in the next video,

which has to do with suppose you didn't actually know the DAG,

but you might know - you might - you might know a little less information.

Well, this alternative criteria that we'll discuss

next is one where you don't actually have

to know the whole DAG and you can still identify

a set of variables that are sufficient to control for confounding.