Top Banner
Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School
26

Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Dec 30, 2015

Download

Documents

marvin-salas

Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School. Observational study --- observed relationship may not be cause-effect Example: people who sleep 7 hours report better health. sleep 7 hrs (vs 8 hrs). health. health. sleep 7 hrs (vs 8 hrs). - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Causal Model

Ying Nian Wu

UCLA Department of Statistics

July 13, 2007IPAM Summer School

Page 2: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Observational study --- observed relationship may not be cause-effect

Example: people who sleep 7 hours report better health

sleep 7 hrs (vs 8 hrs)

health

health

sleep 7 hrs (vs 8 hrs)

Page 3: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Example: people who smoke cigarette have better health than people who smoke pipe

cigarette (vs pipe)

health

Page 4: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

cigarette (vs pipe)

health

age

cigarette (vs pipe) health

Confounding variable

Page 5: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Donald B. Rubin EM algorithm – Dempster, Laird, Rubin Missing data: ignorability multiple imputation Little & Rubin book Bayesian statistics: foundations and applications Gelman et al. book Causality: Rubin causal model Neyman-Rubin model

Page 6: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Rubin’s potential outcomeCounterfactual intervention

sleep 7 hrs (vs 8 hrs)

health

e.g., what would have happen had the same person who sleeps7 hrs slept 8 hrs instead?

Page 7: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Rubin’s potential outcomeCounterfactual intervention

cigarette (vs pipe)

health

e.g., what would have happen had the same person who smokespipe smoked cigarette instead?

Page 8: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Rubin’s advice

Define estimand before trying to estimate it from data.

Counterfactual intervention:

why counterfactual? we cannot jump into the same river twice fundamentally missing data problem

define estimand in terms of complete data try to estimate it in the presence of missing data

Experiment: randomized assignment or interventionObservational study: actual intervention not ethical

Page 9: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Today’s reference is Judea Pearl, Causality

What is a causal model and what it can do for us?How to learn a causal model, structure and parameters?

Page 10: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Cochran example

0Z

B

X

Y

1Z

2Z 3Z

X

Y

0Z

1Z

2Z

3Z

BCausal diagram

Soil fumigant

Oat crop yieldsEelworm populationZ

Last year -- unobserved

Before treatment

After treatment

End of season

Birds -- unobserved

Page 11: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

0Z

B

X

Y

1Z

2Z 3Z

X

Y

Soil fumigant

Oat crop yieldsEelworm populationZ

Farmers insist on they decide X ,which depends on 0ZHow to define causal effect of X on Y ?

Can it be obtained from passive observations?

Page 12: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Causal Model

0Z

B

X

Y

1Z

2Z 3Z

X

Y

Soil fumigant

Oat crop yieldsEelworm populationZ

Causal diagram: more than conditional independence

Page 13: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

0Z

B

X

Y

1Z

2Z 3Z

Causal Model

Causal diagram

 

 

  

 

 

)( 000 fZ

),( 1011 ZfZ

),,( 2122 ZXfZ

),,( 3233 ZBfZ

),( 0 BB ZfB

),( 0 XX ZfX

),,,( 32 YY ZZXfY

Structural equations

’s are independent

Page 14: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

0Z

B

X

Y

1Z

2Z 3Z

Rubin’s potential outcome

),,( 2122 ZXfZ

Counterfactual intervention

equationsor ablesother vari of regardless

),,,( bemust then

, set to were and , set to were If

2122

11

zxfZ

zZxX

Page 15: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Non-experimental observationsRepeat 1 million times

)( 000 fZ

),( 1011 ZfZ

),,( 2122 ZXfZ

),,( 3233 ZBfZ

),( 0 BB ZfB

),( 0 XX ZfX

),,,( 32 YY ZZXfY return ),,,,( 321 YZZZX

End

Get a new set of 0Z

B

X

Y

1Z

2Z 3Z

A million copies of

),,,,( 321 YZZZX

knownblack

Page 16: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

Causal effect: intervention

Repeat 1 million times

)( 000 fZ

),( 1011 ZfZ

),,( 2122 ZXfZ

),,( 3233 ZBfZ

),( 0 BB ZfB

),( 0 XX ZfX

),,,( 32 YY ZZXfY End

Get a new set of 0Z

B

X

Y

1Z

2Z 3Z

A distribution of

black

Y

xX

)at set |Pr( xXyY

black

Page 17: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

My codeobservingmode

My codeinterveningmode

You guess

Let’s play a game

Page 18: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

?)|Pr(i.e., ,with

at thoselook about what

xXyYxX

Y

more!any )(not is Z

ofon distributi thesets, datasuch For

000 f

Page 19: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

?

],[

103210 ),,,|,,(),,()|Pr(yx

xzbzyzzpzbzpxXyY

],[

103210 ),,,|,,()|,,()|Pr(yx

xzbzyzzpxzbzpxyY

Page 20: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

0Z

B

X

Y

1Z

2Z 3Z

],[

103210 ),,,|,,(),,()|Pr(yx

xzbzyzzpzbzpxXyY

A million ),,,,( 321 YZZZX

Not a million ),,,,,,( 3210 YZZZXZB

Causal effect may not be identifiable from observational study

Page 21: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

But can we express )|Pr( xXyY without ?,0 bz

0Z

B

X

Y

1Z

2Z 3Z

],[

103210 ),,,|,,(),,()|Pr(yx

xzbzyzzpzbzpxXyY

Page 22: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

),,(),|(),|(),,|())(do|( 1023123,,,,

2

3210

zbzpbzzpzxzpzzxypxypzzzbz

0Z

B

X

Y

1Z

2Z 3Z

bzzzz

zbzpbzzpzxzpzzxypxyp,

1023123,,

2

0321

),,(),|(),|(),,|())(do|(

?),,(),|(,

1023

0

bz

zbzpbzzp

Page 23: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

0Z

B

X

1Z

2Z 3Zbz

zbzpbzzp,

1023

0

),,(),|(

'

1213 )',()',,|(x

xzpxzzzp

' ,

12100213

0

)',()',,|,(),,',,|(x bz

xzpxzzbzpbzxzzzp

' ,

11023

0

)',()',|,(),|(x bz

xzpxzbzpbzzp

bz x

xzbzpbzzp, '

1023

0

)',,,(),|(=

=

=

=

Page 24: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

0Z

B

X

Y

1Z

2Z 3Z

),|(),,|())(do|( 123,,

2

321

zxzpzzxypxypzzz

'

1213 )',()',,|(x

xzpxzzzp

Page 25: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

You guess

Page 26: Causal Model Ying Nian Wu UCLA Department of Statistics July 13, 2007 IPAM Summer School

What is a causal model and what it can do for us?How to learn a causal model, structure and parameters?