On the asymptotic approximation to the probability distribution of extremal precipitation
^{1}^{1}footnotetext: Faculty of Computational Mathematics and Cybernetics, Lomonosov Moscow State University, Russia; Institute of Informatics Problems, Federal Research Center “Computer Science and Control” of Russian Academy of Sciences, Russia; Hangzhou Dianzi University, China; vkorolev@cs.msu.su^{2}^{2}footnotetext: Institute of Informatics Problems, Federal Research Center “Computer Science and Control” of Russian Academy of Sciences, Russia; agorshenin@frccsc.ruAbstract. Based on the negative binomial model for the duration of wet periods measured in days [2], an asymptotic approximation is proposed for the distribution of the maximum daily precipitation volume within a wet period. This approximation has the form of a scale mixture of the Fréchet distribution with the gamma mixing distribution and coincides with the distribution of a positive power of a random variable having the Snedecor–Fisher distribution. The proof of this result is based on the representation of the negative binomial distribution as a mixed geometric (and hence, mixed Poisson) distribution [7] and limit theorems for extreme order statistics in samples with random sizes having mixed Poisson distributions [22]. Some analytic properties of the obtained limit distribution are described. In particular, it is demonstrated that under certain conditions the limit distribution is mixed exponential and hence, is infinitely divisible. It is shown that under the same conditions the limit distribution can be represented as a scale mixture of stable or Weibull or Pareto or folded normal laws. The corresponding product representations for the limit random variable can be used for its computer simulation. Several methods are proposed for the estimation of the parameters of the distribution of the maximum daily precipitation volume. The results of fitting this distribution to real data are presented illustrating high adequacy of the proposed model. The obtained mixture representations for the limit laws and the corresponding asymptotic approximations provide better insight into the nature of mixed probability (“Bayesian”) models.
Key words: wet period, maximum daily precipitation, negative binomial distribution, asymptotic approximation, extreme order statistic, random sample size, gamma distribution, Fréchet distribution, Snedecor–Fisher distribution, parameter estimation.
1 Introduction
In most papers dealing with the statistical analysis of meteorological data available to the authors, the suggested analytical models for the observed statistical regularities in precipitation are rather ideal and inadequate. For example, it is traditionally assumed that the duration of a wet period (the number of subsequent wet days) follows the geometric distribution (for example, see [1]) although the goodnessoffit of this model is far from being admissible. Perhaps, this prejudice is based on the conventional interpretation of the geometric distribution in terms of the Bernoulli trials as the distribution of the number of subsequent wet days (“successes”) till the first dry day (“failure”). But the framework of Bernoulli trials assumes that the trials are independent whereas a thorough statistical analysis of precipitation data registered in different points demonstrates that the sequence of dry and wet days is not only independent, but it is also devoid of the Markov property so that the framework of Bernoulli trials is absolutely inadequate for analyzing meteorological data.
It turned out that the statistical regularities of the number of subsequent wet days can be very reliably modeled by the negative binomial distribution with the shape parameter less than one. For example, in [2] we analyzed meteorological data registered at two geographic points with very different climate: Potsdam (Brandenburg, Germany) with mild climate influenced by the closeness to the ocean with warm Gulfstream flow and Elista (Kalmykia, Russia) with radically continental climate. The initial data of daily precipitation in Elista and Potsdam are presented on Figures 1a and 1b, respectively. On these figures the horizontal axis is discrete time measured in days. The vertical axis is the daily precipitation volume measured in centimeters. In other words, the height of each “pin” on these figures is the precipitation volume registered at the corresponding day (at the corresponding point on the horizontal axis).
In order to analyze the statistical regularities of the duration of wet periods this data was rearranged as shown on Figures 2a and 2b.
On these figures the horizontal axis is the number of successive wet periods. It should be mentioned that directly before and after each wet period there is at least one dry day, that is, successive wet periods are separated by dry periods. On the vertical axis there lie the durations of wet periods. In other words, the height of each “pin” on these figures is the length of the corresponding wet period measured in days and the corresponding point on the horizontal axis is the number of the wet period.
The samples of durations in both Elista and Potsdam were assumed homogeneous and independent. It was demonstrated that the fluctuations of the numbers of successive wet days with very high confidence fit the negative binomial distribution with shape parameter less than one (also see [3]). Figures 3a and 3b show the histograms constructed from the corresponding samples of duration periods and the fitted negative binomial distribution. In both cases the shape parameter turned out to be less than one. For Elista , , for Potsdam , .
It is worth noting that at the same time the statistical analysis convincingly suggests the Paretotype model for the distribution of daily precipitation volumes, see Figures 4a and 4b. For comparison, on these figures there are also presented the graphs of the best gammadensities which, nevertheless, fit the histograms in a noticeably worse way than the Pareto distributions.
In the same paper a schematic attempt was undertaken to explain this phenomenon by the fact that negative binomial distributions can be represented as mixed Poisson laws with mixing gammadistributions. As is known, the Poisson distribution is the best model for the discrete stochastic chaos [4] by virtue of the universal principle of nondecrease of entropy in closed systems (see, e. g., [5, 6]) and the mixing distribution accumulates the statistical regularities in the influence of stochastic factors that can be assumed exogenous with respect to the local system under consideration.
In the paper [7] this explanation of the adequacy of the negative binomial model was concretized. For this purpose, the concept of a mixed geometric distribution introduced in [8] (also see [9, 10]) was used. In [7] it was demonstrated that any negative binomial distribution with shape parameter no greater than one is a mixed geometric distribution (this result is reproduced below as Theorem 1). Thereby, a “discrete” analog of a theorem due to L. Gleser [11] was proved. Gleser’s theorem establishes that a gamma distribution with shape parameter no greater than one can be represented as a mixed exponential distribution.
The representation of a negative binomial distribution as a mixed geometric law can be interpreted in terms of the Bernoulli trials as follows. First, as a result of some “preliminary” experiment the value of some random variables (r.v:s) taking values in is determined which is then used as the probability of success in the sequence of Bernoulli trials in which the original “unconditional” r.v. with the negative binomial distribution is nothing else than the “conditionally” geometrically distributed r.v. having the sense of the number of trials up to the first failure. This makes it possible to assume that the sequence of wet/dry days is not independent, but is conditionally independent and the random probability of success is determined by some outer stochastic factors. As such, we can consider the seasonality or the type of the cause of a rainy period.
The negative binomial model for the distribution of the duration of wet periods makes it possible to obtain asymptotic approximations for important characteristics of precipitation such as the distribution of the total precipitation volume per wet period and the distribution of the maximum daily precipitation volume within a wet period. The first of these approximations was proposed in [7], where an analog of the law of large numbers for negative binomial random sums was presented stating that the limit distribution for these sums is the gamma distribution.
The construction of the second approximation is the target of the present paper.
The paper is organized as follows. Definitions and notation are introduced in Section 2 which also contains some preliminary results providing some theoretical grounds for the negative binomial model of the probability distribution of the duration of wet periods. Main results are presented and proved in Section 3 where the asymptotic approximation is proposed for the distribution of the maximum daily precipitation volume within a wet period. Some analytic properties of the obtained limit distribution are described. In particular, it is demonstrated that under certain conditions the limit distribution is mixed exponential and hence, is infinitely divisible. It is shown that under the same conditions the limit distribution can be represented as a scale mixture of stable or Weibull or Pareto or folded normal laws. The corresponding product representations for the limit random variable can be used for its computer simulation. Several methods for the statistical estimation of the parameters of this distribution are proposed in Section 4. Section 5 contains the results of fitting the distribution proposed in Section 3 to real data by the methods described in Section 4.
2 Preliminaries
Although the main objects of our interest are the probability distributions, for convenience and brevity in what follows we will expound our results in terms of r.v:s with the corresponding distributions assuming that all the r.v:s under consideration are defined on one and the same probability space .
In the paper, conventional notation is used. The symbols and denote the coincidence of distributions and convergence in distribution, respectively. The integer and fractional parts of a number will be respectively denoted and .
A r.v. having the gamma distribution with shape parameter and scale parameter will be denoted ,
where is Euler’s gammafunction, , .
In these notation, obviously, is a r.v. with the standard exponential distribution: (here and in what follows is the indicator function of a set ).
The gamma distribution is a particular representative of the class of generalized gamma distributions (GGdistributions), which were first described in [12] as a special family of lifetime distributions containing both gamma distributions and Weibull distributions. A GGdistribution is the absolutely continuous distribution defined by the density
with , , .
The properties of GGdistributions are described in [12, 13]. A r.v. with the density will be denoted . It can be easily made sure that
(1) 
For a r.v. with the Weibull distribution, a particular case of GGdistributions corresponding to the density and the distribution function (d.f.) , we will use a special notation . Thus, . It is easy to see that
(2) 
A r.v. with the standard normal d.f. will be denoted ,
The distribution of the r.v. , i. e. , , is called halfnormal or folded normal.
The d.f. and the density of a strictly stable distribution with the characteristic exponent and shape parameter defined by the characteristic function (ch.f.)
wheter , , will be respectively denoted and (see, e. g., [14]). A r.v. with the d.f. will be denoted .
To symmetric strictly stable distributions there correspond the value and the ch.f. , . To onesided strictly stable distributions concentrated on the nonnegative halfline there correspond the values and . The pairs , correspond to the distributions degenerate in , respectively. All the rest strictly stable distributions are absolutely continuous. Stable densities cannot be explicitly represented via elementary functions with four exceptions: the normal distribution (, ), the Cauchy distribution (, ), the Lévy distribution (, ) and the distribution symmetric to the Lévy law (, ).
It is well known that if , then for any , but the moments of the r.v. of orders do not exist (see, e. g., [14]). Despite the absence of explicit expressions for the densities of stable distributions in terms of elementary functions, it can be shown [16] that
(3) 
for .
In [17, 18, 19] it was proved that if and the i.i.d. r.v:s and have the same strictly stable distribution, then the density of the r.v. has the form
(4) 
A r.v. is said to have the negative binomial distribution with parameters (“shape”) and (“success probability”), if
A particular case of the negative binomial distribution corresponding to the value is the geometric distribution. Let and let be the r.v. having the geometric distribution with parameter :
This means that for any
Let be a r.v. taking values in the interval . Moreover, let for all the r.v. and the geometrically distributed r.v. be independent. Let , that is, for any . The distribution
of the r.v. will be called mixed geometric [8].
It is well known that the negative binomial distribution is a mixed Poisson distribution with the gamma mixing distribution [20] (also see [6]): for any , and we have
(5) 
where .
Based on representation (5), in [7] it was proved that any negative binomial distribution with the shape parameter no greater than one is a mixed geometric distribution. Namely, the following statement was proved that gives an analytic explanation of the validity of the negative binomial model for the duration of wet periods measured in days (see the Introduction).
Theorem 1 [7]. The negative binomial distribution with parameters and is a mixed geometric distribution for any
where and the probability densities and have the forms
Furthermore, if and are independent gammadistributed r.v:s, , , then the density corresponds to the r.v.
(6) 
and the density corresponds to the r.v.
Let , , be the standard Poisson process (homogeneous Poisson process with unit intensity). Then distribution (5) corresponds to the r.v. , where the r.v. is independent of the process .
3 The probability distribution of extremal precipitation
In this section we will deduce the probability distribution of extremal daily precipitation within a wet period.
Let , , , , . It is easy to make sure that
(7) 
as .
Lemma 1. Let be a sequence of positive r.vs such that for any the r.v. is independent of the Poisson process , . The convergence
as to some nonnegative r.v. takes place if and only if
(8) 
as .
Consider a sequence of independent identically distributed (i.i.d.) r.v:s . Let be a sequence of naturalvalued r.v:s such that for each the r.v. is independent of the sequence . Denote .
Let be a d.f., . Denote , .
Lemma 2. Let be a sequence of positive r.vs such that for each the r.v. is independent of the Poisson process , . Let . Assume that there exists a nonnegative r.v. such that convergence (8) takes place. Let be i.i.d. r.vs with a common d.f. . Assume also that and there exists a number such that for each
(9) 
Then
Proof. This statement is a particular case of Theorem 3.1 in [22].
Theorem 2. Let , , and let be a r.v. with the negative binomial distribution with parameters and . Let be i.i.d. r.vs with a common d.f. . Assume that and there exists a number such that relation (9) holds for any . Then
where
Proof. From (5) it follows that . Therefore, from (7), Lemma 1 with and Lemma 2 with the account of the absolute continuity of the limit distribution it immediately follows that
By elementary calculation it can be made sure that
The theorem is proved.
It is worth noting that the limit distribution with the powertype decrease of the tail was obtained in Theorem 2 as a scale mixture of the Fréchet distribution (the type II extreme value distribution) in which the mixing law is the gamma distribution.
Since the Fréchet d.f. with corresponds to the r.v. , it is easy to make sure that the d.f. corresponds to the r.v. , where the multipliers on the righthand side are independent. From (1) and (2) it follows that
(10) 
where in each term the multipliers are independent. Consider the r.v. in (10) in more detail. We have
where is the r.v. having the Snedecor–Fisher distribution with parameters (‘degrees of freedom’) defined by the Lebesgue density
(see, e. g., [15], Section 27).
So,
(11) 
and the statement of theorem 2 can be reformulated as
(12) 
The density of the limit distribution of the extreme daily precipitation within a wet period has the form
(13) 
It is easy to see that as . Therefore only if . Moreover, from (12) it is possible to deduce explicit expressions for the moments of the r.v. .
Theorem 3. Let . Then
Proof. From (12) it follows that
(14) 
It is easy to verify that
(15) 
Hence follows the desired result.
To analyze the properties of the limit distribution in theorem 2 more thoroughly we will require some additional auxiliary results.
Lemma 4 [7]. Let , , . Then
where the r.v. was defined in (6) and all the involved r.vs are independent.
Theorem 4. Let , , . Then the following product representations are valid
(16) 
(17) 
where , , the r.v. has the density (4), the r.v. has the Pareto distribution , , and in each term the involved r.vs are independent.
Proof. Relation (16) follows from (12) and Lemma 3, relation (17) follows from (12) and Lemma 4 with the account of the representation , the proof of which can be found in, say, [16].
With the account of the relation , from (17) we obtain the following statement.
Corollary 1. Let , , . Then the d.f. is mixed exponential
where
and all the involved r.vs are independent.
Remark 1. It is worth noting that the mixing distribution in Corollary 1 is mixed exponential itself.
Corollary 2. Let , , . Then the d.f. is infinitely divisible.
Proof. This statement immediately follows from Corollary 1 and the result of Goldie [23] stating that the product of two independent nonnegative random variables is infinitely divisible, if one of the two is exponentially distributed.
Theorem 3 states that the limit distribution in Theorem 2 can be represented as a scale mixture of exponential or stable or Weibull or Pareto or folded normal laws. The corresponding product representations for the r.v. can be used for its computer simulation.
In practice, the asymptotic approximation for the distribution of the extreme daily precipitation within a wet period proposed by Theorem 2 is adequate, if the “success probability” is small enough, that is, if on the average the wet periods are long enough.
4 Estimation of the parameters , and
From (13) it can be seen that the realization of the maximum likelihood method for the estimation of the parameters , and inevitably assumes the necessity of numerical solution of a system of transcendental equations by iterative procedures without any guarantee that the resulting maximum is global. The closeness of the initial approximation to the true maximum likelihood point in the threedimensional parameter set might give a hope that the terminal extreme point found by the numerical algorithm is global.
For rough estimation of the parameters, the following considerably simpler method can be used. The resulting rough estimates can be used as a starting point for the ‘full’ maximum likelihood algorithm mentioned above in order to ensure the closeness of the initial approximation to the true solution. The rough method is based on that the quantiles of the d.f. can be written out explicitly. Namely, the quantile of the d.f. of order , that is, the solution of the equation with respect to , obviously has the form
Let at our disposal there be observations , , , where is the number of a wet period (the number of a sequence of rainy days), is the number of a day in the wet sequence, is the length of the th wet sequence (the number of rainy days in the th wet period), is the total number of wet sequences, is the precipitation volume on the th day of the th wet sequence. Construct the sample as
(18) 
Let be order statistics constructed from the sample . Since we have three unknown parameters , and , fix three numbers and construct the system of equations
(here the symbol denotes the integer part of a number ).
This system can be solved by standard techniques. For example, first, the number can be found numerically as the solution of the equation
where
Having obtained the value of , one can then find the values of and explicitly:
(19) 
(20) 
As , and one may take, say, , . Or it is possible to fix a , set , , and choose a that provides the best fit of the estimated model d.f. with the empirical d.f.
If the parameter is known (for example, it is estimated beforehand while solving the problem of fitting the negative binomial distribution to the empirical data on the lengths of wet periods), then the parameters and can be estimated directly by formulas (19) and (20).
With known , the more accurate estimates of the parameters and can be also found by minimizing the discrepancy between the empirical and model d.f:s by the least squares techniques. Namely, from the Glivenko theorem it follows that
(21) 
As this is so, for every the following implications take place:
Therefore the estimates and of the parameters and can be found as the solution of the least squares problem
where
This solution can be written out explicitly so that finally we have
(22) 
(23) 
5 The statistical analysis of real data
In this section we present the results of statistical estimation of the distribution of extremal daily precipitation within a wet period by the methods described in the preceding section. As the data, we use the observations of daily precipitation in Potsdam and Elista from to .
First of all, notice that the Pareto distribution of daily precipitation volumes (see Figure 4) satisfies condition (9). Therefore, the asymptotic approximation provided by Theorem 2 can be applied to the statistical analysis of the real data.
The parameter is assumed known and its value coincides with that of the negative binomial distribution (see the Introduction): for Potsdam and for Elista. Figures 5 and 6 illustrate the approximation of the empirical d.f. by the model d.f. with and estimated by the ‘rough’ formulas (19) and (20) as well as by the least squares formulas (22) and (23). To illustrate the asymptotic character of the approximation we consider a sort of censoring in which the censoring threshold is the minimum length of the wet periods which varies from 1 day (full sample) to 15 days.
For each censoring threshold the sample is formed according to the rule (18).
For each value of the threshold on the upper graph there are

the empirical d.f. (dotdash line);
On the lower graph there is the discrepancy (the uniform distance) between the empirical d.f. and the fitted model d.f. The types of lines correspond to those on the upper graph.
First of all, from Figures 5 and 6 it is seen that the asymptotic model provides very good approximation to the real statistical regularities in the behavior of extremal daily precipitation within a wet period. As this is so, the least squares formulas (22) and (23) yield more accurate estimates for the parameters of the model d.f.
It should be also noted that these figures illustrate the dependence of the accuracy of the approximation on the censoring threshold and the censored sample size. The approximation is satisfactory even if the censoring threshold is greater or equal to three and the censored sample size is grater than 150. As this is so, the influence of the threshold on the accuracy is more noticeable than that of the sample size.
Acknowledgements
The research was partly supported by the RAS Presidium Program No. I.33P (project 006320160015) and by the Russian Foundation for Basic Research (projects 150704040 and 170700851).
References
 [1] Zolina O., Simmer C., Belyaev K., Gulev S., Koltermann P. Changes in the duration of European wet and dry spells during the last 60 years // Journal of Climate, 2013. Vol. 26. P. 2022–2047.
 [2] Korolev V. Yu., Gorshenin A. K., Gulev S. K., Belyaev K. P., Grusho A. A. Statistical Analysis of Precipitation Events // AIP Conference Proceedings, 2017. Also available on arXiv:1705.11055 [math.PR]
 [3] Gorhenin A. K. On some mathematical and program methods for the construction of structure models of information flows // Informatics and Its Applications, 2017. Vol. 11. No. 1. P. 58–68.
 [4] Kingman J. F. C. Poisson processes. – Oxford: Clarendon Press, 1993.
 [5] Gnedenko B. V., Korolev V. Yu. Random Summation: Limit Theorems and Applications. – Boca Raton: CRC Press, 1996.
 [6] Korolev V. Yu., Bening V. E., Shorgin S. Ya. Mathematical Foundations of Risk Theory. 2nd Edition. – Moscow: FIZMATLIT, 2011.
 [7] Korolev V. Yu. Analogs of the Gleser theorem for negative binomial and generalized gamma distributions and some their applications // Informatics and Its Applications, 2017. Vol. 11. No. 3.
 [8] Korolev V. Yu. Limit distributions for doubly stochastically rarefied renewal processes and their properties // Theory Probab. Appl., 2016. Vol. 61. No. 4. P. 753–773.
 [9] Korolev V. Yu., Korchagin A. Yu., Zeifman A. I. Poisson theorem for the scheme of Bernoulli trials with random probability of success and a discrete analog of the Weibull distribution // Informatics and Its Applications, 2016. Vol. 10. No. 4. P. 11–20.
 [10] Korolev V. Yu., Korchagin A. Yu., Zeifman A. I. On doubly stochastic rarefaction of renewal processes // AIP Conference Proceedings, 2017.
 [11] Gleser L. J. The gamma distribution as a mixture of exponential distributions // American Statistician, 1989. Vol. 43. P. 115–117.
 [12] Stacy E. W. A generalization of the gamma distribution // Annals of Mathematical Statistics, 1962. Vol. 33. P. 1187–1192.
 [13] Zaks L. M., Korolev V. Yu. Generalized variance gamma distributions as limit laws for random sums // Informatics and Its Applications, 2013. Vol. 7. No. 1. P. 105–115.
 [14] Zolotarev V. M. OneDimensional Stable Distributions. – Providence, R.I.: American Mathematical Society, 1986.
 [15] Johnson, N. L., Kotz S., Balakrishnan N. Continuous Univariate Distributions, Vol. 2 (2nd Edition). – New York: Wiley, 1995.
 [16] Korolev V. Yu. Product representations for random variables with the Weibull distributions and their applications // Journal of Mathematical Sciences, 2016. Vol. 218. No. 3. P. 298–313.
 [17] Kotz S., Ostrovskii I. V. A mixture representation of the Linnik distribution // Statistics and Probability Letters, 1996. Vol. 26. P. 61–64.
 [18] Korolev V. Yu., Zeifman A. I. A note on mixture representations for the Linnik and MittagLeffler distributions and their applications // Journal of Mathematical Sciences, 2017. Vol. 218. No. 3. P. 314–327.
 [19] Korolev V. Yu., Zeifman A. I. Convergence of statistics constructed from samples with random sizes to the Linnik and MittagLeffler distributions and their generalizations // Journal of Korean Statistical Society. Available online 25 July 2016. Also available on arXiv:1602.02480v1 [math.PR].
 [20] Greenwood M., Yule G. U. An inquiry into the nature of frequencydistributions of multiple happenings, etc. // J. Roy. Statist. Soc., 1920. Vol. 83. P. 255–279.
 [21] Korolev V. Yu. On convergence of distributions of compound Cox processes to stable laws // Theory of Probability and its Applications, 1999. Vol. 43. Vol. 4. P. 644–650.
 [22] Korolev V. Yu., Sokolov I. A. Mathematical Models of Inhomogeneous Flows of Extremal Events. – Moscow: TorusPress, 2008.
 [23] Goldie C. M. A class of infinitely divisible distributions // Math. Proc. Cambridge Philos. Soc., 1967. Vol. 63. P. 11411143.