|
THE CHANGE-POINT INSTABILITY OF CLIMATOLOGICAL TIME-SERIES AS ALTERNATIVE TO RANDOMNESS. THE EXAMPLE OF ANNUAL TEMPERATURE AVERAGES 1908 - 1995 AT CASABLANCA (CUBA).
|
Annex.
If the elements xi of a series of size n are replaced by their ranks Xi, this new series is a permutation of the series of whole numbers Xi = 1, 2,.. , n, and testing randomness comes down to applying the mathematical properties of these numbers. Having for i = 1, 2,.. , n the summations S and means E S i = n(n + 1)/2 -> E(i) = (n + 1)/2 S i2 = n(n + 1)(2n + 1)/6 -> E(i2) = (n + 1)(2n + 1)/6 = (2n2 + 3n +1)/6 S i3 = [n(n + 1)/2]2 -> E(i3) = n[(n + 1)/2)]2. (1) we have thus var Xi = E(i2) - [E(i)]2 = [(n + 1)/2][(2n + 1)/3 - (n + 1)/2] = (n2 - 1)/12. (2) Moreover, for Xi ¹ Xj, the number of pairs (Xi, Xj) being nij = n(n - 1)/2, and having (Xi - Xj)2 = (Xj - Xi)2, (3) we have also E(Xi - Xj) = 0 and var (Xi - Xj) = E(Xi - Xj)2, and the nij values of (Xi - Xj) are the n(n - 1) / 2 values of the sets of numbers (1, 2,.. , i) for i = 1, 2,.. , (n - 1). It follows that Var (Xi - Xj) = S 1,(n-1) i E(i2)/[n(n-1)/2)] = S 1,(n-1) [(2i3 + 3i2 + i)/6]/[n(n-1)/2)] = [2E(i3)) + 3E(i2) + E(i)]/3n = n(n + 1)/6
2. Testing rank randomness in a time series. 2.1 The trend test In the test statistic tn = S 1,n ni, ni is for Xi the number of inequalities Xj < Xi for j < i. For each ni, the equally possible values being 0, 1,.. , (i - 1), we have var ni = (i2 - 1)/12. Moreover, the values ni being independent, we have var tn = S 1,n var ni = {[n(n + 1)(2n + 1)/6] - n }/12 = n[(n + 1)(2n + 1) - 6]/72 = n(2n2 + 3n - 5)/72 = n(n - 1)(2n + 5)/ 72.
2.2 The serial correlation test For the series Xi, with Xi, Xj where i, j = 1, 2,.. , n and Xi ¹ Xj, we have cov (Xi, Xj) = [S 1,n (2Xi2 - (Xi - Xj)2]/2n = var Xi - [S 1,n(Xi - Xj)2]/2n Moreover, cov (Xi, Xj) = 0, implying var Xi = [var (Xi - Xj)]/2, var cov (Xi, Xj) = S 1,n [var (Xi - Xj)2]/2n. With var (Xi - Xj)2 = var [Xi(Xi - Xj) + Xj (Xi - Xj)] we have finally var cov (Xi, Xj) = [var Xi. var (Xi - Xj)]/2n It follows that for the serial correlation r = r (Xi, Xj) = [cov (Xi, Xj)]/ var Xi, we have E[(r) = 0 and var r = [var cov (Xi, Xj)]/[var Xi]2 = 1/(n - 1). |
|