19
National Public Health Institute, Finland www.ktl.fi Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finland Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

Embed Size (px)

Citation preview

Page 1: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Open risk assessment Lecture 4: Defining variables

Jouni TuomistoKTL, Finland

Page 2: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Lecture contents• Probabilistic interpretation of variables• Joint and conditional distributions• Attributes• Sub-attributes• Data relations vs. causal relations• Scenarios and their use

Page 3: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

•Probability distribution P(A)

0 1 0 2 0 3 0 4 05 1 5 2 5 3 50

0 .1

0 .2

0 .3

0 .4

0 .0 5

0 .1 5

0 .2 5

0 .3 5

Variable A

Pro

ba

bil

ity

De

ns

ity

Page 4: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

P(B)

10 .1 0 .2 0 .3 0 .4 0 .5 0 .6 0 .7 0 .8 0 .90

1

2

3

0 .5

1 .5

2 .5

3 .5

Variable B

Pro

ba

bil

ity

De

ns

ity

Page 5: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Joint distribution P(A,B)

0 1 0 2 0 3 05 1 5 2 5

1

0 .1

0 .2

0 .3

0 .4

0 .5

0 .6

0 .7

0 .8

0 .9

Variable A

Va

ria

ble

B

Page 6: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

P(C)

1 2 31 .5 2 .5 3 .50 .7 5 1 .2 5 1 .7 5 2 .2 5 2 .7 5 3 .2 5 3 .7 50

1

2

3

0 .5

1 .5

2 .5

Variable C

Pro

ba

bil

ity

De

ns

ity

Page 7: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

10 .1 0 .2 0 .3 0 .4 0 .5 0 .6 0 .7 0 .8 0 .9

1

2

3

0 .8

1 .2

1 .4

1 .6

1 .8

2 .2

2 .4

2 .6

2 .8

3 .2

Variable B

Va

ria

ble

CJoint distribution P(B,C)

• Conditional probability distributions

P(B|C)

P(C|B)

Page 8: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Priors and posteriors

0 1 0 2 05 1 5-2 .5 2 .5 7 .5 1 2 .5 1 7 .5 2 2 .50

1

2

0 .5

1 .5

2 .5

0 .2 5

0 .7 5

1 .2 5

1 .7 5

2 .2 5

2 .7 5

Variable C

Pro

ba

bil

ity

De

ns

ity

Var iable CU n in fo rm a tive p rio r P rio r 2 P o s te rio r

• A falsification process

Page 9: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Page 10: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Page 11: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Page 12: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Conditional probabilities in the causal diagram

• The causal diagram is actually a large joint distribution

• A variable is described as a conditional probability: P(variable|upstream variables)

Page 13: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Attributes and subattributes of a variable

If possible, a numerical expression or distribution.

What is the answer to the question defined in the scope? Result

The definition uses algebra or other explicit methods if possible.

How can you derive or calculate the answer?

•Causality •Data •Unit•Formula

Definition

This includes a verbal definition of the spatial, temporal, and other limits (system boundaries) of the variable. The scope is defined according to the use purpose of the assessment(s) that the variable belongs to.

What is the question to which the variable answers? Scope

Two variables must not have identical names.

What is the name of the variable? Name

Comments Question to be answered Sub-attributes Attribute

Page 14: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Connections between variable attributes

Page 15: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

•Causal relations• Judea Pearl• Statistics is NOT only

about associations. Causal relations can be studied empirically using the do operator.

Page 16: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

•Data relations vs. causal relations• Causal relation: the variable result

changes if the upstream variable is manipulated (do operator)

• Data relation: a piece of data or a variable gives information about the variable of interest, but the manipulation does not change the result–PM2.5 concentration in Stockholm vs.

in Helsinki

Page 17: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

•Scenario• Scenario: the result of a variable is (temporally for

an assessment) set to a particular value or range irrespective of its true value. A scenario may contain several such manipulations.

• Purpose: – To make the assessment more interesting– To avoid excessive work on variables that are not of

interest or importance in the assessment

Page 18: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Index• Index: a list of particular values that are along a

dimension used for a variable. This list is used in practical calculations in the assessment.– Longitude and latitude are geographical dimensions– [0, 1, 2, 3, 4] degrees of longitude is an index that can

be used in an assessment.– Another assessment may use another index for the

same dimension.

Page 19: National Public Health Institute, Finland  Open risk assessment Lecture 4: Defining variables Jouni Tuomisto KTL, Finland

National Public Health Institute, Finlandww

w.kt

l.fi

Parts of an attribute• Actual content: what is known• Narrative description: any explanations or

background information that is useful to understand the actual content

• Discussion: (formal) discussions about the actual content