Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation...

13
Introduction to Introduction to parameter optimisation parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics from Environmental Fate Studies in EU Registration Brussels, 26-27 January 2005

Transcript of Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation...

Page 1: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Introduction toIntroduction toparameter optimisationparameter optimisation

Sabine Beulke, CSL, York, UK

FOCUS Work Group on Degradation Kinetics

Estimating Persistence and Degradation Kinetics

from Environmental Fate Studies in EU Registration

Brussels, 26-27 January 2005

Page 2: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Curve fittingCurve fitting

0

20

40

60

80

100

0 10 20 30 40Time

Co

nc

en

tra

tio

n

measured

0

20

40

60

80

100

0 10 20 30 40Time

Co

nc

en

tra

tio

n

measured SFO

Page 3: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

OptimisationOptimisation

Least squares method:

Minimises the sum of squared residuals (RSS)

Calculated line

Residual = deviation between calculated and measured data

Measured datapoint

0

2

4

6

8

10

12

0 2 4 6 8 10 12

Page 4: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

OptimisationOptimisation

0

2

4

6

8

10

12

0 2 4 6 8 10 12

Calculatecurve

Initial guess(starting value)

CalculateRSS

Modifyparameter 0

2

4

6

8

10

12

0 2 4 6 8 10 12

Page 5: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Automatic optimisationAutomatic optimisation

Stops when:

Convergence criteria are metComparison between RSS for actual and previous runs. Convergence reached if difference is smaller than user-specified difference

Termination criteria are metFor example, when maximum number of runs has been carried out (user-specified)

Good fit not guaranteed!

Page 6: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Non-uniquenessNon-uniqueness

0

20

40

60

80

100

0 10 20 30 40

Time

Co

nce

ntr

atio

n

measured FOMC

M0 92.48 DT50 7.2alpha 957.220 DT90 24.1beta 10004.3

139.277 Residual Sum of Squares

M0 92.47 DT50 7.2alpha 6696.536 DT90 24.1beta 70030.3

139.120 Residual Sum of Squares

0

20

40

60

80

100

0 10 20 30 40

Time

Co

nce

ntr

atio

n

measured FOMC

Page 7: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Non-uniquenessNon-uniqueness

Parameter correlationParameters strongly related

Effects on RSS of changes in one parameter can be compensated by changes in another parameter

Inadequate modelFor example, selection of bi-phasic model not warranted if data follow SFO

Page 8: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Global versus local minimumGlobal versus local minimum

The optimisation may find a local “valley” in the RSS surface, but not the absolute, global minimum.

Different parameter combinations may be returned for different starting values.

Good fit not guaranteed!

From: http://www.ssg-surfer.com/

RSS as a function ofchanges in 2 parameters

Page 9: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

FOCUS recommendationsFOCUS recommendations

Always evaluate the visual fit

Avoid over-parameterisation

Aim at finding reasonable starting values

Always use different starting values

Constrain parameter ranges if appropriate

Plausibility checks for parameters and endpoints

Stepwise fitting where necessary

Be aware of differences between software packages

Page 10: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Residual plot

-25

-20

-15

-10

-5

05

10

15

20

25

0 20 40 60 80 100

Time

Co

nce

ntr

atio

n

SFO

Goodness of fit - visual assessmentGoodness of fit - visual assessment

Concentration vs. time plot

0

20

40

60

80

100

0 20 40 60 80 100Time

Co

nce

ntr

atio

n

measured

SFO

Page 11: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Goodness of fit - statistical criteriaGoodness of fit - statistical criteria

2 test

whereC = calculated valueO = observed value = mean of all observed valueserr = measurement error percentage

If calculated 2 > tabulated 2 then the model is not appropriate at the chosen level of significance

Error percentage unknown Calculate error level at which 2 test is passed (e.g. with Excel spreadsheet provided by FOCUS)

2

22

)O x 100/err(

)OC(

2

2

2tabulated O

OC

χ

1100err

Page 12: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

Confidence in parameter estimates

Calculate e.g. from ModelMaker output

A parameter is significantly different from zero if p (t) < alpha

Others (e.g. model efficiency, F-test)

iparameteroferrordardtans

iparameterofestimateat

i

i

Goodness of fit - statistical criteriaGoodness of fit - statistical criteria

Page 13: Introduction to parameter optimisation Sabine Beulke, CSL, York, UK FOCUS Work Group on Degradation Kinetics Estimating Persistence and Degradation Kinetics.

FOCUS optimisation procedureFOCUS optimisation procedure

Initial guess(starting values)

Enter measureddata

Evaluate:Visual fitStatistics

ParametersEndpoints

Optimise

Select kinetic model& parameters

Elim

inat

e o

utl

iers

, wei

gh

tin

g?

Ch

ang

e m

od

el, f

ix p

aram

eter

s?

Ch

ang

e st

arti

ng

val

ues