stochastic modelling in climate science
play

Stochastic Modelling in Climate Science David Kelly Mathematics - PowerPoint PPT Presentation

Stochastic Modelling in Climate Science David Kelly Mathematics Department UNC Chapel Hill dtbkelly@gmail.com November 16, 2013 David Kelly (UNC) Stochastic Climate November 16, 2013 1 / 36 Why use stochastic models? The basic system we


  1. Stochastic Modelling in Climate Science David Kelly Mathematics Department UNC Chapel Hill dtbkelly@gmail.com November 16, 2013 David Kelly (UNC) Stochastic Climate November 16, 2013 1 / 36

  2. Why use stochastic models? The basic system we are trying to model is of the form dx dt = F ( x , y ) where x are resolved variables evolving on a slow timescale and y are unresolved variables evolving on a fast timescale. Eg . x are climate variables, with a response time of years and y are weather effects, with a response time of hours . Because of this structure, these systems exhibit features of stochastic processes - most importantly variability . David Kelly (UNC) Stochastic Climate November 16, 2013 2 / 36

  3. Outline 1 - Building a stochastic model - SDEs. 2 - Stochastic calculus ... different to normal calculus 3 - Statistics of SDEs 4 - Numerical schemes for SDEs. David Kelly (UNC) Stochastic Climate November 16, 2013 3 / 36

  4. 1 . How can we build a stochastic model ? David Kelly (UNC) Stochastic Climate November 16, 2013 4 / 36

  5. Building a stochastic model Suppose we are trying to model a perturbed system dx dt = F ( x ) + noise We build this model using an approximation . Fix some ∆ t ≪ 1 and let x k ≈ x ( k ∆ t ). If the noise is independent of x , then we can write x k +1 = x k + F ( x k )∆ t + ∆ W k . Think of ∆ W k as all the noise accumulated over the time step ∆ t . David Kelly (UNC) Stochastic Climate November 16, 2013 5 / 36

  6. What properties should we require of ∆ W k ? There are a few natural assumptions to make about ∆ W k that make the model a lot simpler. 1 . The sequence ∆ W 1 , ∆ W 2 , ∆ W 3 , . . . should be i.i.d . 2 . ∆ W k should be Gaussian . 3 . E ∆ W k = 0. 4 . E ∆ W 2 k ∼ ∆ t . David Kelly (UNC) Stochastic Climate November 16, 2013 6 / 36

  7. Brownian motion Since ∆ W k are noise increments , we should add them up! ⌊ t / ∆ t ⌋− 1 � W ( t ) ≈ ∆ W k k =0 In the limit ∆ t → 0, the random path is called Brownian motion . ∆ t = 0 . 5 ∆ t = 0 . 01 ∆ t = 0 . 1 David Kelly (UNC) Stochastic Climate November 16, 2013 7 / 36

  8. Building a stochastic model Returning to the approximate model x k +1 = x k + F ( x k )∆ t + ∆ W k . To see what “ODE” this represents, we write = F ( x k ) + ∆ W k x k +1 − x k , ∆ t ∆ t this is clearly an approximation of dx dt = F ( x ) + dW . dt The object dW dt is called white noise . David Kelly (UNC) Stochastic Climate November 16, 2013 8 / 36

  9. Building a stochastic model As an ODE, the model is not particularly well defined, since W is nowhere differentiable . That means dW dt is nowhere defined! This is not surprising, since � 2 � ∆ W k ∼ 1 E ∆ t → ∞ . ∆ t David Kelly (UNC) Stochastic Climate November 16, 2013 9 / 36

  10. Building a stochastic model Mathematically, it doesn’t matter that the ODE is not well defined. The integral equation is well defined x k +1 = x k + F ( x k )∆ t + ∆ W k . Then x ( t ) = x ⌊ t / ∆ t ⌋ is given by ⌊ t / ∆ t ⌋− 1 ⌊ t / ∆ t ⌋− 1 � � x ( t ) = x (0) + F ( x k )∆ t + ∆ W k k =0 k =0 This is clearly an approximation of � t x ( t ) = x (0) + F ( x ( s )) ds + W ( t ) 0 David Kelly (UNC) Stochastic Climate November 16, 2013 10 / 36

  11. Building a stochastic model The equation � t x ( t ) = x (0) + F ( x ( s )) ds + W ( t ) 0 is called a Stochastic Differential Equation ( SDE ). We often use the shorthand dx = F ( x ) dt + dW When the noise doesn’t depend on the solution x , the noise is called additive . David Kelly (UNC) Stochastic Climate November 16, 2013 11 / 36

  12. Building a stochastic model: multiplicative noise Suppose the magnitude of the noise depends on the state of the model ⌊ t / ∆ t ⌋− 1 ⌊ t / ∆ t ⌋− 1 � � x ( t ) = x (0) + F ( x k )∆ t + G ( x k )∆ W k k =0 k =0 Under certain assumptions on G ( x ), the limit of � ⌊ t / ∆ t ⌋− 1 G ( x k )∆ W k k =0 exists and is called an Itˆ o integral . The limit becomes � t � t x ( t ) = x (0) + F ( x ( s )) ds + G ( x ( s )) dW ( s ) . 0 0 In shorthand, this is written dx = F ( x ) dt + G ( x ) dW . David Kelly (UNC) Stochastic Climate November 16, 2013 12 / 36

  13. Stochastic Differential Equations There are several different interpretations as to what it means to be a solution to the SDE dx = F ( x ) dt + G ( x ) dW . To an applied mathematician, the most natural is simply that x is the limit of the approximation defined in the previous slides. � A more rigorous way is to define the Itˆ o integral YdW for some space of random paths Y , and then construct a fixed point argument on that space. David Kelly (UNC) Stochastic Climate November 16, 2013 13 / 36

  14. 2 . How does stochastic calculus work? David Kelly (UNC) Stochastic Climate November 16, 2013 14 / 36

  15. It is natural to think that dx = dx dt dt But for SDEs this is false ... If x isn’t differentiable, then normal calculus doesn’t work. David Kelly (UNC) Stochastic Climate November 16, 2013 15 / 36

  16. Stochastic calculus Eg . Suppose we want to write down an SDE whose solution is x ( t ) = W 2 ( t ). One would expect that dx = 2 W dW but this is wrong! To see why, we go back to the discretization x k +1 − x k = W 2 k +1 − W 2 k = ( W k +1 + W k )( W k +1 − W k ) = 2 W k ( W k +1 − W k ) + ( W k +1 − W k )( W k +1 − W k ) = 2 W k ∆ W k + (∆ W k ) 2 David Kelly (UNC) Stochastic Climate November 16, 2013 16 / 36

  17. Stochastic calculus Adding them up ⌊ t / ∆ t ⌋− 1 ⌊ t / ∆ t ⌋− 1 � � (∆ W k ) 2 x ( t ) = x (0) + 2 W k ∆ W k + k =0 k =0 The first sum (by definition) converges to an Itˆ o integral. The limit of the second sum can be computed using the Law of Large Numbers (like the ergodic theorem). We obtain the limit � t x ( t ) = x (0) + 2 W ( s ) dW ( s ) + t . 0 Or in short dx = 2 W dW + dt David Kelly (UNC) Stochastic Climate November 16, 2013 17 / 36

  18. Itˆ o’s formula In general, the rules of stochastic calculus is determined by Itˆ o’s formula . This is a stochastic chain-rule . Theorem Suppose that x is the solution to dx = F ( x ) dt + G ( x ) dW and that φ is some smooth enough function. Then d φ ( x ) = φ ′ ( x ) dx + 1 2 φ ′′ ( x ) G 2 ( x ) dt = φ ′ ( x )( F ( x ) dt + G ( x ) dW ) + 1 2 φ ′′ ( x ) G 2 ( x ) dt David Kelly (UNC) Stochastic Climate November 16, 2013 18 / 36

  19. An example of Itˆ o’s formula Consider the following stochastic model called geometric Brownian motion (gBm) (stock price, population model with noisy growth rate) dx = rxdt + σ xdW , where r , σ are constants. To solve this using normal calculus, we would write dx x = rdt + σ dW then integrate. Instead we must use Itˆ o’s formula . David Kelly (UNC) Stochastic Climate November 16, 2013 19 / 36

  20. An example of Itˆ o’s formula By Itˆ o’s formula we have d log( x ) = dx 2 x 2 ( σ x ) 2 dt = ( r − 1 1 2 σ 2 ) dt + σ dW . x − And integrating, we get log( x ( t )) = log( x (0)) + ( r − 1 2 σ 2 ) t + σ W ( t ) so � ( r − 1 � 2 σ 2 ) t + σ W ( t ) x ( t ) = x (0) exp David Kelly (UNC) Stochastic Climate November 16, 2013 20 / 36

  21. Stratonovich integrals Stochastic models are very sensitive to the source of noise . Suppose that W ε → W was a smooth approximation of Brownian motion. Then the (random) ODE makes perfect sense. dx ε dt = F ( x ε ) + G ( x ε ) dW ε dt We can define the stochastic model as the limit x ε → x as ε → 0. One would guess that x solves dx = F ( x ) dt + G ( x ) dW But it doesn’t ! David Kelly (UNC) Stochastic Climate November 16, 2013 21 / 36

  22. Stratonovich integrals Eg . Back to the gBm example, suppose that dx ε dt = rx ε + σ x ε dW ε . dt We will show that the limit is not dx = rxdt + σ xdW For each fixed ε , since everything is piecewise smooth, normal calculus works. So in fact dt log( x ε ) = r + σ dW ε d dt and x ε ( t ) = x (0) exp ( rt + W ε ( t )) David Kelly (UNC) Stochastic Climate November 16, 2013 22 / 36

  23. Stratonovich integrals The limit is clearly x ( t ) = x (0) exp ( rt + W ( t )) . One can check that this solves the SDE dx = ( r + 1 2 σ 2 ) xdt + σ xdW . When the noise arises in this way, one instead writes dx = rxdt + σ x ◦ dW , and the stochastic integral is called a Stratonovich integral . It is easy to convert between Itˆ o and Stratonovich integrals. David Kelly (UNC) Stochastic Climate November 16, 2013 23 / 36

  24. Itˆ o vs Stratonovich From a modeling standpoint, one should decide a priori how their noise enters the model. If the noise enters as a discrete process (e.g. weather effects like rainfall) then one should use Itˆ o integrals . If the noise enters as a continuous process (e.g. fast chaotic effects) then one should use Stratonovich integrals . David Kelly (UNC) Stochastic Climate November 16, 2013 24 / 36

  25. Recap We have seen that 1 - SDEs arise naturally as stochastic models. 2 - SDEs have their own calculus. 3 - SDEs are sensitive to the source of noise. David Kelly (UNC) Stochastic Climate November 16, 2013 25 / 36

  26. 3 . Main advantage of SDEs - their statistics are extremely well understood. David Kelly (UNC) Stochastic Climate November 16, 2013 26 / 36

Recommend


More recommend