Presentation is loading. Please wait.

Presentation is loading. Please wait.

7. Homogenization Seminar Budapest – 24.- 28. October 2011 What is the correct number of break points hidden in a climate record? Ralf Lindau Victor Venema.

Similar presentations


Presentation on theme: "7. Homogenization Seminar Budapest – 24.- 28. October 2011 What is the correct number of break points hidden in a climate record? Ralf Lindau Victor Venema."— Presentation transcript:

1 7. Homogenization Seminar Budapest – 24.- 28. October 2011 What is the correct number of break points hidden in a climate record? Ralf Lindau Victor Venema Bonn University

2 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Defining breaks Consider the differences of one station compared to a reference. (Kriged ensemble of surrounding stations) Breaks are defined by abrupt changes in the station-reference time series. Internal variance within the subperiods External variance between the means of different subperiods Criterion: Maximum external variance attained by a minimum number of breaks

3 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Decomposition of Variance n total number of years N subperiods n i years within a subperiod The sum of external and internal variance is constant.

4 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Two questions Titel of this talk asks: How many breaks? Where are they situated? Testing of all permutions is not feasible. The best solution for a fixed number of breaks can be found by Dynamical Programming

5 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Dynamical Programming (1) Find the optimum positions for a fixed number of breaks. Consider not only the complete time series, but all possible truncated variants.

6 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Dynamical Programming (2) Find the optimum positions for a fixed number of breaks. Consider not only the complete time series, but all possible truncated variants. Find the first break by simply testing all permutions.

7 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Dynamical Programming (3) Find the optimum positions for a fixed number of breaks. Consider not only the complete time series, but all possible truncated variants. Find the first break by simply testing all permutions. Fill up all truncated variants. The internal variance consists now of two parts: that of the truncated variant plus that of the rest.

8 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Dynamical Programming (4) Find the optimum positions for a fixed number of breaks. Consider not only the complete time series, but all possible truncated variants. Find the first break by simply testing all permutions. Fill up all truncated variants. The internal variance consists of two parts: that of the truncated variant plus that of the rest. Search the minimum out of n.

9 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Dynamical Programming (5) The 2-breaks optimum for the full length is found. To begin the search for 3 breaks, we need as before the previous solutions for all, also shorter length. This needs n 2 /2 searches, which is for larger numbers of breaks k much less than all permutations (n over k).

10 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Dynamical Programming (5) The 2-breaks optimum for the full length is found. To begin the search for 3 breaks, we need as before the previous solutions for all, also shorter length. This needs n 2 /2 searches, which is for larger numbers of breaks k much less than all permutations (n over k).

11 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Position & Number Solved: The optimum positions for a fixed number of breaks are known by Dynamical Programming. Left: Find the optimum number of breaks. The external variance increase in any case with increasing number of breaks. Use as benchmark the behaviour of a random time series.

12 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Segment averages with stddev = 1 Segment averages x i scatter randomly mean : 0 stddev:1/ Because any deviation from zero can be seen as inaccuracy due to the limited number of members.

13 7. Homogenization Seminar Budapest – 24.- 28. October 2011 External Variance The external variance is equal to the mean square sum of a random normal distributed variable. Weighted measure for the variability of the subperiods‘ means

14 7. Homogenization Seminar Budapest – 24.- 28. October 2011  2 -distribution n:Length of time series (Number of years) k:Number of breaks N = k+1:Number of subsegments [ ]:Mean of several break position permutations [var ext ] = (N-1)/n = k/n In average, the external variance increases linearly with k. However, we consider the best member as found by DP. var ext ~  N 2 The external variance is chi 2 -distributed. Def.: Take N values out of N (0,1), square and add them up. By repeating a  N 2 -distribution is obtained.

15 7. Homogenization Seminar Budapest – 24.- 28. October 2011 21-years random data (1) 1000 random time series are created. Only 21-years long, so that explicite tests of all permutations are possible. The mean increases linearly. However, the maximum is relevant (the best solution as found by DP) Can we describe this function? First guess:

16 7. Homogenization Seminar Budapest – 24.- 28. October 2011 21-years random data (2) Above, we expected the data for a fixed number of breaks being chi 2 -distributed.

17 7. Homogenization Seminar Budapest – 24.- 28. October 2011 The random data does not fit exactly to a chi 2 -distribution. The reason is that chi 2 has no upper bounds. But var ext cannot exceed 1. A kind of confined chi 2 is the beta distribution. From  2 to  distribution n = 21 years k = 7 breaks data 

18 7. Homogenization Seminar Budapest – 24.- 28. October 2011 From  2 to  distribution n = 21 years k = 7 breaks data  X ~  2 (a) and Y ~  2 (b)  X / (X+Y) ~  (a/2, b/2) If we normalize a chi 2 -distributed variable by the sum of itself and another chi 2 -distributed variable, the result will be  -distributed. The  -distribution fits well to the data and is the theoretical distribution for the external variance of all break position permutations. 

19 7. Homogenization Seminar Budapest – 24.- 28. October 2011 From  2 to  distribution   11 15 17 7 with We are interested in the best solution, with the highest external variance, as provided by DP. We need the exceeding probability for high var ext

20 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Incomplete Beta Function External variance v is  -distributed and depends on n (years) and k (breaks): The exceeding probability P gives the best (maximum) solution for v Incomplete Beta Function Solvable for even k and odd n:

21 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Example 21 years, 4 breaks k = 4  i = 2 n = 21  m = 9

22 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Theory and Data Theory (Curve): Random data (hached) fits well.

23 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Nominal Combination Number For n = 21 and k = 4 there are break combinations. If they all were independent we could read the maximum external variance at (4845) -1 ≈ 0.0002 being 0.7350 However, we suspect that the break combinations are not independent. And we know the correct value of var ext.

24 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Effective and Nominal Remember: var ext = 0.5876 for k=4 The reverse reading leads to an 23 times higher exceeding probability. This shows that the break permutations are strongly dependent and the effective number of combinations is smaller than the nominal. However, the theorectical function is correct.

25 7. Homogenization Seminar Budapest – 24.- 28. October 2011 From 21 years to 101 years As we now know the theoretical function, we quit the explicit check by random data. And skip from unrealistic short time series (n=21) to more realistic (n=101). Again the numerical values of the external variance is known and we can conclude the effective combination numbers. Can we give a formula for in order to derive v(k) ? 2 20 breaks

26 7. Homogenization Seminar Budapest – 24.- 28. October 2011 dv/dk sketch Increasing the break number from k to k+1 has two consequences: 1.The probability function changes. 2.The number combinations increase. Both increase the external variance. k breaks k+1 breaks

27 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Using the Slope P(v) is a complicated function and hard to invert into v(P). Thus, dv is concluded from dP / slope. We just derived P(v) by integrating p(v), so that the slope p(v) is known. k breaks k+1 breaks

28 7. Homogenization Seminar Budapest – 24.- 28. October 2011 The Slope Insert the known functions: The last summand dominates: Reduce and replace m and i:

29 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Distance between the Curves The last summand dominates: Reduce and replace m and i:

30 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Effective combination growth Nominal Growth Rate -2 ln ( (n-1- k) / k) Ln:Logarithmic sketch minus:Number of combinations is reciprocal to Exceeding Probability 2:Exceeding Probability only known for even break numbers (n-1-k) / k However, break combinations are not independent and we know the effective number of combinations

31 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Ratio: nominal / effective k1k2knominaleffectivc=nom/eff 243-2.552-7.7840.328 465-2.186-6.9520.315 687-1.963-6.3560.309 8109-1.765-5.8890.300 101211-1.645-5.5030.299 121413-1.514-5.1730.293 141615-1.435-4.8850.294 161817-1.363-4.6270.295 182019-1.292-4.3940.295 The ratio of nominal / effective is approximatly constant with c = 0.3

32 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Approximative Solution Normalisation for small k * for n = 100

33 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Exact Solution

34 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Constance of Solution 101 years 21 years The solution for the exponent  is constant for different length of time series (21 and 101 years).

35 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Conclusion We have found a general mathematical formulation how the external variance of a random time series is increasing when more and more breaks as given by Dynamical Programming are inserted. This can be used as benchmark to define the optimum number of breaks.

36 7. Homogenization Seminar Budapest – 24.- 28. October 2011

37 Appendix (1) Consider the individual summands of the sum as defined in The factor of change f between a certain summand and its successor is: m and i can be replaced by n and k: inserting k instead of lk is a lower limit for f because (n-1-l k )/l k, the rate of change of the binomial coefficients, is decreasing monotonously with k: where li runs from zero to i. The ratio of consecutive binomial coefficients can be replaced and it follows: normalised by 1/(n-1):

38 7. Homogenization Seminar Budapest – 24.- 28. October 2011 Appendix (2) the approximate solution is known with 1-v = (1- k*) 4 We can conclude that each element of the sum given above is by a factor f larger than the prior element. For small k* the factor f is greater than about 4 and grows to infinity for large k*. Consequently, we can approximate the sum by its last summand according to:


Download ppt "7. Homogenization Seminar Budapest – 24.- 28. October 2011 What is the correct number of break points hidden in a climate record? Ralf Lindau Victor Venema."

Similar presentations


Ads by Google