Skip to content

A demonstration of performing Extreme Value Theory (EVT) using the Block Maxima method with Bayesian sampling in Julia.

License

Notifications You must be signed in to change notification settings

patrickm663/extremevaluetheory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extreme Value Theory

This investigation is currently a WIP

A demonstration Extreme Value Theory (EVT) using the Block Maxima method with Bayesian sampling in Julia.

Approach

This repo makes use of the battery water levels dataset found in the pyextremes package. It takes the annual maximum water elevation level and fits a Generalised Extreme Value (GEV) to the observations.

Bayesian methods allow us to produce uncertainty quantifications for our results. In addition, we are also able to provide informative priors to encode expert knowledge into the system. In our example, our main source of prior knowledge is that the distribution is very likely Gumbel ($\xi$ is zero), which allows our model to converge on a solution faster.

The end-to-end investigation is available in the Pluto notebook provided, and an HTLM copy is available at https://patrickm663.github.io/extremevaluetheory/.

Motivation

This repo was largely to showcase how Turing.jl can be used as a very flexible modelling library, given the support contraints when $\xi$ fluxuates around zero.

TODO

  • Add example of Generalised Pareto Distribution
  • Demonstrate how Bayesian neural networks can help model rare events by utilising block maxima / peaks-over-threshold to model the tails.

About

A demonstration of performing Extreme Value Theory (EVT) using the Block Maxima method with Bayesian sampling in Julia.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages