Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the...

66

Transcript of Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the...

Page 1: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't
Page 2: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

The JRC…• … is the “Joint Research Centre” of

the European Commission.

• The mission is to support EU policy with scientific and technical research

• Research fields: environment, engineering, IT, health

• Simulation models are widely applied in impact assessment, and therefore sensitivity and uncertainty analysis is crucial.

Page 3: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

About modelling…

Page 4: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Simulation models are used (in diagnostic or prognostic fashion) in many fields to understand complex phenomena (natural or social) and consequently as tools to support decisions and policy.

Knowledge base is often flawed by uncertainties (partly irreducible, largely unquantifiable), imperfect understanding, subjective values.

A few examples …

Page 5: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Uncertainties in model parameters that govern surface and ground water transport, …

Courtesy of

Models in hydrology

Page 6: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Ex: biological model© 2008 Zi et al; licensee BioMed Central Ltd.

… Uncertainties of kinetic parameters in a chemical process…

Models in bio-chemistry

Page 7: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Uncertainties in reactor physics and thermodynamics of fluids …

Models in nuclear engineering

Page 8: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Uncertainty Analysis results: Oil volumes estimated in traps

TRAPS

60

30

0

0 6000 12000

60

30

0

0 6000 12000

50

25

0

50

25

0

0 1000 20000 1000 2000

90

50

0

0 200 400

90

50

0

0 200 400

GAS OIL GAS OIL

90

50

0

0 400 800 0 400 800

90

50

0

Reservoir modelling

Page 9: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

29 January 2014

A B

C

D

E

F

• Parameters of the supply model are mostly uncertain (but kept fixed in the practice)

• Parameters of the traffic models are uncertain. Model calibration to fix them

Traffic models

Page 10: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Traffic models

1029 January 2014

A B

C

D

E

F

Page 11: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

IDM car-following model

1129 January 2014

af t( ) = amax ⋅ 1−vf t( )vmax

⎝⎜

⎠⎟α

−Δx* t( )Δx t( )

⎝⎜⎜

⎠⎟⎟

2⎡

⎢⎢

⎥⎥

Δx* t( ) = Δx0 +max 0, vf t( ) ⋅T +vf t( ) ⋅ Δv t( )2 amax ⋅b

⎝⎜⎜

⎠⎟⎟

Where:

Parameters

amax>0, maximum acceleration rate

vmax>0, desired speed

α>0, a constant

Δx0, minimum gap

T, minimum time headway

b, comfort deceleration rate

Inputs

Vf(t), speed of the follower at time t

Δx(t), inter-vehicle spacing at time t

Δv(t), speed difference at time t

Δx t( )

vf t( ) vl t( )

Page 12: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

General scheme of simulation modeling

Computer Model

Material Properties

Model Dimensions

Loads

Model input variables (examples)

Stresses

Displacements

Modes of vibration

Model output variables (examples)

Mathematical equations and assumptions governing

model

x y

f(x)

Page 13: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

George Box: “all models are wrong, some are useful”

Box, G.E.P., Robustness in thestrategy of scientific model building,in Robustness in Statistics, R.L.Launer and G.N. Wilkinson, Editors.1979, Academic Press: New York.

Page 14: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

<<[…] most simulation models will be complex, with many parameters, state-variables and non linear relations. Under the best circumstances, such models have many degrees of freedom and, with judicious fiddling, can be made to produce virtually any desired behaviour, often with both plausible structure and parameter values.>>

Hornberger and Spear (1981).

Page 15: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

N

Natural system

F

Formal system

Encoding

Decoding

Entailment Entailment

Modelling is a craftmanship … (R. Rosen, Life itself 1991)

Encoding exercise: from phenomenon to formal system (theories, laws, subjective choices, assumptions)

Different assumptions can lead to different predictions an example

Page 16: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Useless Arithmetic: Why Environmental Scientists Can't Predict the Futureby Orrin H. Pilkey and Linda Pilkey-Jarvis

Mathematical models used by policy makers and government administrators to shape environmental policies are seriously flawed

Useless Arithmetic

Page 17: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

TSPA (like any other model) relies on assumptions -- a crucial one being the low permeability of the geological formation and hence the long time needed for the water to percolate from the desert surface to the level of the underground disposal.

The confidence of the experts in TSPA was not helped when evidence was produced which led to an upward revision of 4 orders of magnitude of this parameter (the Cl-36 story)

Yucca Mountain repository for radioactive waste disposal. Very large model called TSPA (total system performance assessment) is composed of 286 sub-models.

Page 18: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Other examples in the book show how stakeholders

and media alike tend to expect or suspect

instrumental use of computational models, whereby

uncertainty is amplified or dampened as a function ofconvenience.

Page 19: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

The IFPRI had raised about $460,000 for a model-based assessment*, which would have provided insights to help policymakers to compare alternative policy scenarios […]

*Aim: to show that GMO was necessary to feed an increasingly populated world

[… ] But Greenpeace’s Haerlin and others objected that the models were not “transparent”. Source: Dueling visions for an hungry world, Erik Stokstad, 14 MARCH 2008, 319 SCIENCE

Page 20: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

“They talk as if simulation were real-world data. They ‘re not. That ‘s a problem that has to be fixed. I favor a stamp: WARNING: COMPUTER SIMULATION – MAY BE ERRONEOUS and UNVERIFIABLE. Like on

cigarettes […]”Op. Cit. p. 556 .

Page 21: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

21

The spectre of type III errors (analysing the wrong problem):

Donald Rumsfeld version: "Reports that say that something hasn't happened are always interesting to me, because as we know, there are known knowns; there are things we know we know.

We also know there are known unknowns; that is to say we know there are some things we do not know.

But there are also unknown unknowns -- the ones we don't know we don't know."

Page 22: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

We just can’t predict.

Modelling is just another attempt to ‘Platonify’ reality…

Nassim Nicholas Taleb, The Black Swan: How the improbable governs our lives, Penguin, London

2007

The Platonic fold is the place where our representation of reality is not applicable anymore, but we do not know where it is located.

Page 23: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

On present day uncertainty assessment practice: “the uncertainties which are more carefully

scrutinised are usually those which are the least relevant”

(lamp-posting)Jeroen van der Sluijs, Professor at Utrecht

www.nusap.net

Page 24: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

The analyst can scrutinize uncertainties in model parameters, input data, assumptions and alternative model conceptualizations how they propagate through the model Their effect on predictions (it is a ‘forward process’) Results useful to see whether decisions can be taken.

Uncertainty Analysis

What is the uncertainty in the model predictions as a result of uncertainty in its inputs?

Page 25: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't
Page 26: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Sensitivity Analysis

What is causing the uncertainty in the model results and to what extent? How do the inputs of a model affect the outputs?

Why?• Identify inputs causing most uncertainty – direct research or information gathering• Model simplification - identify inputs that do not affect the output, therefore redundant• Model calibration: identification of optimal parameter sets.• Better understanding of the model - what causes what.• Corroboration or falsification• Identifying errors - are there unexpected relationships between inputs and outputs?• Check the effect of (model/policy) assumptions on model output

Page 27: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

check whether alternative policy options can be distinguished given the uncertainties. Ex in traffic modelling:

SA: what for (example)

Average Travel timeA B

Policy A (P2PSE) better than B (no P2PSE)

Deterministic assessment

A B

Average Travel time

A B

Average Travel time

Probabilistic assessment

Page 28: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

- SA can be useful to identify the factors responsible for the overlap

-Acting on those factors could improve the situation

A B

Average Travel Time

A BAverage Travel time

Demand profiles

max accel A vs B

Can UA/SA assist modellers?

Page 29: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Local SA

xr

xr = nominal value

0 1x

2x

),( 21 xx = space of input

- evaluation of partial derivatives - works in the neighborhood of nominal point x0- use of Taylor-like formulas

0xxixy

rr=

∂∂

x y

Page 30: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

One at a time SA

xr = nominal value

0 1x

2x

),( 21 xx = space of input

xr

- evaluation of model output attwo different points for oneinput

- the other inputs are kept fixed

Page 31: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Global SA

xr = nominal value

0 1x

2x

),( 21 xx = space of input

- full exploration of uncertainty- Monte Carlo methods to generate samples

Regression / correlationScreening techniques

Variance decompositionMoment- independent

Statistical testsGraphical tools

Page 32: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

At large dimension of input space OAT explores negligiblevolume with respect to GSA

Limitations of OAT

Area circle / area square = 0.78

Volume sphere / volume cube = 0.5

In 10 dimensions:Vol hyper-sphere / vol. hyper-cube = 0.0025

Page 33: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Global SAdoes explore the boundaries of the input space and the modeller is afraid the model will crash.

Preference of using OAT

That’s the main reason why most of the sensitivity analysis that we encounter in practice are local or OAT:

J. Campbell, et al., Science 322, 1085 (2008).R. Bailis, M. Ezzati, D. Kammen, Science 308, 98 (2005).E. Stites, P. Trampont, Z. Ma, K. Ravichandran, Science 318, 463 (2007).J. Murphy, et al., Nature 430, 768-772 (2004).J. Coggan, et al., Science 309, 446 (2005).

Page 34: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

0.5 1 1.5 2 2.5 3 3.5 4 4.5 5165

170

175

180

185

190

Reaction Time [s]

Trav

el T

ime

[s]

One at a time vs Global analysis

OAT vs Global analysis

Page 35: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Prescription #1: Use of global tools for SA

to vary the uncertain factors over a finite range;

to explore simultaneously all sources of uncertainty;

and ensure that we can capture possible interactionsbetween factors.

Page 36: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Prescription #2: Use of model-free tools

Real models are often non linear and/or non additive

Linear regression, correlation techniques capture only part of the information

Page 37: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

“… Sensitivity analysis can be used to explore how the impacts of the options you are analysing would change in response to variations in key parameters and how they interact.”

15 January 2009 SEC(2009) 92

Page 38: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

“ [SA] methods shouldpreferably be able to deal with a model regardless of assumptions about a model’s linearity and additivity, consider interaction effects among input uncertainties, […], and evaluate the effect of an input while all other inputs are allowed to vary as well.”

Page 39: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Common methods for GSA

A major issue in global sensitivity analysis is the number of model runs required to conduct the analysis.

Another issue is whether the analyst can choose the sample points or has to rely on given data points.

Page 40: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Case IAnalyst can choose 

points

Case IIPoints are given

Expensive modelCheap model

Brute‐force Screening Emulators smoothing

First‐order indices (S)

Total‐order indices (ST)

Other measures

SETTING

METHO

DOUTPUTSome Common Methods

Sobol/FAST

Page 41: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Variance-based techniques

and implementation of Saltelli/Sobol’ method

Page 42: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Consider a deterministic model where:

y is the model output,

is a vector of (uncertain) model inputs (k is the dimensionality of the space)

d is a vector of known (fixed) model inputs.

),...,,( 21 kxxx=x

),( dxfy =

Page 43: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't
Page 44: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Space of uncertainty

N° criteria Normalisation of criteria

...

Criteria variabilityWeights

Aggregation rules

Impact Index

P2PSE  P2PSE + VSLNO policy

10

20

30

40

50

60

Monte Carlo approach to uncertainty and sensitivity analysis

An example in traffic modeling

Page 45: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

First-order indices

The model is executed as a computer code. x y

)()]|([

yVarxyEVarS i

i =

)]|([)]|([)( ii xyVarExyEVaryVar +=

The expected reduction of variance that is obtained when xi is fixed over

its uncertainty range.

Page 46: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

0 20 40 60 80 100-50

0

50

100

150

200

250

300

350

0 20 40 60 80 100-50

0

50

100

150

200

250

300

350

iS iS

y

ix ix

y

Page 47: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

47

First order indices explain more output uncertainty than linear regression

2iiS β>

Page 48: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

48

Here linear regression does not explain anything

02 => iiS β

Page 49: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

)],|([)],|([)( jiji xxyVarExxyEVaryVar +=

Joint effects

jiji

ij SSyVar

xxyEVarS −−=

)()],|([

Page 50: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

50

The expected amount of variance that would remain unexplained (residual variance)

if xi, and only xi, were left free to vary over its uncertainty range.

Use: for model simplification, to identify unessential inputs in the model, which are not important neither singularly nor in combination with others.

An input with a small value of its total effect sensitivity index can be frozento any value within its range.

)(/)]|([ YVarxYVarES iTi −=

Total effects

)]|([)]|([)( ii xYVarExYEVarYVar −− +=

Page 51: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

ParameterA

Parameter B

ModelResponse

high

low

Figure: Courtesy of F. PappenbergerLancaster University

Cost = N*r*kN=n. pts over a liner=n. of linesk=n. model inputs

)|()|()|()|( 100321iiii xyExyExyExyE

x1

x2

Brute-force method

)()]|([

yVarxyEVarS i

i =

Page 52: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

FAST (Fourier Amplitude Sensitivity Test), (Cukier et al., 1973)

The method of Sobol’, (Sobol’, 1993)

An improvement of the Sobol’ method, (Saltelli, 2002)

EFAST (Extended FAST), (Saltelli, Tarantola and Chan, 1999)

Random Balance Designs (Tarantola, Gatelli, Mara, 2006)

Improvement of Sobol’ for small indices (Sobol’, Tarantola, et al.,2007)

The method of Jansen, (Jansen, 1994)

Best practices for first and total indices (Saltelli et al., 2010)

Page 53: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

[ ] )()|()]|([ 21

21 yExyEExyEVar −=

First order indices

∫∫=== 3232'1

'3

'2

'3

'2

'1

'1

'1

'1

21

2 ),,(),,()|()|()|()|( dxdxxxxfdxdxxxxfxyExyExyExyE

k k-1

32'3

'2

'132

'1

'3

'2

'1

'1

'1

2 ),,(),,()|( dxdxdxdxdxxxxfxxxfdxxyE ∫∫ =

The many integrals over 3 (k) dimensions are transformed into an integral over 5 (2k-1) dimensions [Ishigami and Homma,1990],

Let (x1, x2, x3) and (x1’, x2’, x3’) be two independent input vectorsuniformly distributed in (0,1)

Page 54: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

[ ]

[ ] '3

'2

'132132132

'1

'3

'2

'1

321321'3

'2

'1

'3

'2

'132

'3

'2

'132

'1

'3

'2

'1

21

21

),,(),,(),,(

),,(),,(),,(),,(

)()|()]|([

dxdxdxdxdxdxxxxfxxxfxxxf

dxdxdxxxxfdxdxdxxxxfdxdxdxdxdxxxxfxxxf

yExyEExyEVar

∫∫

=−

=−=

First order indices

[ ]∫ −= − ')(),'()'(1 dxdxxfxxfxfV

S iii

[ ]∑=

− −−

=N

jjijijji xfxxfxf

NVS

1)(),'()'(

111

x-i : all inputs but xi

Page 55: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

( )[ ] ( ) ( ) ( )[ ]∑=

−−

=N

jjjjjjjjjj xxxfxxxfxxxf

NxyEVar

13213213211 ,,,,'',','

11|

( )[ ] ( ) ( ) ( )[ ]∑=

−−

=N

jjjjjjjjjj xxxfxxxfxxxf

NxyEVar

13213213212 ,,,',',','

11|

( )[ ] ( ) ( ) ( )[ ]∑=

−−

=N

jjjjjjjjjj xxxfxxxfxxxf

NxyEVar

13213213213 ,,',,',','

11|

First order indices

[ ]∑=

− −−

=N

jjijijji xfxxfxf

NVS

1

)(),'()'(1

11

Page 56: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

1x

2x

),'( 21 xx

)',( 21 xx

),( 21 xx

Estimation of first order indices

This uses an ad-hoc design

[ ]∑=

− −−

=N

jjijijji xfxxfxf

NVS

1)(),'()'(

111

[ ]∑ −−

= ),(),'()','(1

112121211 xxfxxfxxf

NVS

)','( 21 xx

[ ]∑ −−

= ),()',()','(1

112121212 xxfxxfxxf

NVS

Page 57: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

1x

2x

),'( 21 xx

)',( 21 xx

),( 21 xx

Estimation of first order indices

This uses an ad-hoc design)','( 21 xx

Precision increases as N increases. Analysis requires N(k+2) runs of the model.N limited by available computational resources

[ ]∑=

− −−

=N

jjijijji xfxxfxf

NVS

1)(),'()'(

111

[ ]∑ −−

= ),(),'()','(1

112121211 xxfxxfxxf

NVS

[ ]∑ −−

= ),()',()','(1

112121212 xxfxxfxxf

NVS

Page 58: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Different strategies can be used to generate the input sample

-0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

0.5

-0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

0.5

Pure random

Latin Hypercube

Page 59: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

…or quasi random sequences

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Caflish (1998) for a review

Page 60: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Extension of Saltelli/Sobol’ formula for dependent inputs

),(),...,,()( 21 iik xxfxxxfxfy −=== ix− all inputs but ix

),(;),( ''iiii xxxx −− two independent samples with joint pdf p(x)

),( ''ii xx − sample generated by conditional distribution

Joint pdf conditional pdf(generate sample point from xi)

Joint pdf

Kucherenko, Tarantola, Annoni (2012)

[ ] ')(),'()'(12

dxdxxfxxfxfV

SkR iii ∫ −= −

[ ]∫ ∫∫ −= −−−k kR RiR iiiiii dxxpxfxdxxxpxxfdxxpxfV

S )()()|,''(),''(')'()'(1 ''1

Page 61: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Total index and its Monte Carlo estimate

[ ] iiiTi xdxdxxfxf

VS '),'()(

21 2

∫ −−=

[ ]∑=

−−−

=N

jijijj

Ti xxfxf

NVS

1

2),'()()1(2

1

Page 62: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Precision increases as N increases. Requires a total of N(k+1) model runs.If quasi-random points are used, N is typically 128, 256,…1024 etc.

[ ]∑ −−

= 221211 ),'(),(

)1(21 xxfxxfNV

S T

Estimation of total indices

This uses an ad-hoc design

[ ]∑=

−−−

=N

jijijj

Ti xxfxf

NVS

1

2),'()()1(2

1

[ ]∑ −−

= 221212 )',(),(

)1(21 xxfxxfNV

S T

1x

2x

),'( 21 xx

)',( 21 xx

),( 21 xx

Page 63: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Uncertainty quantification and sensitivity analysis are necessary ingredients in model based assessments

Several approaches are used

Global methods are the most reliable: they work for any kind of models, theydiscover interactions.

Many examples of good use of global SA can be found in the literature.

Conclusions

Page 64: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Saltelli, A., P. Annoni, I. Azzini, F. Campolongo, M. Ratto, S. Tarantola, (2010) Variance based sensitivity analysis of model output. Design and estimator for the total sensitivity index, Computer Physics Communications, 181, 259–270

R.E. Caflisch (1998) Monte Carlo and quasi-Monte Carlo methods, Acta Numerica 7 1–49.

I.M. Sobol’ (1993) Sensitivity estimates for nonlinear mathematical models, Mathematical Modelling and Computational Experiment 1 (4) 407–414.

Kucherenko S, S. Tarantola and P. Annoni (2012) Estimation of global sensitivity indices for models with dependent variables, Computer Physics Communications 183, 937-946

References

Page 65: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Global sensitivity analysis.

The Primer

A textbook of methods to evidencehow model-based inference depends

upon modelspecifications and assumptions,

John Wiley, 2008

Saltelli, A., Ratto M., Andres, T., Campolongo, F., Cariboni J., Gatelli

D., Ratto, M., Saisana, M., Tarantola, S.

Page 66: Seminario Bicocca v0 - Copy.pptx [Read-Only]€¦ · The spectre of type III errors (analysing the wrong problem): Donald Rumsfeld version: "Reports that say that something hasn't

Resources:http://ipsc.jrc.ec.europa.eu/?id=756

Eighth summer school on sensitivity analysis24-27 June, 2014 Ranco (Italy)

For info:http://ipsc.jrc.ec.europa.eu/?id=848