Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Comparing Simultaneous and Pointwise Confidence Intervals for Hydrological Processes

  • Mario Francisco-Fernández ,

    Contributed equally to this work with: Mario Francisco-Fernández, Alejandro Quintela-del-Río

    mariofr@udc.es

    Affiliation Department of Mathematics, Faculty of Computer Science, Universidade da Coruña, Campus de Elviña, s/n, A Coruña 15071, Spain

  • Alejandro Quintela-del-Río

    Contributed equally to this work with: Mario Francisco-Fernández, Alejandro Quintela-del-Río

    Affiliation Department of Mathematics, Faculty of Computer Science, Universidade da Coruña, Campus de Elviña, s/n, A Coruña 15071, Spain

Abstract

Distribution function estimation of the random variable of river flow is an important problem in hydrology. This issue is directly related to quantile estimation, and consequently to return level prediction. The estimation process can be complemented with the construction of confidence intervals (CIs) to perform a probabilistic assessment of the different variables and/or estimated functions. In this work, several methods for constructing CIs using bootstrap techniques, and parametric and nonparametric procedures in the estimation process are studied and compared. In the case that the target is the joint estimation of a vector of values, some new corrections to obtain joint coverage probabilities closer to the corresponding nominal values are also presented. A comprehensive simulation study compares the different approaches, and the application of the different procedures to real data sets from four rivers in the United States and one in Spain complete the paper.

Introduction

Studies about river flows or, in general, hydrological processes are based on available records. Many times, the amount, accuracy and representativeness of the records are not enough to achieve an adequate reliability in results. Usually, there is a considerable uncertainty in measuring extreme values. In order to increase the accuracy of the estimates, several procedures of flood frequency analysis employing all the geographical and hydrological information available in the region of interest have been proposed. Some of the most handled methods are based in the estimation of quantiles. A p-quantile xp of a random variable X is defined as the value which is exceeded with probability p, that is P(X > xp) = p [1]. In a hydrological context, this quantity may correspond to design values of environmental loads (waves, snow), river discharges and flood levels. Quantile and return level notions are closely related. If the variable X measures the river flow, the return level for a given period T is the quantile xT with probability 1/T [2]. Formal definitions of the return level and return period concepts are given in the following section.

Quantile estimation is a valuable issue in decision making in water-related models. It appears naturally as a secondary factor in the estimation problem of F, the cumulative distribution function (CDF) of the variable X. Usually, given a data set, the CDF is fitted assuming that this function belongs to a known parametric family. Then, the corresponding unknown parameters have to be estimated [3]. This parametric scheme has been widely investigated in the specialized literature and, in recent years, efforts have been made in developing more accurate and robust estimation techniques [4]. Note that to apply these parametric approaches, a statistical model for the variable under study has to be assumed, which can represent an important drawback of this methodology if model assumptions are violated. On the other hand, nonparametric techniques have been employed to deal with hydrological problems in the last decades. Nonparametric estimation uses the information provided by the recorded data to construct directly estimators of the functions of interest, supposing only general assumptions about the random variable in study. These kind of proposals are normally well adapted to the more irregular shapes found in practice for hydrological variables. Applications of the CDF estimation in this setting are presented, for instance, in [1, 5, 6] and [7].

In both cases (parametric and nonparametric estimation), the evaluation of the estimator variations can be made by computing an assessment of their uncertainty. Some significant research on uncertainty analysis in a hydrological context has been performed in, for example, [8, 9], and references therein. In the present research, we are mainly interested in the study of the statistical uncertainty related with the prediction of statistical measures of interest (quantiles) of certain random variables [10]. This can be carried out calculating confidence intervals (CIs) for these quantiles or return levels. The proper estimation of these CIs provides hydrology experts with a robust tool in the risk evaluation and management strategies. Return level overestimation clearly supposes an increase of the costs related with monitoring and life protection. On the contrary, underestimation of return leves could lead to increase damages and associated costs, with the consequent losses for insurance companies. CI estimation for quantiles was previously considered in, among others, [6, 1013]. Other types of uncertainty include the randomness of the natural process or the uncertainty depending on the choice of a particular model [10] and are excluded from this study.

In hydrology, CIs are usually computed for given quantiles corresponding to fixed return levels. Given a high confidence level (95%, for instance), each one of these CIs will contain the corresponding unknown quantile with a high probability (0.95, for example). In other words, a single 0.95-CI for each one of the quantities of interest is computed and, in this sense, they are called pointwise CIs. However, if the target is the estimation of a vector of values (such as the CDF or the return level function evaluated in a grid of points, for instance), more accurate than computing the corresponding pointwise CIs for each one of the quantities of interest is to construct simultaneous CIs (also called a confidence band). Simultaneous CIs are a group of CIs (a CI for each one of the quantities of interest) designed to jointly contain this vector of unknown values with a prescribed high probability (95%, for instance). In this way, it would be possible to make a joint probabilistic assessment for some quantiles of the corresponding CDF. Because simultaneous CIs include information on model reliability, they are are much more informative than pointwise CIs [14].

Different techniques have been proposed to produce CIs. In a parametric framework and assuming a certain distribution for the variable under study, exact or approximate CIs could be constructed, using maximum likelihood theory or the maximum product of spacings method (proposed in [15]). Nevertheless, in some practical situations, these approximations can be quite inaccurate (some numerical examples of this issue can be found in, for example, [1618]), or it could be necessary to employ theoretical calculations and manipulation of complicated forms of estimators. Moreover, in a nonparametric setting, these approaches cannot be applied and it is necessary to use other proposals. The present research focuses on the use of bootstrap methods to construct CIs. These techniques allow to overcome some of these problems. In general, bootstrap [16] is a resampling technique that attempts to estimate the sampling distribution of a population, and to determine the accuracy of statistics, by drawing new samples from the original data. Depending on the resampling process used, the method is called nonparametric bootstrap, when the new samples are obtained with replacement from the original data, or parametric bootstrap, when they are randomly generated from a parametric model (distribution) fitted to the data. Under certain probabilistic condition (readers are referred to the first chapter of [19], where the theoretical conditions required for this method to work are briefly described), bootstrap methods can produce more accurate and reliable results than the traditional methods based on asymptotic approximations (using central limit theorems, for instance). This is specially true in situations when the distribution of the variables under study are unknown and the distribution of these variables is far from normality [20]. Nowadays, as a computer-aided statistical technique, bootstrap is largely used in many fields of applied statistics such as medicine, biostatistics, or hydrology [2123].

Different approaches producing good approximate bootstrap CIs have been proposed. These include, among others, standard normal bootstrap CIs, percentile bootstrap CIs, basic bootstrap CIs, bootstrap-t CIs or corrections of the previous methods using, for example, the Bias Corrected and accelerated (BCa) technique [17, 24]. Some of these procedures to construct CIs have been used to compare parametric and nonparametric bootstrap approaches for extreme value distributions in [12, 13]. The main conclusions of these papers is that the differences among the different types of bootstrap CIs (percentile, bootstrap-t and BCa) are usually smaller than those between the parametric and nonparametric versions of bootstrap. Furthermore, in [12, 13], it is also concluded that parametric bootstrap should be preferred for small to moderate sample sizes, and when a suitable distribution for the data is known or can be assumed.

When the estimation target is a function, to construct a 1 − α simultaneous CI, that is, a confidence band containing the whole curve with a prescribed probability of 1 − α, one can think of computing the 1 − α pointwise CIs in a grid of selected points using one of the previous techniques, and considering this set of CIs as the confidence band. It is clear that the probability that the whole curve is inside this band is smaller than the desired 1 − α. Some approximations have been proposed to address this problem, for example, the well-known Bonferroni correction [25]. In this research, simultaneous CIs constructed applying the Bonferroni method, and also using a correction of this approach trying to solve the well-known conservative feature of the Bonferroni technique are compared with synthetic data.

In the current paper, a comprehensive simulation study comparing different pointwise and simultaneous bootstrap CIs of the return level function and the CDF, mainly focusing on estimations obtained in large quantiles, are presented. As stated previously, the estimation of these values is a very interesting issue in hydrology. In the present research, nonparametric bootstrap methods are used in the resampling process, and parametric and nonparametric approaches are employed to estimate the functions of interest. This allows, on the one hand, comparing both estimation methodologies in this framework and, on the other hand, observing the influence of using pointwise or simultaneous CIs when the estimation target are the return levels and the CDF evaluated in large quantiles. The study is completed with the application of the bootstrap approaches to real flow data from US rivers previously used in [10], and to a data set from a Spanish river (Ebro river).

Statistical methods

Statistical functions

In hydrological applications, CDF estimation is considered an important problem due to the existence of relevant functions of interest directly related to it. One of these functions is the probability of exceedance. It gives, for a value x, the probability of occurrence of a flow larger than x. This information is quite significant in this framework. If X is the variable measuring the flow, the function returning the probabilities of exceedance is simply defined as (1) with F the CDF of X. The return period or recurrence interval is directly associated with it. It is defined as the mean time interval between exceedances of a specific value x. This is important particularly when one is dealing with extreme events such as floods, droughts, and wind speeds. A formal definition of this concept, under some assumptions, is given, for example, in [26]. If Xi represents the flood in year i, with i = 1, 2, 3, …, and assuming that these variables are independent and identically distributed, the probability that the time interval between exceedances of a flood of magnitude x equals n, n = 1, 2, …, corresponds to the probability function of a geometric distribution, given by: Therefore, the return period, defined as the mean of , is given by: (2)

In many practical problems, it is useful to estimate quantiles corresponding to certain values of the probability of exceedance. The Treturn level is defined as the value that can be expected to be once exceeded during a T –period of time, that is (3)

Parametric estimation

A first approximation to estimate F consists in using a parametric methodology. If the empirical distribution function of a sample of data suggests that F may belong to a specific parametric family (Gaussian, Gamma, etc.), depending on a vector of parameters θ, one just has to estimate the unknown values of that vector of parameters to obtain a parametric estimator of the CDF. Denoting by an estimator of θ obtained from a sample data (X1, X2, …, Xn), an estimator of F, denoted by , is immediately derived. Obviously, from , parametric estimators of the functions given in Eqs (1), (2) and (3) are also easily constructed: (4)

In this parametric context, if the variable X with distribution function F represents the maximum value of a quantity of interest measured in a specific period of time, classical extreme value theory uses the idea that, under certain regularity conditions [27], the limit of the distribution of F is the GEV distribution function. This function is considered to correspond to one of the following three families, (5) with θ = (μ, σ, γ). Here, μ is the location parameter, σ > 0 is the scale parameter, and γ is the shape parameter. The case of γ = 0 is named the Gumbel distribution.

Nonparametric estimation

Parametric modeling traditionally used in hydrological processes, however, does not always provide good results. An initial hypothesis on the parametric model for the variable of an unknown function has to be assumed when using this type of approaches. Goodness-of-fit tests can be applied to check the validity of these models. However, violated assumptions of the parametric model or an incorrect estimation of its parameters may lead to a poor performance of the corresponding estimators. Additionally, anomalous events can lead to wrong results in these goodness-of-fit tests. Therefore, a nonparametric approximation can be useful in such situations. This methodology avoids the specification of a particular model to work with (such as the normal distribution, or a linear relation), and it is a valid alternative to the classical parametric techniques [28, 29]. Regarding the CDF, F, given a sample data (X1, …, Xn), the well-known kernel CDF estimator [1] is defined at any point x of the domain of F as: (6) where h is the bandwidth or smoothing parameter, and with K a kernel function, usually a density function or a smooth function with some regularity conditions [29]. Based on definition (6), estimators of the functions given in Eqs (1), (2) and (3) can be also derived, substituting by in Eq (4).

Although the choice of the kernel function is of secondary importance, the smoothing parameter h plays a crucial role in the kernel estimator Eq (6). Small values for h make a highly variable estimator while big values produce a very smooth one [6]. Therefore, it is very important to use automatic bandwidth selection methods producing reliable estimators.

In the nonparametric distribution estimation framework, only plug-in and cross-validation approaches have been considered to select the bandwidth. In general, they have shown a good performance from a theoretical and practical point of view. Two different plug-in methods, developed by [30] and [31], can be cited. Cross-validation techniques have been investigated by [32], obtaining good experiences in practice. It can also be seen in [33] and references therein that, in distribution function estimation, similar results can be obtained in practice with both cross-validation and plug-in bandwidths. However, cross-validation has a clear drawback in terms of computing time. The cross-validation algorithm is an O(n2) in terms of asymptotic time complexity, while the plug-in method is only O(n); n being the sample size (see also [6], for more insight in bandwidth selection in distribution function estimation in hydrology). This concern is increased in the comparisons based on simulations, where the whole number of calculations are repeated a large number of times. Therefore, given that both bandwidth selection procedures (cross-validation and plug-in methods) seem to provide similar results in this framework, it is preferred to use the plug-in method of [31] in these experiments. Note that this plug-in approach has employed previously in related works, with good results [34]. In the recent paper of [33], the interested reader can find more theoretical details and an extended discussion on these two bandwidth selection methods for the nonparametric distribution function. Additionally, a free package, named Kerdiest, using the R software regarding these procedures was also developed.

The previous bandwidth selection methods provide global smoothing parameters. However, in situations with observations coming from a long-tailed density, a possibility to improve the behavior of nonparametric kernel estimators is to consider local bandwidths instead of a global smoothing parameter. There are several approaches to deal with this problem. In the nonparametric kernel density estimation framework, a solution is to use the so-called adaptive kernel estimator. The idea of this procedure is to combine features of the kernel and the nearest neighbor methods. It consists of constructing a kernel estimate with “bumps” or kernels located at the observed data points, but with different bandwidths from one point to another [35]. Some other authors have addressed the problem of estimating return levels or return periods for extremely large events using nonparametric estimators of these quantities with local bandwidths. For example, in a hydrological context, [36] or [1] discussed the use of variable or local bandwidths to address the extrapolation problem. A well-known drawback of the estimators using this kind of bandwidths is the possible increase of its variance, leading to similar mean squared errors to those obtained with global proposals. Additionally, local or adaptive bandwidth selection approaches add an extra computing time to the whole process and, for this reason, it was preferred not to use data-adaptive smoothing parameters in the present research. However, a deeper study of this issue could be carried out in a future research.

Confidence intervals

In the previous section, different parametric and nonparametric estimators of some functions of interest in this framework were described. As pointed out, the CDF of the variable under study can be considered the key function for the rest of them, and it is reasonable to think that the properties of the CDF estimates can be extended to other functional estimates (exceedance, return levels, etc.). For this reason, the CDF is the main interest of this analysis. However, results concerning the return level function have also been obtained. The procedure to construct the CIs is basically the same for the CDF and the return level function. Hence, just the process for the CDF, F, is described. A similar analysis was carried out for the return levels given in Eq (3).

Given a point x0 of the F domain, denotes a general parametric or nonparametric estimator of F(x0). In many situations, a point estimate does not provide enough information about a value of interest (F(x0), in this case). A single number may not be as meaningful as an interval within which it would expected to find the value of this variable. As it is well-known, a (1 − α)-CI is a random interval, (L, U), containing the parameter of interest with a (high) probability 1 − α. For a specific sample realization (x1, …, xn), a numeric interval (l, u) is obtained, called a 100(1 − α)% CI, in the sense that drawing infinity samples and constructing the corresponding numeric intervals, the 100(1 − α)% of such intervals will contain the unknown parameter.

Among the different existing methods to compute CIs, several bootstrap approaches were employed in the present research. This resampling technique allows to obtain good approximate CIs in a relatively simple way. Next, the proposals used in this research are briefly described. In a first stage, pointwise bootstrap CIs for F(x0) are presented. Then, the issue of constructing simultaneous CIs is addressed, considering two algorithms trying to correct the possible bad performance when the previous pointwise methods are applied to obtain confidence bands.

Pointwise confidence intervals.

In this Section, the approaches compared in this analysis, providing the (1 − α) pointwise bootstrap CIs for F(x0) are briefly described. In a practical situation, small values of α (α = 0.01 or 0.05, for instance) are usually employed. Readers are referred to [24] and [20] for theoretical properties and discussion of empirical performance of these methods.

  1. The standard normal bootstrap CI. This is the simplest approach, but not necessarily the best. Suppose that is a parametric or nonparametric estimator of F(x0), and assume the standard error of the estimator is . Using the Central Limit Theorem and assuming that is an unbiased estimator of F(x0), an approximate (1 − α)-CI for F(x0) is where zα/2 = Φ−1(1 − α/2), with Φ(⋅) the standard Gaussian CDF. This interval is easy to compute, but there are several assumptions. In a practical situation is estimated using a bootstrap estimator of the standard error of . Drawing B bootstrap resamples, , j = 1, 2, …, B, from the original sample, X1, X2, …, Xn, and computing the bootstrap (parametric or nonparametric) estimators, , j = 1, 2, …, B, then is estimated by the standard deviation of the replicates, i.e., by: where .
  2. The percentile bootstrap CI. Given an initial confidence level, 1 − α, and a point of the CDF domain, x0, we start by approximating the sampling distribution of . This is done using its bootstrap distribution, from which it is easy to obtain a pointwise (1 − α)-CI, estimating the corresponding quantiles. The process is the following:
    1. Draw B bootstrap resamples, , j = 1, 2, …, B, from the original sample, X1, X2, …, Xn.
    2. Compute the bootstrap (parametric or nonparametric) estimators, , j = 1, 2, …, B, using the bootstrap resamples.
    3. Now, the and quantiles of the bootstrap distribution are computed: and (where ⌈x⌉ denotes the integer part of x).
    4. The final (1 − α) (percentile) bootstrap CI for F(x0) is
  3. The basic bootstrap CI. The basic bootstrap CI transforms the distribution of the replicates by subtracting the observed statistic. The quantiles of the transformed sample are used to determine the confidence limits. The algorithm is the following:
    1. Obtain a bootstrap sample, , from the original sample, X1, X2, …, Xn.
    2. With this bootstrap sample, compute an approximate bootstrap version of , using (7) where is a pilot (parametric or nonparametric) estimator of F(x0).
    3. Repeat steps 1 and 2 a large number of times B. Therefore, after this step, B values of the bootstrap distribution are avaliable.
    4. Compute the and quantiles of the bootstrap distribution: and , and the corresponding percentile CI for :
    5. The final bootstrap confidence interval for F(x0) is or, considering the expression Eq (7), equivalently, where and are the corresponding and quantiles of the bootstrap distribution .
  4. The Bias Corrected and accelerated (BCa) CI. Some modifications of the previous methods have been proposed to get CIs with better theoretical properties and better performance in practice. The BCa approach is one of these techniques. The CIs constructed with this procedure are a modified version of the percentile CIs. They are second-order accurate and transforming respecting.
    Drawing B bootstrap resamples, , j = 1, 2, …, B, from the original sample, X1, X2, …, Xn, and computing the bootstrap (parametric or nonparametric) estimators , j = 1, 2, …, B, the (1 − α) BCa CI is where and with zα = Φ−1(α), and and estimators of the bias correction and the acceleration adjustment, respectively. The bias correction factor is in effect measuring the median bias of the replicates for . It is estimated by: where I(⋅) is the indicator function. Note that if is the median of the bootstrap replicates. The acceleration constant refers to the rate of change of the standard error of with respect to the actual value of the CDF. It can be estimated in various ways [20], for instance, from the equation where denotes the i-th jackknife nonparametric estimate of the CDF, and is the arithmetic mean of all jackknife estimates.

Simultaneous confidence intervals.

In the previous section, different bootstrap approaches to construct CIs for the CDF, F, evaluated in a specific point, x0, were described. However, in many cases, the target is not the estimation of the single value F(x0), but the estimation of the CDF, F. In these cases, the development of reliable methods to construct simultaneous CIs, i.e., confidence bands, are of great interest. A first approximation to construct a 1 − α confidence band could be simply computing the 1 − α pointwise CIs in a grid of k selected points using one of the previous techniques, and considering this set of pointwise CIs as the corresponding band. No matter the method used to produce the individuals pointwise CIs, the band obtained with this procedure can be named as uncorrected, because although individual confidence intervals have approximately the nominal coverage probability (1 − α) when they are considered separately (for a particular grid point), the probability that the whole curve is included in the band depicted by the whole set of intervals is much smaller. This is known as the multiple range testing problem [37] or the false discovery rate in high dimensional statistical problems [38].

A classical way to correct for multiple testing and to get multiple level which is much closer to the desired α is the popular Bonferroni approach [25]. In a hypothesis testing context, the idea behind this approach, when k hypotheses are simultaneously tested, is to consider a new significance level, αBonf = α/k, and compute k individual tests using this new level. The resulting multiple test has a multiple level which is much closer to the desired α. Obviously, once the Bonferroni significance level is calculated, the corresponding CIs could be obtained using any of the methods described in the previous section. For simplicity, just the basic and the BCa techniques are used in the experiments. In general, no matter the method used, the generic term Bonferroni band is used here.

However, the Bonferroni approach is usually a conservative procedure. In this context, this means that the joint coverage probability of the confidence band would be larger than the desired 1 − α. Trying to solve this problem, an iterative method is proposed. Starting from the conservative Bonferroni approach and the anticonservative individual testing approach (only the basic method are used in these experiments), the following algorithm finds an approximate (1 − α)-confidence interval, with a given approximation error δ (typically δ is small in comparison with the nominal α, for instance ):

  1. Fix and . Fix the iteration number, i = 0.
  2. Compute .
  3. Use the bootstrap resamples to compute individual confidence intervals with , and confidence levels.
  4. Compute, with the same bootstrap resamples, the proportion of bootstrap curves that are included in each of these confidence bands. These proportions satisfy , and .
  5. If , then define and . Otherwise define and .
  6. Stop at step i if . Otherwise increase i in one unit and repeat Steps 2–5.

The final approximate (1 − α) simultaneous CIs are those obtained for level in the last iteration. The band produced is denoted by the terms corrected band.

This procedure to correct the Bonferroni method follows different ideas to other methods proposed in the literature for this purpose (see [39], where five modified Bonferroni procedures are compared). The technique used here takes advantage of the bootstrap resamples obtained to construct the CIs to approximate the correct confidence level. This gives a simple and very fast general method, correcting (at least partially) the error made if the individual CIs (computed using BCa or basic bootstrap) were used as simultaneous CIs. The iterative process to correct the confidence level follows the same principles as those used in the very simple bisection method to approximate a solution of a non-linear equation. The parameter δ represents the error that the user is willing to assume (it was checked that the suggestion of δ = α/10 provides fast and good results). This approach produce CIs with levels in the continuum between those used to construct uncorrected or Bonferroni CIs, being more or less closer to each one of them depending on the number, k, of grid points.

Simulation study

In this section, the pointwise and simultaneous bootstrap CIs described in the previous section are compared, via a simulation study, using synthetic data. Specific code to carry out the numerical analysis shown in this section and the following (focus on real data applications) was developed using the free statistical software R [40]. In these programs, some existing R libraries (cited below) to generate and fit the different parametric and nonparametric models used in our research were also employed. Initially, the main interest is the CDF. From Eqs (1)–(3), it is clear that once the CDF is estimated, other important functions can be immediately approximated, with the goodness of these estimates being directly determined by the quality of CDF estimation. To check this fact empirically, in the second part of the study, the same kind of analysis for the return level function is repeated.

Starting with the analysis of the CDF and using a parametric methodology, the Gamma, Log-normal, Gumbel and Weibull distributions (all of them with two unknown parameters) were considered as parametric families to which the unknown CDF could belong. These parametric distributions are traditionally used to fit annual instantaneous peak discharges of a river [41]. Without loss of generality, this study could be performed for any other distribution. The parametric models were fitted and the corresponding unknown parameters estimated using the R library nsRFA [42]. Regarding the nonparametric approach, the kernel estimator given in Eq (6) was used, with a smoothing parameter selected by the plug-in method described in [31]. The R library Kerdiest [33] was used to fit the nonparametric estimator. On the other hand, in the first part of the study, the Gamma distribution was considered as the parent distribution, generating the synthetic data from this variable. This is a distribution commonly employed in this context. Specifically, a Gamma distribution with probability density function , with shape parameter k = 10 and scale parameter θ = 2.6, was used. The values of these parameters were chosen consistently with those estimated from the discharge data of the next section [10].

In the simulation experiments, CIs for the CDF evaluated at specific quantiles, corresponding to more or less extreme values of the variable, were computed. Observing Eq (3), it is easy to see that return-level estimation is equivalent to quantile estimation. Taking this into account, the procedure employed has the following steps. First, a sample of size n from a Gamma distribution, X1, X2, …, Xn, is generated. Second, a grid of j particular periods of time (years) T = T1, T2, …, Tj are considered, and the values 1 − (1/T) calculated. Then, using the sample data, the j sample quantiles corresponding to the probabilities are computed. Denoting these quantiles by q1, …, qj, the values F(qj) are estimated by means of , where can be a parametric or a nonparametric estimator. Finally, the different CIs are constructed.

Three different sets of T values (denoted by T(1), T(2) and T(3), respectively) were considered, obtaining thus the corresponding different sets of return periods. The periods of time (in years) in these sets are, respectively, T(1) = {4, 5, 6, 7, 8, 20, 50, 100, 200}, T(2) = {2, 4, 5, 10, 20, 25, 50, 100, 200} and T(3) = {4, 6, 8, 10, 12, 14, 16, 18, 20}. The different values of T allow to control the number of extreme values where the CDF is estimated. For example, the last values for T in T(1) and T(2) are 50,100 and 200. These high return-periods correspond to extreme quantiles of probabilities 0.98,0.99 and 0.995, respectively. Nevertheless, the set of values included in T(3) produce not so large quantiles. In this way, the performance of the different methods to construct CIs in different situations can be checked.

Different sample sizes, n, have been considered, obtaining similar conclusions for all of them. For the sake of brevity, only the case of n = 100 is presented here. On the other hand, following [24], the number of bootstrap replicas was B = 40n (i.e., 4,000 for the case of n = 100). Each simulated setting was repeated 1,000 times.

For each simulation replica, the j bootstrap CIs (in each of the j grid points) were computed using the methods standard normal bootstrap, percentile bootstrap, basic bootstrap and BCa. These techniques are designed to obtain pointwise CIs, although they can also be used in a simultaneous way to produce confidence bands. However, and with the aim of producing more accurate simultaneous CIs, the Bonferroni approach was also applied to the CIs obtained by the basic bootstrap and the BCa methods. Moreover, the iterative algorithm indicated in the previous section to correct the Bonferroni technique was also employed. This iterative process was just applied starting from the CIs obtained by the basic method in the simulations, although other alternative methods could also be used. Therefore, seven methods to construct CIs were tested, four of them (standard normal bootstrap, percentile bootstrap, basic bootstrap and BCa methods) designed to obtain pointwise CIs (in what follows, denoted by Stand, Perc, Basic and BCa, respectively), and three based on modifications of some of the previous ones (Bonferroni applied to the basic and BCa intervals, and the iterative process starting from the basic CIs), to be used when the interest is to obtain simultaneous CIs (they are denoted by Bon-Basic, Bon-BCa and Corr-Bon, respectively).

Once the pointwise or simultaneous CIs were computed, the corresponding pointwise and simultaneous coverage probabilities of the CIs constructed with the different procedures were estimated. For this, it was checked if the real value of the CDF at the corresponding grid point is or not inside the interval. After the 1,000 repetitions, the pointwise coverage probabilities can be estimated. Following a similar process, it was also computed the simultaneous coverage probabilities, checking if all the values of the theoretical CDF at the grid points were inside the corresponding intervals.

Table 1 shows the results of these simulations with α = 0.05 and n = 100. For each model, the left column (denoted with the letter ‘P.’) shows the estimated pointwise coverage percentage (interval coverage), and the right column (denoted with the letter ‘S.’), the simultaneous coverage percentage (band coverage).

thumbnail
Table 1. Pointwise (columns denoted with the letter ‘P.’) and simultaneous (columns denoted with the letter ‘S.’) coverage percentage of the different methods used to construct CIs.

https://doi.org/10.1371/journal.pone.0147505.t001

Some conclusions can be deduced from the results included in Table 1. Ideally, the pointwise methods (Stand, Perc, Basic and BCa) should achieve a pointwise coverage percentage of (or close to) 95% (column ‘P.’), while the simultaneous coverage percentage (column ‘S.’) of the simultaneous procedures (Bon-Basic, Bon-BCa and Corr-Bon) should be close to 95%. On the other hand, due to the multiple range testing, it is expected that the simultaneous coverage of the approaches Stand, Perc, Basic and BCa should be smaller than their nominal value (95%, in this case). Note that the methods Bon-Basic, Bon-BCa and Corr-Bon are designed to try to overcome this issue. Taking these arguments into account, it is clear that the best results for all the approaches were obtained when the set of return-periods T(3) was considered. Note that this set of values does not contain large values, while T(1) and T(2) include the values 50, 100 and 200, producing extreme quantiles, where it is much more difficult to obtain reliable distribution estimations. Additionally, the best performance of the different methods was obtained when the data were fitted with a Gamma distribution. This is quite natural because the data were generated from this kind of variable. Nevertheless, using other parametric fits led to worse results, especially if the shape of the fitted distribution differs from a Gamma variable (a Weibull, for instance). In this sense, the nonparametric approach represents a valid alternative. The results obtained with this methodology were better than those using a parametric model different to the one employed to generate the data (Gamma), but they were still close to the best percentages obtained under a Gamma fit. Therefore, the nonparametric approach appears reasonably robust to model misspecification.

Regarding the different methods, when the aim is to construct pointwise CIs, all the pointwise approaches seem to be, in general, anticonservative. In this framework, the BCa approach (BCa) produced the best results. It can be easily observed that the pointwise coverage percentages of the BCa technique are the closest to their nominal value (95%) among the different pointwise methods. This is specially remarkable in the case of considering T(3), using a nonparametric fit or the reference Gamma distribution (with percentages of 95.04% and 95.50%, respectively). The anticonservative nature of the pointwise methods made the simultaneous approaches (Bon-Basic, Bon-BCa and Corr-Bon) to give, in general, better results than the pointwise methods when they are considered pointwisely. However, this could be an artificial effect, consequence of the poor performance of pointwise methods in some scenarios (specially using T(1) or T(2), and assuming a Gumbel or a Weibull distribution). As for the simultaneous coverage percentages, it is clear that the designed methods for constructing confidence bands worked better than the pointwise approaches. The band coverage (simultaneous) percentages for Bon-Basic, Bon-BCa and Corr-Bon were closer to their nominal values (95%) than those computed with the approaches denoted by Stand, Perc, Basic and BCa, although, in general, all of them tended to be anticonservative. In this simultaneous context, the best performance was achieved by Bon-BCa (Bonferroni applied to BCa intervals), especially when T(3) is considered and a nonparametric fit or the reference Gamma distribution was used (band coverage percentages of 94.90% and 95.10%, respectively). The approach Bon-Basic (Bonferroni applied to the basic intervals) gave simultaneous coverage probabilities over and above the nominal value, depending on the scenario; while the method Corr-Bon (designed to correct the conservative feature of the Bonferroni approach) seems to be, in general, anticonservative.

In the second part of the simulation study, the interest were the return levels, defined in Eq (3). A similar process to that previously described for the CDF was performed. The different pointwise and simultaneous CIs were computed, and their corresponding pointwise and simultaneous coverages calculated. The general procedure follows the same steps as before, but with the obvious changes in the estimation process when the target is the return level function instead of the CDF. Here, a heavy-tailed distribution as the parent distribution was used, because this type of models are widely employed in extreme value problems in hydrology. Specifically, a GEV distribution Eq (5), with location parameter μ = 1555.73, scale parameter σ = 613.57, and shape parameter γ = 0.10, was employed to generate the artificial data. This distribution corresponds to the one fitted to the real data set of annual peak instantaneous flows of the Spanish river analyzed in the next section. Note that, in the nonparametric case, return level estimation is obtained by means of a numerical approximation to the root of the equation , with 0 < p < 1. This process always implies some extra computing time that may be high when, additionally, one has to select a smoothing parameter and bootstrap methods are being used. Also note that the comparisons based on simulations require repeating the whole number of calculations a large number of times (1,000 in this case). Taking this into account, in this part of the study, just the previous scenarios T(2) and T(3) were considered. Moreover, to fit the data, the nonparametric estimator of the return levels obtained from Eq (6), and the parametric estimator, given in Eq (4), assuming that the data follow a (correct) GEV distribution and also a (misspecified) Gumbel model were considered. Table 2 contains the same type of information as that presented in Table 1, but for the return levels.

thumbnail
Table 2. Pointwise (columns denoted with the letter ‘P.’) and simultaneous (columns denoted with the letter ‘S.’) coverage percentage of the different methods used to construct CIs.

https://doi.org/10.1371/journal.pone.0147505.t002

As expected, very similar conclusions to those pointed out in the case of the CDF can be reproduced here for the different procedures used to construct the CIs. However, some differences are observed in the results obtained with the nonparametric estimator, when the interest is to construct simultaneous CIs and the set T(2) (containing some high return-periods) is considered. In that case, the modifications of the pointwise procedures (Bon-Basic, Bon-BCa and Corr-Bon) seem to be too much anticonservative, with band coverage percentages far from the ideal 95%. This fact may be due, among other factors, to the error made by the numerical method used to approximate the corresponding quantiles. More efficient techniques could be used for this task, but with a higher computing time. In any case, it can be observed that even assuming a Gumbel distribution (which is not very similar to the parent GEV distribution) to fit the data, this effect is at least partially corrected. Hence, in situations when the parametric model cannot be exactly specified, instead of using a nonparametric approach (as suggested in the CDF case), here, a clear improvement is obtained if a proper parametric model (selected by means of goodness-of-fit tests) is considered to be fitted to the data.

Therefore, to sum up, in the case of the CDF, if the interest is to compute individual CIs, the suggestion is to use the BCa approach (BCa), but if the concern is to compute simultaneous CIs, the pointwise methods are far from achieving the nominal value, while the technique denoted by Bon-BCa (Bonferroni applied to BCa intervals) corrects (at least partially) this bias in a simple and fast way, and this is the recommendation. On the other hand, when it is not feasible to know the distribution of the data under study, the proposal is to use a nonparametric model to estimate the CDF and obtain the corresponding pointwise or simultaneous CIs. In the case of the return levels, the same conclusions hold, except that to construct simultaneous CIs when the distribution of the data is not known, it is suggested to fit a proper parametric model, using a goodness-of-fit test, instead of applying nonparametric approaches as in CDF case.

Applications

In this section, several data sets of annual maximum peak discharges are used to show the practical application of the different CI estimation procedures. Specifically, four series from the US Geological Survey (USGS), measured in cfs (cubic feet per second), and a data set of a Spanish river (Ebro river), measured in cumecs (cubic meters per second), have been selected.

US river data

As a first case study, the different methods previously described have been applied to construct pointwise and simultaneous CIs for the CDF to four USGS series extracted from a larger collection studied and described in [41] and in [10]. In [10], the authors applied several goodness-of-fit tests to obtain the best theoretical parametric distribution fitting each series. Here, four particular series fitted by a different parametric model in that work, with identification (USGS notation) 02055000 (Roanoke River, VA), 01463500 (Delaware River, NJ), 03011020 (Allegheny River, NY) and 11152000 (Arroyo River, CA) (see table 2 of [10] for a detailed description), have been chosen. The best distributions to fit these series (selected by means of the Akaike Information Criterion (AIC), [43]) are, respectively, the Gamma, the Log-normal, the Gumbel and the Weibull distributions (see table 3 of [10]).

In this application, the process followed to construct the CIs is similar to that described in the previous simulation section (obviously, now, only one sample data is available for each river). The set of return periods considered here was T = {5, 10, 20, 100, 200, 500, 1000}. This means that, applying Eq (3), the corresponding CIs were computed in the quantiles of probabilities 0.8, 0.9, 0.95, 0.99, 0.995, 0.998 and 0.999, respectively. Tables 36 show the CIs constructed with the different methods (Stand, Perc, Basic and BCa, designed to obtain pointwise CIs; and Bon-Basic, Bon-BCa and Corr-Bon, designed to obtain simultaneous CIs) for each one of the rivers considered. These tables have two parts. In the top part of each table, the CIs obtained in the seven extreme quantiles when the corresponding parametric model that best fit the data of each river is assumed are presented, while the bottom parts show the CIs constructed using a nonparametric model.

thumbnail
Table 3. Lower and upper limits of pointwise (Stand, Perc, Basic and BCa) and simultaneous (Bon-Basic, Bon-BCa and Corr-Bon) CIs for the CDF at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000}, using a Gamma parametric model (top part) and a nonparametric model (bottom part).

Roanoke River (ID = 02055000).

https://doi.org/10.1371/journal.pone.0147505.t003

thumbnail
Table 4. Lower and upper limits of pointwise (Stand, Perc, Basic and BCa) and simultaneous (Bon-Basic, Bon-BCa and Corr-Bon) CIs for the CDF at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000}, using a Log-normal parametric model (top part) and a nonparametric model (bottom part).

Delaware River (ID = 01463500).

https://doi.org/10.1371/journal.pone.0147505.t004

thumbnail
Table 5. Lower and upper limits of pointwise (Stand, Perc, Basic and BCa) and simultaneous (Bon-Basic, Bon-BCa and Corr-Bon) CIs for the CDF at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000}, using a Gumbel parametric model (top part) and a nonparametric model (bottom part).

Allegheny River (ID = 03011020).

https://doi.org/10.1371/journal.pone.0147505.t005

thumbnail
Table 6. Lower and upper limits of pointwise (Stand, Perc, Basic and BCa) and simultaneous (Bon-Basic, Bon-BCa and Corr-Bon) CIs for the CDF at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000}, using a Weibull parametric model (top part) and a nonparametric model (bottom part).

Arroyo River (ID = 11152000).

https://doi.org/10.1371/journal.pone.0147505.t006

It can be observed in Tables 36 that the CIs computed in the different quantiles contain the corresponding theoretical probabilities, and this happens not only for the parametric models (where the best parametric fits were used), but also considering nonparametric estimations. In general, the parametric CIs are narrower than the nonparametric CIs, especially in the largest quantiles. This is a known drawback of nonparametric estimation when very extreme quantiles are estimated using global bandwidths (as in this paper). This problem could be partially avoided with the use of local bandwidths. Obviously, this approximation would require an extra computing time and, for the sake of brevity, it is not included in the present research. A good feature of the nonparametric CIs is that, in the lower quantiles, their lower and upper limits are very similar to those obtained with the best parametric fits. This is an interesting point if one was interested in performing a similar study with a new data set. When using a parametric approach in practice, a usual first step is model selection. This means to choose the parametric model (e.g., Gamma, Log-normal, Weibull, etc.) that better fits the data, within a reasonable class of models. The model selected may change from one setup to the other. Nonparametric methods do not need of such a “model selection” step, since they are automatically adapted to the data generation process.

As for the different methods to construct CIs, in general, the results obtained with real data sets follow the same lines to those described in the previous simulation section.

From a hydrological point of view, although a general checking of Tables 36 could give the impression that the results obtained for the different approaches are very similar, some interesting conclusions can still be deduced. First, in Tables 4 and 5, corresponding to Delaware and Allegheny rivers, respectively, it is observed that, for large values of T (mainly 500 and 1000 years) and using the corresponding parametric fits, the upper and lower limits of some intervals are equal to one. This would mean that the current maximum flow level could not be exceeded in future for those values of T. This is quite unlikely from a real point of view. These kind of results never appear in the case of CIs constructed using nonparametric fits. From this perspective, nonparametric fits adapt better to the data and can avoid some of these undesirable effects derived from the use of parametric fits. On the other hand, similarly to the results obtained in the simulation study, in general, shorter CIs are constructed using the BCa and Bon-BCa approaches and parametric fits. This means that given a confidence level, these CIs would be more precise. Practitioners can use this result to know, with a larger precision, the time (in years) necessary to reach the possible larger values for the maximum flow of the corresponding rivers. In any case, although a larger precision could be obtained using a parametric fit, the advise is to perform also a nonparametric study, because it is observed that this can help to filter and refine the final conclusions in a practical study.

A Spanish river case

As a second case study, a similar analysis to that presented in the previous section for the USGS series, but now using a data set from a Spanish river, was performed. The series analyzed consisted of 66 annual peak instantaneous flows (measured in cumecs) corresponding to the Ebro river (gaging station at Zaragoza city), recorded from 1946 to 2001 (included). This series is shown in Fig 1, while Table 7 presents some descriptive values of this series.

thumbnail
Fig 1. Time series of annual peak flows of Ebro river.

Time series of annual peak flows (measured in cumecs) of Ebro river (gaging station at Zaragoza city, Spain).

https://doi.org/10.1371/journal.pone.0147505.g001

thumbnail
Table 7. Descriptive study of the 66 annual peak instantaneous flows (measured in cumecs) corresponding to the Ebro river (gaging station at Zaragoza city, Spain).

https://doi.org/10.1371/journal.pone.0147505.t007

This data set has been obtained from the web page of the Ebro Hydrographic Confederation (Spanish Ministry of Agriculture, Food and Environment). The size of this series is one of the largest that can be obtained for the study of annual maximum flows in a Spanish river, because gradual recording and data file storage from rivers was held in Spain after the Second World War.

Before proceeding with the comparison of the CIs constructed with the different proposals, an exploratory analysis of the data under consideration was performed and, in order to identify significant data features, parametric and nonparametric density estimates were computed. Specific details of this analysis are given in the Supporting Information (S1 Text). The parametric and nonparametric density estimates of these data are included in Fig 2. The red solid line represents the parametric density estimate assuming a GEV distribution with the parameters indicated above, while the blue dashed line the corresponding nonparametric estimate.

thumbnail
Fig 2. Density estimates of the annual peak instantaneous flows of Ebro river.

Density estimates of the annual peak instantaneous flows (measured in cumecs), corresponding to the Ebro river (gaging station at Zaragoza city, Spain). The red solid line represents the parametric density estimate assuming a GEV distribution, the blue dashed line the corresponding nonparametric estimate.

https://doi.org/10.1371/journal.pone.0147505.g002

Fig 2 reveals some interesting points. First, the good fit of the GEV distribution to these data set can be confirmed, with the parametric and nonparametric absolute mode estimates of the data being very close. Moreover, the nonparametric estimate presents a relative mode at the right of the figure (extreme values). This fact could be a signal that the fit performed with a GEV variable, perhaps, could be improved using another distribution with heavier tails. This effect could also be an overestimation of the nonparametric estimate (the well-known boundary effect, see e.g. [29]). In this case, the small sample size is a serious drawback for correctly checking the differences between the parametric and nonparametric approaches. However, this plot gives an example on how nonparametric estimation could reveal singularities that the parametric estimation is unable to detect.

In the case of the USGS series, only the different CIs constructed for the CDF were compared. Now, the case of the return level function was also considered. To carry out this analysis, in a first step, the CDF and the return level function were estimated using parametric and nonparametric methodologies. These estimations are subsequently needed to obtain the different pointwise and simultaneous CIs for these two functions. The nonparametric estimation of the CDF and the return level function was performed using the R package Kerdiest [33]. In both cases, the plug-in bandwidth of Polansky and Baker [31] was used. Fig 3 contains the plots of the CDF estimates, and Fig 4 the corresponding return level function estimates.

thumbnail
Fig 3. CDF estimates of the annual peak instantaneous flows of Ebro river.

CDF estimates of the annual peak instantaneous flows (measured in cumecs), corresponding to the Ebro river (gaging station at Zaragoza city, Spain). The red solid line represents the parametric density estimate assuming a GEV distribution, the blue dashed line the corresponding nonparametric estimate.

https://doi.org/10.1371/journal.pone.0147505.g003

thumbnail
Fig 4. Return level function estimates for different periods of time of Ebro river.

Return level function estimates for different periods of time, corresponding to the Ebro river (gaging station at Zaragoza city, Spain). The red solid line represents the parametric density estimate assuming a GEV distribution, the blue dashed line the corresponding nonparametric estimate.

https://doi.org/10.1371/journal.pone.0147505.g004

The shape of the CDF estimates shown in Fig 3 is very similar. Specific differences can be only observed with a careful examination of small intervals and particular points of interest. Conversely, in the case of the return level estimates (Fig 4), important dissimilitudes can be observed in the curves obtained with the parametric and nonparametric models. The differences in the high values correspond to the above remarked discrepancies observed in Fig 2. In this example, it is important to note that the small sample size of the series can severely affect the obtained nonparametric return level estimations, as indicated in the previous section, by a numerical approximation. This effect is avoided by the parametric techniques, using a direct form obtained through the distribution function to estimate the return levels, in the case of the GEV variable. In this sense, if nonparametric estimates were used to predict the maximum flows, it would turn out that extreme levels would be reached within a shorter period of time than that indicated by the parametric estimates.

Finally, the different procedures to construct the pointwise and simultaneous CIs for the CDF and the return level function were applied using this data set. The same set T = {5, 10, 20, 100, 200, 500, 1000} of return periods as that used in the USGS series was employed here, and a similar analysis was performed. Note that now, the parametric estimates were computed assuming a GEV distribution. Tables 8 and 9 show the CIs constructed with the different methods, presenting a similar information to that in Tables 36.

thumbnail
Table 8. Lower and upper limits of pointwise (Stand, Perc, Basic and BCa) and simultaneous (Bon-Basic, Bon-BCa and Corr-Bon) CIs for the CDF at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000}, using a GEV parametric model (top part) and a nonparametric model (bottom part).

Ebro river (gaging station at Zaragoza city).

https://doi.org/10.1371/journal.pone.0147505.t008

thumbnail
Table 9. Lower and upper limits of pointwise (Stand, Perc, Basic and BCa) and simultaneous (Bon-Basic, Bon-BCa and Corr-Bon) CIs for the return levels at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000}, using a GEV parametric model (top part) and a nonparametric model (bottom part).

Ebro river (gaging station at Zaragoza city).

https://doi.org/10.1371/journal.pone.0147505.t009

Figures included in the Supporting Information (S1)–(S4) Figs show, in a visual way, the information provided in Table 9.

From a hydrological point of view, interesting findings can be deduced from Tables 8 and 9, and from Figures included in the Supporting Information (S1)–(S4) Figs. From Table 8 similar conclusions to those previously described for the USGS series can be obtained. On the other hand, observing the top part of Table 9 (parametric fit), it can be noted that, according to the general conclusions extracted from the simulation study, the best results are obtained, in general, in the columns BCa and Bon-BCa. The CIs corresponding to these columns are slightly wider than those in the other columns. While this might seem a handicap in a first moment, it must be taken into account that the sample size is relatively small. Then, a wider CI could give more reliability to obtain a return level within that interval, for a very long time prediction period (200, 500 or 1000 years). Note that the larger observed value for this series was 4130. This seems to indicate that this value could be exceeded in a relatively large magnitude (assuming that the fit to a GEV distribution is correct), given the increasing shape of the return level function (Fig 4).

Regarding the nonparametric approach, and taking into account the quite small sample size, the best results are obtained with the Basic, Bon-Basic and Corr-Bon methods. Effectively, by looking again at high values for long-term prediction (200, 500 and 1000 years), it is observed that the intervals in the mentioned columns range between 4130 and 5320. As previously pointed out, the maximum observed value in this series was just 4130, so it is likely that this value will be exceeded. The nonparametric approach estimates, however, a maximum value of 5320 (with a 95% of confidence), possibly more realistic than 6941, that is the maximum value predicted using a parametric fit.

Conclusions

CDF estimation has been revealed as a powerful tool to treat several real questions related with hydrological problems. In this setting, computation of concerning quantities such as the return levels or mean return periods are valuable allied in the study of the natural hazards. The estimation of these functions can be complemented with the construction of CIs, providing information about the reliability of the inference process. This can be carried out computing simultaneous CIs (confidence bands) containing the function of interest with a prescribed high probability. Note that using simultaneous CIs instead pointwise intervals has some practical implications in hydrological applications, because simultaneous CIs include information on model reliability. Hence, they are much more informative than pointwise CIs to assess the goodness of a complete (parametric or nonparametric) model that, subsequently, can be used to make inference or predictions.

The usual process to obtain the confidence bands is based on constructing pointwise CIs in a grid of selected points. However, this procedure can give biased results due to the well-known multiple range testing problem. In the present paper, different approaches to construct pointwise and simultaneous CIs for the CDF (mainly evaluated in large quantiles) and also for the return level function have been compared. Specifically, four methods usually applied to obtain pointwise CIs (standard normal bootstrap, percentile bootstrap, basic bootstrap and BCa methods), and three approaches designed to compute simultaneous CIs (Bonferroni applied to the basic and BCa intervals, and an iterative process combining the Bonferroni and the basic CIs) have been used. These techniques employ bootstrap algorithms. Additionally, parametric and nonparametric methodologies to estimate the functions of interest were applied to calculate the CIs by the different approaches. This research was also devoted to study the behavior of the pointwise methods when they are used to obtain pointwise CIs and simultaneous CIs, and vice versa. The study was completed with the analysis of real river flow data using the previous methods.

In general, it was observed that the BCa method had the best performance among the pointwise procedures considered, while the Bonferroni correction applied to the BCa intervals gave the best results for the simultaneous approaches. On the other hand, it was observed that if a pointwise method is applied to obtain confidence bands, the simultaneous coverage probabilities are far from the nominal value considered. In this sense, modifications of these techniques, using a simple Bonferroni correction has provided better results when the interest is to construct confidence bands. Additionally, nonparametric methods have given better results than misspecified parametric models when the interest function is the CDF and, in this sense, the recommendation is the use of this methodology as a robust procedure very helpful when the real distribution of the data is unknown. However, for return levels it has been found that a nonparametric model led to worse results than a parametric model, and thus for this case we propose using a parametric model selected by means of goodness-of-fit tests.

We have mainly focused on the CDF, because this is the basic function of interest used in the analysis of extreme values in hydrology. However, we have also obtained some results regarding the return levels. The same kind of study could be carried out with other functionals such as the return period, for instance.

Supporting Information

S1 Text. Specific details about parametric and nonparametric density estimations for the Ebro river series.

In order to identify significant data features, parametric and nonparametric density estimates were computed. Assuming a parametric model, a GEV distribution was fitted by means of the nsRFA R package [42]. The estimated parameters, using the Lmoments function of the mentioned R package were 1555.73, 613.57 and 0.10 for the location, scale and shape parameters, respectively. Next, by means of the gofGEVtest function of the same package, the Anderson-Darling test (e.g. [26]) was applied to check the goodness-of-fit of these data to a GEV distribution, obtaining p-values around 0.2 (depending on the Monte-Carlo replications). Therefore, the assumption of the data following a GEV distribution can not be rejected. Next, the density was nonparametrically estimated, calculating the bandwidth by the plug-in method, directly obtained with the density function of the base R package.

https://doi.org/10.1371/journal.pone.0147505.s001

(PDF)

S1 Data. Roanoke River database.

Annual maximum peak discharges series, measured in cfs, of Roanoke River, VA.

https://doi.org/10.1371/journal.pone.0147505.s002

(XLSX)

S2 Data. Delaware River database.

Annual maximum peak discharges series, measured in cfs, of Delaware River, NJ.

https://doi.org/10.1371/journal.pone.0147505.s003

(XLSX)

S3 Data. Allegheny River database.

Annual maximum peak discharges series, measured in cfs, of Allegheny River, NY.

https://doi.org/10.1371/journal.pone.0147505.s004

(XLSX)

S4 Data. Arroyo River database.

Annual maximum peak discharges series, measured in cfs, of Arroyo River, CA.

https://doi.org/10.1371/journal.pone.0147505.s005

(XLSX)

S5 Data. Ebro River database.

Annual maximum peak discharges series, measured in cumecs, of Ebro River (gaging station at Zaragoza city, Spain).

https://doi.org/10.1371/journal.pone.0147505.s006

(XLSX)

S1 Fig. Pointwise CIs for the return levels using a GEV parametric model for Ebro river.

Pointwise CIs (Stand, Perc, Basic and BCa) for the return levels at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000} using a GEV parametric model. Ebro river (gaging station at Zaragoza city).

https://doi.org/10.1371/journal.pone.0147505.s007

(EPS)

S2 Fig. Simultaneous CIs for the return levels using a GEV parametric model for Ebro river.

Simultaneous CIs (Stand, Perc, Basic and BCa) for the return levels at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000} using a GEV parametric model. Ebro river (gaging station at Zaragoza city).

https://doi.org/10.1371/journal.pone.0147505.s008

(EPS)

S3 Fig. Pointwise CIs for the return levels using a nonparametric model for Ebro river.

Pointwise CIs (Stand, Perc, Basic and BCa) for the return levels at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000} using a nonparametric model. Ebro river (gaging station at Zaragoza city).

https://doi.org/10.1371/journal.pone.0147505.s009

(EPS)

S4 Fig. Simultaneous CIs for the return levels using a nonparametric model for Ebro river.

Simultaneous CIs (Stand, Perc, Basic and BCa) for the return levels at quantiles with return periods T = {5, 10, 20, 100, 200, 500, 1000} using a nonparametric model. Ebro river (gaging station at Zaragoza city).

https://doi.org/10.1371/journal.pone.0147505.s010

(EPS)

Acknowledgments

The data used in the Application Section are available for free and can be searched at the web page of the US Geological Survey (USGS), using http://www.usgs.gov, and at the web page of the Spanish Ministry of Agriculture, Food and Environment, using http://www.magrama.gob.es. We are grateful to Fabio Rapallo and a referee for constructive and helpful suggestions.

Author Contributions

Conceived and designed the experiments: MFF AQR. Performed the experiments: MFF AQR. Analyzed the data: MFF AQR. Contributed reagents/materials/analysis tools: MFF AQR. Wrote the paper: MFF AQR. Designed the software used in analysis: MFF AQR.

References

  1. 1. Guo SL, Kachroo RK, Mngodo RJ. Nonparametric kernel estimation of low flow quantiles. J Hydrol. 1996;185:335–348.
  2. 2. Coles S. An Introduction to Statistical Modeling of Extreme Values. London: Springer Verlag; 2001.
  3. 3. Hosking JRM, Wallis JR. Regional Frequency Analysis: An Approach Based on L-moments. Cambridge, UK: Cambridge University Press; 1997.
  4. 4. Parida BP, Moalafhi DB. Regional rainfall frequency analysis for Bostwana using L-Moments and radial basis function network. Phys Chem Earth. 2008;33:614–620.
  5. 5. Kim K, Heo J. Comparative study of flood quantiles estimation by nonparametric models. J Hydrol. 2002;260:176–193.
  6. 6. Quintela-del-Río A. On bandwidth selection for nonparametric estimation in flood frequency analysis. Hydrol Process. 2011;25:671–678.
  7. 7. Sharma A, Tarboton GD, Lall U. Streamflow simulation: a nonparametric approach. Water Resour Res. 1997;33:291–308.
  8. 8. Montanari A. What do you mean by ‘uncertainty’? The need for a consistent wording about uncertainty assessment in hydrology. Hydrol Process. 2007;21:841–845.
  9. 9. Ramos MH, Mathevet T, Thielen J, Pappenberger F. Communicating uncertainty in hydro-meteorological forecasts: mission impossible? Meteorol Appl. 2010;17:223–235.
  10. 10. Serinaldi F. Assessing the applicability of fractional order statistics for computing confidence intervals for extreme quantiles. J Hydrol. 2009;376:528–541.
  11. 11. Bâ KM, Díaz-Delgado C, Cârsteanu A. Confidence intervals of quantiles in hydrology computed by an analytical method. Nat Hazards. 2001;24:1–12.
  12. 12. Kyselý J. A cautionary note on the use of nonparametric bootstrap for estimating uncertainties in extreme value models. J Appl Meteorol Climatol. 2008;47:3236–3251.
  13. 13. Kyselý J. Coverage probability of bootstrap confidence intervals in heavy-tailed frequency models, with application to precipitation data. Theor Appl Climatol. 2010;101:345–361.
  14. 14. Vecchia AV, Cooley RL. Simultaneous confidence and prediction intervals for nonlinear regression models with application to a groundwater flow model. Water Resour Res. 1987;24:1237–1250.
  15. 15. Cheng RCH, Amin NAK. Estimating parameters in continuous univariate distributions with a shifted origin. J R Stat Soc Ser B-Stat Methodol. 1983;45:394–403.
  16. 16. Efron B. Bootstrap methods: another look at the Jackknife. Ann Stat. 1979;7:1–26.
  17. 17. DiCiccio TJ, Efron B. Bootstrap confidence intervals. Stat Sci. 1996;3:189–228.
  18. 18. Davison AD, Kuonen D. An introduction to Bootstrap with applications in R. Stat Comput Stat Graph Newsl. 2002;13:6–11.
  19. 19. Chernick M. Bootstrap Methods: A Guide for Practitioners and Researches. 2nd ed. New Jersey: Wiley; 2008.
  20. 20. Efron B, Tibshirani RJ. An Introduction to the Bootstrap. New-York: Chapman & Hall; 1993.
  21. 21. Ebtehaj M, Moradkhani H, Gupta HV. Improving robustness of hydrologic parameter estimation by the use of moving block bootstrap resampling. Water Resour Res. 2010;46:W07–515.
  22. 22. Hall MJ, van den Boogaard HFP, Fernando RC, Mynett AE. The construction of confidence intervals for frequency analysis using resampling techniques. Hydrol Earth Syst Sci. 2004;8:235–246.
  23. 23. van den Boogaard HFP, Hall MJ. The construction of confidence intervals for frequency analysis using resampling techniques: a supplementary note. Hydrol Earth Syst Sci. 2004;8:1174–1178.
  24. 24. Davison AC, Hinkley DV. Bootstrap Methods and their Applications. Cambridge: Cambridge Univ. Press; 1997.
  25. 25. Bonferroni CE. Il calcolo delle assicurazioni su gruppi di teste. In: Studi in Onore del Professore Salvatore Ortu Carboni. Rome; 1935. p. 13–60.
  26. 26. Kottegoda NT, Rosso R. Applied Statistics for Civil and Environmental Engineers. 2nd ed. New York: Wiley-Blackwell; 2008.
  27. 27. Fisher RA, Tippett LHC. Limiting forms of the frequency distributions of the largest or smallest member of a sample. Proc Cambridge Philos Soc. 1928;24:180–190.
  28. 28. Simonoff J. Smoothing Methods in Statistics. New York: Springer; 1996.
  29. 29. Wand MP, Jones MC. Kernel Smoothing. London: Chapman and Hall; 1995.
  30. 30. Altman N, Leger C. Bandwidth selection for kernel distribution function estimation. J Stat Plan Infer. 1995;46:195–214.
  31. 31. Polanski A, Baker ER. Multistage plug-in bandwidth selection for kernel distribution function estimates. J Stat Comput Simul. 2000;65:63–80.
  32. 32. Bowman A, Hall P, Prvan T. Bandwidth selection for the smoothing of distribution functions. Biometrika. 1998;85:799–808.
  33. 33. Quintela-del-Río A, Estévez-Pérez MG. Nonparametric kernel distribution function estimation. Kerdiest: an R package for bandwidth choice and applications. J Stat Softw. 2012;50:1–21.
  34. 34. Quintela-del-Río A, Francisco-Fernández F. Nonparametric functional data estimation applied to ozone data: prediction and extreme value analysis. Chemosphere. 2011;82:800–808. pmid:21144549
  35. 35. Silverman BW. Density Estimation for Statistics and Data Analysis. London: Chapman & Hall; 1986.
  36. 36. Adamowski K. A Monte Carlo comparison of parametric and nonparametric estimation of flood frequencies. J Hydrol. 1989;108:295–308.
  37. 37. Miller RG. Simultaneous Statistical Inference. New York, USA: Springer-Verlag; 1991.
  38. 38. Benjamini Y, Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J R Stat Soc Ser B-Stat Methodol. 1995;57:289–300.
  39. 39. Olejnik S, Li J, Supattathum S, Huberty CJ. Multiple testing and statistical power with modified Bonferroni procedures. J Educ Behav Stat. 1997;22:389–406.
  40. 40. R Development Core Team. R: A Language and Environment for Statistical Computing. Vienna, Austria; 2015. http://www.R-project.org.
  41. 41. Villarini G, Serinaldi F, Smith JA, Krajewski WF. On the stationary of annual flood peaks in the continental United States during the 20th century. Water Resour Res. 2009;45:W08417.
  42. 42. Viglione A. nsRFA: Non-supervised Regional Frequency Analysis; 2013. R package version 0.7-10. Available from: http://CRAN.R-project.org/package=nsRFA.
  43. 43. Akaike H. A new look at the statistical model identification. IEEE Trans Autom Control. 1974;19:716–723.