using bayesian model averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd...

26
3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging to calibrate short-range forecasts from a multi-model ensemble DANIEL SANTOS-MUÑOZ , ALFONS CALLADO, JOSE A. GARCIA-MOYA, CARLOS SANTOS AND JUAN SIMARRO. Predictability Group Spanish Meteorological Institute (INM). 28040 Madrid. Spain

Upload: others

Post on 22-Jan-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1

Using Bayesian Model Averaging to calibrate short-range

forecasts from a multi-model ensemble

DANIEL SANTOS-MUÑOZ , ALFONS CALLADO, JOSE A. GARCIA-MOYA, CARLOS SANTOS AND JUAN SIMARRO.

Predictability Group Spanish Meteorological Institute (INM). 28040 Madrid. Spain

Page 2: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 2

BMA INTRO

• BMA is a statistical method for postprocessing ensembles based on

standard method for combining predictive distributions from different

sources.

• The BMA predictive PDF of any quantity of interest is a weighted

average of PDFs centered on the individual bias-corrected

forecasts, where the weights are equal to posterior probabilities of

the models generating the forecasts and reflect the models’ relative

contributions to predictive skill over the training period.

Raftery et al, 2005

Page 3: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 3

BMA FUNDAMENTALS

is the forecast PDF based on alone.

is the posterior probability of being correct given the training data => Reflects how well fits the training data.

can be viewed as weights

1

( ) ( | ) ( | )K

Trainingk k

k

p parameter p parameter f p f parameter=

=∑

kf

Trainingkp(f parameter ) kf

kf

11

KTraining

k kk=p(f parameter )= w⇒∑

)( kfparameterp

Page 4: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 4

BMA FUNDAMENTALS

• If the conditional PDF of the can be approximated to a normal distribution centred at a linear function of the forecast

• We need to estimate

=> Estimate by means simple linear regression ofon for the training data => simple BIAS correction. (Glahn and Lowry 1972; Carter et al. 1989).

parameter

2k k k k kparameter f N(a b f ,σ )≈ +

2k k k ka b w σ

s tparameterkk ba

kstf kk ba

Page 5: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 5

=> Estimate by maximum likelihood (Fisher,1922) of the training data.

• Assuming independence of forecast errors in space and time, the log-likelihood function is

where the summation is over s and t. • Maximization of log-likelihood function by means expectation-

maximization (EM) algorithm. (Dempster et al. 1977; McLachlan and Krishnan1997).

• The estimate is refined to optimize the continuous ranked probability score (CRPS), searching numerically over a range of values of centered at the maximum likelihood estimate.

2k kw σ

BMA FUNDAMENTALS

σ

21

, 1( .... , ) log ( | )

K

k k k k st ksts t k

l w w w g parameter fσ=

⎛ ⎞= ⎜ ⎟⎝ ⎠

∑ ∑

Page 6: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 6

BMA FUNDAMENTALS

F2F1 F4F5F3

BMA predictive PDF

Page 7: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 7

• The BMA predictive variance can be written as (Raftery,1993)

• Predictive Variance = Between-Forecast Variance + Within-Forecast Variance

Between-Forecast Variance is the ensemble spread

measures the expected uncertainty conditional on one of forecast being the “best” locally in time=> adds more spread if the ensemble is underdispersive.

BMA FUNDAMENTALS

2 2

1

K

k kk

σ wσ=

=∑

22

11 1

( ... ) ( ) ( )K K

st st k s t k k k kst i i i istk i

Var parameter f f w a b f w a b f σ= =

⎛ ⎞= + − + +⎜ ⎟

⎝ ⎠∑ ∑

Page 8: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 8

SREPS DESCRIPTION

• SREPS is multi-model multi-initial conditions with 72 hours forecast integrations twice a day (00 & 12 UTC).

• 5 models x 4 boundary conditions => 20 member ensemble every 12 hours

• The models outputs are codified in GRIB

• Full description of the system can viewed in Poster Session (García-Moya et al.) and verification results in Carlos Santos presentation.

Page 9: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 9

BMA EXPERIMENTS

• BMA calibration:

500 hPa Temperature (T500)500 hPa Geopotencial (Z500) 10m Wind speed (S10m)

- 3, 5 and 10 days of training period- 3 months of calibration (April, May and June of 2006) for Z500 and T500 and 1 month for S10m (April 2006)

- 24, 48 and 72 hours forecast for Z500 and T500 and 24 and 72 hours forecast for S10m

• BMA calibration using TEMP and SYNOP observations over whole area

Page 10: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 10

RESULTS

MULTIMODEL

BMA 3 T. DAYS

BMA 5 T. DAYS

BMA 10 T. DAYS

Page 11: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 11

RESULTS

MULTIMODEL

BMA 3 T. DAYS

BMA 5 T. DAYS

BMA 10 T. DAYS

Page 12: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 12

RESULTS

MULTIMODEL

BMA 3 T. DAYS

BMA 5 T. DAYS

BMA 10 T. DAYS

Page 13: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 13

WEIGHTS TIME SERIES

HRM T500 td 3 H+72

0.0000.1000.200

0.3000.4000.5000.6000.700

0.8000.9001.000

DATE

WEI

GH

T HAVHECHGM

HIRLAM T500 td 3 H+72

0.0000.1000.2000.3000.4000.5000.6000.7000.8000.9001.000

DATEW

EIG

HT

IAVIECIGMIUK

LM T500 td 3 H+72

0,0000,100

0,2000,3000,4000,500

0,6000,7000,800

0,9001,000

DATES

WEI

GHT

S LAVLECLGMLUK

MM5 td 3 H+72

0.0000.100

0.2000.3000.4000.500

0.6000.7000.800

0.9001.000

DATE

WEI

GHT

MAVMECMGMMUK

UM T500 td 3 H+72

0.0000.100

0.2000.3000.4000.500

0.6000.7000.800

0.9001.000

DATE

WEI

GHT

UAVUECUGMUUK

HRM HIRLAM LOKAL MODEL

MM5 UM

Page 14: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 14

• As Gneiting and Raftery have published in Science (2005): “We anticipate notable improvements in probabilistic forecast skill through the continued development of multimodel, multi–initial condition ensemble systems and advanced, grid-based statistical postprocessing techniques. “

• Better calibrated ensemble has been obtained after BMA for Z500 and T500. First calibration results exhibit a great improvement in spread-skill calibration as well as better rank histograms.

• The preliminary calibrated ensemble for S10m shows a good spread-skill relationship, reduction of outliers in rank histograms, better reliability diagrams and brier skill scores than multimodel.

• Testing longer training periods seems to be necessary. However, if there is not a clear improvement in verification scores by usingthese longer training periods, then the shortest training periodseems to be suitable for calibration of short range forecasts.

CONCLUSIONS

Page 15: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 15

• BMA calibration of surface parameters with quasi-normal conditional PDFs: T2m, Pmsl and S10m.

• Research on optimum length of the training periods for surface parameters.

• BMA calibration of accumulated precipitation using the cube root of precipitation amount and the conditional PDF (Slaughter, JM et al.,2006):

FUTURE WORK

11( ) exp( )( )

k

kk kk k

p parameter f y yαα β

β α−=

Γ

Page 16: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 16

REFERENCES

• Carter, G. M., J. P. Dallavalle, and H. R. Glahn, 1989: Statisticalforecasts based on the National Meteorological Center’s numerical weather prediction system. Wea. Forecasting, 4, 401–412.

• Dempster, A. P., N. M. Laird, and D. B. Rubin, 1977: Maximum likelihood from incomplete data via the EM algorithm. J. Roy. Stat. Soc., 39B, 1–39.

• Fisher, R. A., 1922: On the mathematical foundations of theoretical statistics. Philos. Trans. Roy. Soc. London, 222A, 309–368.

• Glahn, H. R., and D. A. Lowry, 1972: The use of model output statistics (MOS) in objective weather forecasting. J. Appl. Meteor., 11, 1202–1211.

• Gneiting, T. and Raftery, A.E. (2005). Weather forecasting with ensemble methods. Science, 310, 248-249.

• McLachlan, G. J., and T. Krishnan, 1997: The EM Algorithm and Extensions. Wiley, 274 pp.

• Raftery, A.E., Gneiting, T., Balabdaoui, F. and Polakowski, M. (2005). Using Bayesian Model Averaging to Calibrate Forecast Ensembles. Monthly Weather Review, 133, 1155-1174.

Page 17: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 17

REFERENCES

• Raftery, A.E., Painter, I. and Volinsky, C.T. (2005). BMA: An R package for Bayesian Model Averaging. R News, volume 5, number 2, 2-8.

• Richard A. Becker, John M. Chambers and Allan R. Wilks (1988), The New S Language. Chapman & Hall, New York. This book is often called the “Blue Book”.

• Slaughter, J.M., Adrian E. Raftery and Tilmann Gneiting (2006), Probabilistic Quantitative Precipitation Forecasting Using Bayesian Model Averaging. Technical Report no. 496 Dpt. Statistics University of Washington.

Page 18: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 18

BMA LINKS

• http://www.stat.washington.edu/raftery/• http://bma.apl.washington.edu/• http://www.r-project.org/• http://www.research.att.com/~volinsky/bm

a.html

Page 19: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 19

WEIGHTS TIME SERIES

HIRLAM td 3 H+48

0.0000.100

0.2000.300

0.4000.500

0.6000.700

0.8000.900

1.000

DATE

WEI

GHT

IAVIECIGMIUK

HIRLAM T500 td 3 H+72

0.0000.1000.2000.3000.4000.5000.6000.7000.8000.9001.000

DATE

WEI

GH

T

IAVIECIGMIUK

HIRLAM td 3 H+24

0.0000.100

0.2000.300

0.4000.500

0.6000.700

0.8000.900

1.000

DATE

WEI

GHT

IAVIECIGMIUK

HIRLAM

Page 20: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 20

HIRLAM T500 td 3 H+72

0.0000.1000.2000.3000.4000.5000.6000.7000.8000.9001.000

DATE

WEI

GH

T

IAVIECIGMIUK

WEIGHTS TIME SERIES

HIRLAM td 5 H+72

0.000

0.1000.200

0.3000.400

0.500

0.6000.700

0.8000.900

1.000

DATE

WEI

GHT

IAVIECIGMIUK

HIRLAM td 10 h+ 72

0.0000.100

0.2000.300

0.4000.500

0.6000.700

0.8000.900

1.000

DATE

WEI

GHT

IAVIECIGMIUK

HIRLAM

Page 21: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 21

WEIGHTS TIME SERIES

HIRLAM td 3 H+24

0.0000.100

0.2000.300

0.4000.500

0.6000.700

0.8000.900

1.000

DATE

WEI

GHT

IAVIECIGMIUK

Z500 td 3 H + 24

0.0000.1000.2000.3000.4000.5000.6000.7000.8000.9001.000

DATE

WEI

GH

T

IAV

IEC

IGM

IUK

HIRLAM

Page 22: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 22

VARIANCE TIME SERIES

HIRLAM

HIRLAM td 3 H+72

0,000

1,000

2,000

3,000

4,000

5,000

DATE

VARI

ANCE

IAV

IEC

IGM

IUK

HIRLAM td 5 H+72

0,000

1,000

2,000

3,000

4,000

5,000

DATE

VAR

IANC

E IAV

IEC

IGM

IUK

HIRLAM td 10 H+72

0,000

1,000

2,000

3,000

4,000

5,000

DATE

VA

RIA

NCE

IAVIECIGMIUK

Page 23: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 23

BMA IMPLEMENTATION

• TRAINING DATA GENERATION - 1st training day

DATA EXISTS

grb2grid_BMA.x

GRIBVERIFIYINGANALYSIS

20 GRIB

OUTPUTS

YES ASCII FORECAST

NO

NA ASCII FORECAST

grb2grid_BMA.x

ASCII VERIFYINGANALYSIS

Page 24: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 24

BMA IMPLEMENTATION

• TRAINING DATA GENERATION - Nth training day

DATA EXISTS

grb2grid_BMA.x

20 GRIB

OUTPUTS

YESAPPEND TO

n-1 ASCII FORECASTS

NO

APPEND NA TO n -1 ASCII

FORECAST

GRIBVERIFIYINGANALYSIS

APPEND TO n-1 ASCII

VERIFYINGANALYSIS

grb2grid_BMA.x

Page 25: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 25

BMA IMPLEMENTATION

• Ensemble BMA over R

n ASCII FORECASTS

ASCII FC ≠ NA AT LEAST ONE DAY DURING

TRAINNG PERIOD

i MEMBER

FC EXISTS FOR CALIBRATING DAY

NOi MEMBER OUT OF

BMA CALIBRATION

NOYES

YESi MEMBER IN OF BMA

CALIBRATION

Page 26: Using Bayesian Model Averaging to calibrate short-range forecasts from … · 2016. 1. 31. · 3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 1 Using Bayesian Model Averaging

3rd Workshop on Verification Methods 31 Jan-2 Feb ECMWF 26

BMA IMPLEMENTATION

• The BMA has been implemented over (www.r-project.org ; Richard et al.1998) and the ensembleBMA package (http://cran.r-project.org/src/contrib/Descriptions/ensembleBMA.html, Raftery et.al. 2005)

• Our SREPS is multi-model multi-initial conditions with 72 hours forecast integrations twice a day (00 & 12 UTC).

• 5 models x4 boundary conditions =>20 member ensemble every 24 hours• The models outputs are codified in GRIB