the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
Discrete knearest neighbor resampling for simulating multisite precipitation occurrence and model adaption to climate change
Vijay P. Singh
Stochastic weather simulation models are commonly employed in water resources management, agricultural applications, forest management, transportation management, and recreational activities. Stochastic simulation of multisite precipitation occurrence is a challenge because of its intermittent characteristics as well as spatial and temporal crosscorrelation. This study proposes a novel simulation method for multisite precipitation occurrence employing a nonparametric technique, the discrete version of the knearest neighbor resampling (KNNR), and couples it with a genetic algorithm (GA). Its modification for the study of climatic change adaptation is also tested. The datasets simulated from both the discrete KNNR (DKNNR) model and an existing traditional model were evaluated using a number of statistics, such as occurrence and transition probabilities, as well as temporal and spatial crosscorrelations. Results showed that the proposed DKNNR model with GAsimulated multisite precipitation occurrence preserved the lagged crosscorrelation between sites, while the existing conventional model was not able to reproduce lagged crosscorrelation between stations, so long stochastic simulation was required. Also, the GA mixing process provided a number of new patterns that were different from observations, which was not feasible with the sole DKNNR model. When climate change was considered, the model performed satisfactorily, but further improvement is required to more accurately simulate specific variations of the occurrence probability.
 Article
(2854 KB)  Fulltext XML

Supplement
(115 KB)  BibTeX
 EndNote
Stochastic simulation of weather variables has been employed for water resources management, hydrological design, agricultural irrigation, forest management, transportation planning and evacuation, recreation activities, filling in missing historical data, simulating data, extending observed records, and simulating different weather conditions. Stochastic simulation models play a key role in producing weather sequences, while preserving the statistical characteristics of observed data. A number of stochastic weather simulation models have been developed using parametric and nonparametric approaches (Lee, 2017; Lee et al., 2012; Wilby et al., 2003; Wilks, 1999; Wilks and Wilby, 1999).
Parametric approaches simulate statistical characteristics of observed weather data with a set of parameters that are determined by fitting (Jeong et al., 2012; Lee, 2016; Zheng and Katz, 2008), whereas in nonparametric approaches, historical analogs with current conditions are searched, following the weather simulation data (Buishand and Brandsma, 2001; Lee et al., 2012). Combinations of parametric and nonparametric approaches have also been proposed (Apipattanavis et al., 2007; Frost et al., 2011).
Among weather variables, precipitation possesses intermittency and zero values between precipitation events, which make it difficult to properly reproduce the events (Beersma and Buishand, 2003; Hughes et al., 1999; Katz and Zheng, 1999). To overcome the problem of intermittency and zero values, precipitation is simulated separately from other variables. The main method for reproducing intermittency has been the multiplication of precipitation occurrence and an amount as $Z=X\cdot Y$, where X is the occurrence (binary as either 0 or 1) and Y is the amount (Jeong et al., 2013; Lee and Park, 2017; Todorovic and Woolhiser, 1975). The spatial and temporal dependence in the occurrence and amount of precipitation introduce further complexity in multisite simulation.
Wilks (1998) presented a multisite simulation model for the occurrence process (i.e., X) using the standard normal variable that is spatially dependent, representing the relationship between the occurrence variable and the standard normal variable with simulation data. Originally, the occurrence of precipitation had been simulated with a discrete Markov chain (MC) model (Katz, 1977). Compared to the MC model that requires a significant number of parameters for generating multisite occurrence, the multisite occurrence model proposed by Wilks (1998) transforms the standard normal variate and simulates the sequence with multivariate normal distribution, and then backtransforms the multivariate normal sequence to the original domain. The model is able to reproduce the contemporaneous multisite dependence structure and lagged dependence only for the same site but it requires a complex simulation process to estimate parameters for each site and is unable to preserve lagged dependence between sites. Also, a recent improvement has also been made, but the weakness of the model in Wilks (1998) was not significantly improved (Evin et al., 2018; Mehrotra et al., 2006; Srikanthan and Pegram, 2009).
Lee et al. (2010) proposed a nonparametricbased stochastic simulation model for hydrometeorological variables. Their model overcame the shortcomings of a previous nonparametric simulation model (Lall and Sharma, 1996), called knearest neighbor resampling (KNNR), but the simulated data do not produce patterns different from those of the observed data (Brandsma and Buishand, 1998; Mehrotra et al., 2006; StHilaire et al., 2012). In addition to KNNR, Lee et al. (2010) used a metaheuristic genetic algorithm (GA) that led to the reproduction of similar populations by mixing the simulated datasets. Note that the reproduction procedure of the GA allows to generate new patterns that are similar to observed patterns, but a small number of totally new patterns are simulated from the mutation procedure of the GA.
While KNNR is employed to find historical analogues of multisite occurrence similar to the current status of a simulation series, GA is applied to use its skill to generate a new descendant from the historical parent chosen with the KNNR. In this procedure, the multisite occurrence of precipitation can be simulated while preserving spatial and temporal correlations. Metaheuristic techniques, such as GA, have been popularly employed in a number of hydrometeorological applications (Chau, 2017; Fotovatikhah et al., 2018; Taormina et al., 2015; Wang et al., 2013). Although a number of variants of KNNRGA have been applied (Lee et al., 2012; Lee and Park, 2017), none of them can simulate multisite occurrence of precipitation whose characteristics are binary and temporally and spatially related.
Therefore, this study proposes a stochastic simulation method for multisite occurrence of precipitation with the KNNRGAbased nonparametric approach that (1) simulates multisite occurrence with a simple and direct procedure without parameterization of all the required occurrence probabilities, and (2) reproduces the complex temporal and spatial correlation between stations, as well as the basic occurrence probabilities. The proposed nonparametric model is compared with the popular model proposed by Wilks (1998). Even though the multisite occurrence data generated from the Wilks model preserves various statistical characteristics of the observed data well, significant underestimation of lagged crosscorrelation still exists. Furthermore, the relation between standard normal variable and occurrence variable relies on long stochastic simulation.
The paper is organized as follows. The next section presents the mathematical background of existing multisite occurrence modeling and section discusses the modeling procedure. The study area and data are reported in Sect. 4. The model application is presented in Sect. 5. Results of the proposed model are discussed in Sect. 6, and summary and conclusions are presented in Sect. 7.
2.1 Single site occurrence modeling
Let ${X}_{t}^{s}$ represent the occurrence of daily precipitation for a location s ($s=\mathrm{1},\mathrm{\dots},S$) on day t ($t=\mathrm{1},\mathrm{\dots},n$; n is the number observed days) and let ${X}_{t}^{s}$ be either 0 for dry days or 1 for wet days. The firstorder Markov chain model for ${X}_{t}^{s}$ is defined with the assumption that the occurrence probability of a wet day is fully defined by the previous day as
Also, ${p}_{\mathrm{00}}^{s}=\mathrm{1}{p}_{\mathrm{01}}^{s}$ and ${p}_{\mathrm{10}}^{s}=\mathrm{1}{p}_{\mathrm{11}}^{s}$, since the summation of 0 and 1 should be unity with the same previous condition. This consists of a transition probability matrix (TPM) as
The marginal distributions of TPM (i.e., p_{0} and p_{1}) can be expressed with TPM and its condition of ${p}_{\mathrm{0}}+{p}_{\mathrm{1}}=\mathrm{1}$ as
Note that p_{1} represents the probability of precipitation occurrence for a day, while p_{0} represents nonoccurrence. The lag1 autocorrelation of precipitation occurrence is the combination of transition probabilities as
The simulation can be done by comparing TPM with a uniform random number (${u}_{t}^{s}$) as
where${p}_{i\mathrm{1}}^{s}$ is the selected probability from TPM regarding the previous condition i (i.e., either 0 or 1). Wilks (1998) suggested a different method using a standard normal random number ${w}_{t}^{s}\sim N[\mathrm{0},\mathrm{1}]$ as
where Φ^{−1}indicates the inverse of the standard normal cumulative function Φ.
2.2 Multisite occurrence modeling
Wilks (1998) suggested a multisite occurrence model using a standard normal random number (here denoted as MONR) that is spatially dependent but serially independent. The correlation of the standard normal variate for a site pair of q and s can be expressed as
Also, the correlation of the original occurrence variate is
Once the correlation of the standard normal variate is known, the simulation of multisite precipitation occurrence is straightforward. Multivariate standard normal distribution is used with a parameter set of [0, T], where 0 is the zero vector (S×1) and T is the correlation matrix with the elements of τ(q,s) for $q\in \mathit{\{}\mathrm{1},\mathrm{\dots},S\mathit{\}}$ and $s\in \mathit{\{}\mathrm{1},\mathrm{\dots},S\mathit{\}}$.
Since direct estimation of τ(q,s) is not feasible, a simulation technique is used to estimate τ(q,s) from ρ(q,s). A long sequence of the occurrences is simulated with different values of τ(q,s) and its corresponding correlation of the original domain ρ(q,s) is estimated with the simulated long sequence by the inverse standard normal cumulative function (i.e., Φ^{−1}). A curve between τ(q,s) and ρ(q,s) is derived from this long simulation with the MONR model and is employed for parameter estimation for a real application.
3.1 DKNNR modeling procedure
In the current study, a novel multisite simulation model for discrete occurrence of precipitation variable with the KNNR technique (Lall and Sharma, 1996; Lee and Ouarda, 2011; Lee et al., 2017) for a discrete case (denoted as discrete KNNR; DKNNR) is proposed by combining a mixture mechanism with GA. Provided the number of nearest neighbors, k, is known, the discrete knearest neighbor resampling with genetic algorithm is done as follows:

Estimate the distance between the current (i.e., time index: c) multisite occurrence ${X}_{c}^{s}$ and the observed multisite occurrence ${x}_{i}^{s}$. Here, the distance is measured for $i=\mathrm{1},\mathrm{\dots},n\mathrm{1}$ as
$$\begin{array}{}\text{(11)}& {D}_{i}=\sum _{s=\mathrm{1}}^{S}\left{X}_{c}^{s}{x}_{i}^{s}\right.\end{array}$$ 
Arrange the estimated distances from step (1) in ascending order, select the first k distances (i.e., the smallest k values), and reserve the time indices of the smallest k distances.

Randomly select one of the stored k time indices with the weighting probability given by
$$\begin{array}{}\text{(12)}& {w}_{m}={\displaystyle \frac{\mathrm{1}/m}{\sum _{j=\mathrm{1}}^{k}\mathrm{1}/j}},\phantom{\rule{0.25em}{0ex}}\phantom{\rule{0.25em}{0ex}}\phantom{\rule{0.25em}{0ex}}m=\mathrm{1},\mathrm{\dots},k.\end{array}$$ 
Assume the selected time index from step (3) as p. Note that there are a number of values that have the same distance as the selected D_{p}, since D_{p} is a natural number between 0 and S. For example, if S=2 and ${X}_{c}^{\mathrm{1}}=\mathrm{0}$ and ${X}_{c}^{\mathrm{2}}=\mathrm{1}$, the two sequences have the same D=1 as [${x}_{i}^{\mathrm{1}}=\mathrm{0}$ and ${x}_{i}^{\mathrm{2}}=\mathrm{0}$] and [${x}_{i}^{\mathrm{1}}=\mathrm{1}$ and ${x}_{i}^{\mathrm{2}}=\mathrm{1}$]. In this case, a random selection procedure is required to take into account the cases with the same quantity. One particular time index is randomly selected with equal probabilities among the time indices of the same distances. Note that instead of the random selection, one can always use the first one. In such a case, only one historical combination of multisite occurrences will be selected.

Assign the binary vector of the proceeding index of the selected time as ${\mathit{x}}_{p+\mathrm{1}}=[{x}_{p+\mathrm{1}}^{s}{]}_{s\in \mathit{\{}\mathrm{1},S\mathit{\}}}$. Here, p is the finally selected time index from step (4).

Execute the following steps for GA mixing if GA mixing is subjectively selected. Otherwise, skip this step.
 a.
Reproduction: select one additional time index using steps (1) through (4) and denote this index as p^{∗}. Obtain the corresponding precipitation occurrence values, ${\mathit{x}}_{{p}^{\ast}+\mathrm{1}}=[{x}_{{p}^{\ast}+\mathrm{1}}^{s}{]}_{s\in \mathit{\{}\mathrm{1},\mathrm{\dots},S\mathit{\}}}$. The subsequent two GA operators employ the two selected vectors, x_{p} and ${\mathit{x}}_{{p}^{\ast}}$. This reproduction process is a mating process by finding another individual that has characteristics similar to those of the current one (x_{p+1}). With this procedure, a vector similar to the current vector will be mated and will produce a new descendant.
 b.
Crossover: replace each element ${x}_{p+\mathrm{1}}^{s}$ with ${x}_{{p}^{\ast}+\mathrm{1}}^{s}$ at probability P_{cr}, i.e.,
$$\begin{array}{}\text{(13)}& {X}_{c+\mathrm{1}}^{s}=\left(\right)open="\{">\begin{array}{ll}{x}_{{p}^{\ast}+\mathrm{1}}^{s}& \mathrm{if}\phantom{\rule{0.25em}{0ex}}\phantom{\rule{0.25em}{0ex}}\mathit{\epsilon}{P}_{\mathrm{cr}}\\ {x}_{p+\mathrm{1}}^{s}& \mathrm{otherwise}\end{array},\end{array}$$where ε is a uniform random number between 0 and 1. From this crossover, a new occurrence vector whose elements are similar to the historical ones is generated.
 c.
Mutation: replace each element (i.e., each station, $s=\mathrm{1},\mathrm{\dots},S$) with one selected from all the observations of this element for $i=\mathrm{1},\mathrm{\dots},n$ with probability P_{m}, i.e.,
$$\begin{array}{}\text{(14)}& {X}_{c+\mathrm{1}}^{s}=\left\{\begin{array}{ll}{x}_{\mathit{\xi}+\mathrm{1}}^{s}& \mathrm{if}\phantom{\rule{0.25em}{0ex}}\phantom{\rule{0.25em}{0ex}}\mathit{\epsilon}{P}_{\mathrm{m}}\\ {x}_{p+\mathrm{1}}^{s}& \mathrm{otherwise}\end{array}\right),\end{array}$$where ${x}_{\mathit{\xi}+\mathrm{1}}^{s}$ is selected from $[{x}_{i}^{s}{]}_{i\in \mathit{\{}\mathrm{1},\mathrm{\dots},n\mathit{\}}}$ with equal probability for $i=\mathrm{1},\mathrm{\dots},n$, and ε is a uniform random number between 0 and 1. This mutation procedure allows to generate a multisite occurrence combination that is totally different from the historical records. Without this procedure, multisite occurrences always similar to historical combinations are generated, which is not feasible for a simulation purpose.
 a.

Repeat steps (1)–(6) until the required data are generated.
The selection of the number of nearest neighbors (k) has been investigated by Lall and Sharma (1996) and Lee and Ouarda (2011). A simple selection method was applied in the current study as $k=\sqrt{n}$. For hydrometeorological stochastic simulation, this heuristic approach of the k selection has been employed (Lall and Sharma, 1996; Lee and Ouarda, 2012; Lee et al., 2010; Prairie et al., 2006; Rajagopalan and Lall, 1999). One can use generalized crossvalidation (GCV) as shown in Lall and Sharma (1996) and Lee and Ouarda (2011) by treating this simulation as a prediction problem. However, the current multisite occurrence simulation does not necessarily require an accurate value prediction and not much difference in simulation using the simple heuristic approach has been reported. Also, this heuristic approach of the k selection has been popularly employed for hydrometeorological stochastic simulations (Lall and Sharma, 1996; Lee and Ouarda, 2012; Lee et al., 2010; Prairie et al., 2006; Rajagopalan and Lall, 1999).
In Appendix A, an example of the DKNNR simulation procedure is explained in detail.
3.2 Adaptation to climate change
The capability of model to take climate change into account is critical. For example, the marginal distributions and transition probabilities in Eqs. (5) and (3) can change in future climate scenarios. It is known that nonparametric simulation models have difficulty adapting to climate change, since the models employ in general the current observation sequences. However, the proposed model in the current study possesses the capability to adapt to the variations of probabilities by tuning the crossover and mutation probabilities in P_{cr} (Eq. 13) and P_{m} (Eq. 14), adding the condition when applied.
For example, the probability of P_{11} can be increased with the crossover probability P_{cr} by adding the condition to increase the probability of P_{11} as
It is obviously possible to increase the probability of P_{1} by removing the condition of ${X}_{c}^{s}=\mathrm{1}$.
In addition, further adjustment can be made with the mutation process in Eq. (14) as
This adjustment of adding the condition ${x}_{\mathit{\xi}+\mathrm{1}}^{s}=\mathrm{1}$ can increase the marginal distribution as much as P_{m}×P_{1}. This has been tested in a case study.
For testing the occurrence model, 12 weather stations were selected from the Yeongnam province, which is located in the southeastern part of South Korea, as shown in Fig. 1. Information on longitude and latitude (fourth and fifth columns), as well as order index and the identification number (first and second columns) of these stations operated by Korea Meteorological Administration with the area name (third column), is shown in Table 1. The employed precipitation dataset presents strong seasonality, since this area is dry from late fall to early autumn and humid and rainy during the remaining seasons, especially in summer. The employed stations are not far from each other, at most 100 km apart, and not many high mountains are located in the current study area. Therefore, this region can be considered as a homogeneous region (Lee et al., 2007).
Figure 1 illustrates the locations of the selected weather stations. All the stations are inside Yeongnam province, which consists of two different regions (north and south Gyeongsang), as well as the selfgoverning cities of Busan, Daegu, and Ulsan. Most of the Yeongnam region is drained to the Nakdong River. To validate the proposed model appropriately, test sites must be highly correlated with each other as well as have significant temporal relation. The stations inside the Yeongnam area cover one of the most important watersheds, the Nakdong River basin, where the Nakdong River passes through the entire basin, and its hydrological assessments for agriculture and climate change have a particular value in flood control and water resources management such as floods and droughts.
^{∗} The station number indicates the identification number operated by Korea Meteorological Administration (KMA).
It is important to analyze the impact of weather conditions for planning agricultural operations and water resources management, especially during the summer season, because around 50 %–60 % of the annual precipitation occurs during the summer season from June to September. The length of daily precipitation data record ranges from 1976 to 2015 and the summer season record was employed, since a large number of rainy days occur during summer and it is important to preserve these characteristics. Also, the wholeyear dataset was tested and other seasons were further applied but the correlation coefficient was relatively high and its estimated correlation matrix was not a positive semidefinite matrix for the MONR model.
To analyze the performance of the proposed DKNNR model, the occurrence of precipitation was simulated. The DKNNR simulation was compared with that of the MONR model. For each model, 100 series of daily occurrence with the same record length were simulated. The key statistics of observed data and each generated series, such as transition probabilities (P_{11}, P_{01}, and P_{1}) and crosscorrelation (see Eq. 10), were determined. The MONR model underestimated the lag1 crosscorrelation, as indicated by Wilks (1998). In the current study, this statistic was analyzed, since a synopticscale weather system often results in lagged crosscorrelation for daily precipitation data (Wilks, 1998). It was formulated as
Statistics from 100 generated series were evaluated by the root mean square error (RMSE), expressed as
where N is the number of series (here 100), ${\mathrm{\Gamma}}_{m}^{G}$ is the statistic estimated from the mth generated series, while Γ^{h} is the statistic for the observed data. Note that lower RMSE indicates better performance, represented by the summarized error of a given statistic of generated series from the statistic of the observed data.
The 100 simulated statistic values were illustrated with box plots to show their variability as shown in Figs. 5–7. The box of the box plot represents the interquartile range (IQR), ranging from the 25th percentile to the 75th percentile. The whiskers extend up and down to 1.5 times the IQR. The data beyond the whiskers (1.5×IQR) are indicated by a plus sign (+). The horizontal line inside the box represents the median of the data. The statistics of the observed data are denoted by a cross (×). The closer a cross is to the horizontal line inside the box, the better the simulated data from a model reproduce the statistical characteristics of the observed data.
6.1 GA mixing and its probability selection
The roles of crossover probability P_{cr} (Eq. 13) and mutation probability P_{m} (Eq. 14) were studied by Lee et al. (2010). In the current study, we further tested these by selecting an appropriate parameter set of these two parameters with the simulated data from the DKNNR model and the record length of 100 000. RMSE (Eq. 18) of the three transition and limiting probabilities (P_{11}, P_{01}, and P_{1}) between the simulated data and the observed was used, since those probabilities are key statistics that the simulated data must match the observed data, and no parameterization of these probabilities was made for the current DKNNR model. Results are shown in Figs. 2 and 3 for P_{cr} and P_{m}, respectively. For P_{cr} in Fig. 2, the probability of 0.02 shows the smallest RMSE in all transition and limiting probabilities. The RMSE of P_{m} in Fig. 3 shows a slight fluctuation along with P_{m}. However, all three probabilities (P_{11}, P_{01}, and P_{1}) have relatively small RMSEs in P_{m}=0.003. Therefore, the parameter set 0.02 and 0.003 was chosen for P_{cr} and P_{m}, respectively, and employed in the current study. We also tested the simulation without the GA mixing procedure (results not shown). The results showed that no better result could be found from the simulation without GA mixing. The necessity of the GA mixing is further discussed in the following.
We further tested and discuss why the GA mixing is necessary in the proposed DKNNR model as follows. For example, assume that three weather stations are considered and observed data only have the occurrence cases of 000, 001, 011, 010, 011, 100, and 111, among 2^{3}=8 possible cases. In other words, no patterns for 110 and 101 are found in the observed data. Note that 0 indicates dry days and 1 indicates rainy (or wet) days. The KNNR is a resampling process in which the simulation data are resampled from observations. Therefore, no new patterns such as 110 and 101 can be found in the simulated data.
This can be problematic for the simulation purpose in that one of the major simulation purposes is to simulate sequences that might possibly happen in the future. The wet (1) or dry (0) for multisite precipitation occurrence is decided by the spatial distribution of a precipitation weather system. A humid air mass can be distributed randomly, relying on wind velocity and direction, as well as the surrounding air pressure. In general, any combinations of wet and dry stations can be possible, especially when the simulation continues infinitely. Therefore, the patterns of simulated data must be allowed to have any possible combinations (here 4096), even if they have not been observed from the historical records. Also, the probability to have this new pattern must not be high, since it has not been observed in the historical records, and this can be taken into account by low probability of the crossover and mutation.
This drawback of the KNNR model frequently happens in multisite occurrence as the number of stations increases. Note that the number of patterns increases as 2^{n}, where n is the number of stations. If n=12, then 4096 cases must be observed. However, among 4096 cases, observed cases are limited, since the amount of data is limited. The GA process can mix two candidate patterns to produce new patterns. For example, in the threestation case, a new pattern of 101 can be produced from two observed occurrence candidates of 001 and 100 by the crossover of the first value of 001 with the first value of 100 (i.e., 001→101), which is not in the observed data.
Note that the data employed in the case study are 40 years and 122 days (summer months) in each year. The total number of the observed data is 4880 and the number of possible cases is 4096. We checked the number of possible cases that were not found in the observed data. The result shows that 3379 cases were not observed at all for the entire cases as shown in Fig. 4.
We further investigated the number of new patterns that were generated with the probabilities P_{cr}=0.02, P_{m}=0.001 by the proposed GA mixing. The generated data for 100 sequences from DKNNR with the GA mixing show that the number 3379 was reduced to 1200, which is not in the dataset among the 4096 possible patterns. Therefore, more than 2000 new patterns were simulated with the GA mixing process. The KNNR model without the GA mixing did not produce any new patterns in the 100 sequences with the same length of the historical data.
6.2 Occurrence and transition probabilities
The data simulated from the proposed DKNNR model and the existing MONR model were analyzed. The estimated transition probabilities (P_{11} and P_{01} in Eq. 3) as well as the occurrence probability (P_{1} in Eq. 5) are shown in Table 2 and Figs. 5–7 for the observed data and the data generated from the DKNNR and MONR models. In Table 2, the observed statistic shows that P_{11} is always higher than P_{01}, and P_{1} is between P_{11} and P_{01}. Site 6 shows the lowest P_{11} and P_{1}, and site 12 shows the highest P_{11}.
As shown in Fig. 5, the probability P_{11} of the observed data shows that sites 6, 7, 8, and 9 located in the northern part of the region exhibited lower consistency (i.e., consecutive rainy days) than did the other sites, while sites 5 and 12 had higher probability of P_{11} than did other sites. Both models preserved well the observed P_{11} statistic. It seems that the MONR model had a slightly better performance, since this statistic is parameterized in the model, as shown in Sect. 2.2, and that is the same for P_{01} and P_{1}, as shown in Figs. 6 and 7. Note that the MONR model employed the transition probabilities in simulating rainfall occurrence, while the DKNNR model did not. The occurrence probability P_{1} can be described with the combination of transition probabilities as in Eq. (5). Even though the transition probabilities were not employed in simulating rainfall occurrence, the DKNNR model preserved this statistic fairly well.
In the DKNNR modeling procedure, the simple distance measurement in Eq. (11) allows to preserve transition probabilities in that the following multisite occurrence is resampled from the historical data whose previous states of multisite occurrence (${x}_{i}^{s}$) are similar to the current simulation multisite occurrence (${X}_{c}^{s}$). This summarized distance (D_{i}) is an essential tool in the proposed DKNNR modeling. The condition of the current weather system is memorized and the system is conditioned on simulating the following multisite occurrence with the distance measurement like a precipitation weather system dynamically changes, but often it impacts the system of the following day.
As shown in Fig. 6, the P_{01} probability showed a slightly different behavior such that sites 1, 2, and 3 located in the middle part of the Yeongnam province showed a higher probability than did other sites. A slight underestimation was seen for sites 2 and 11 but it was not critical, since its observed value with a cross mark was close to the upper IQR representing the 75th percentile.
The behavior of P_{1} was found to be the same as that of the P_{11} probability. It can be seen in Fig. 7a that no significant underestimation is seen for the DKNNR model. The P_{1} statistic was fairly preserved by both DKNNR and MONR models. Note that the MONR model parameterized the P_{1} statistic through the transition probabilities as in Eq. (5), while the DKNNR model did not. Although the DKNNR model used almost no parameters for simulation, the P_{1} statistic was preserved fairly well.
6.3 Crosscorrelation
Crosscorrelation is a measure of the relationship between sites. The preservation of crosscorrelation is important for the simulation of precipitation occurrence and is required in the regional analysis for water resources management or agricultural applications. Furthermore, lagged crosscorrelation is also as essential as crosscorrelation (i.e., contemporaneous correlation). For example, the amount of streamflow for a watershed from a certain precipitation event is highly related to lagged crosscorrelation.
Daily precipitation occurrence, in general, shows the strongest serial correlation at lag1 and its correlation decays as the lag gets longer. This is because a precipitation weather system moves according to the surrounding pressure and wind direction that dynamically change within a day or week. Therefore, we analyzed the lag1 crosscorrelation in the current study as the representative lagged correlation structure.
Note that no negative value can be found, implying that the DKNNR model preserves the crosscorrelation better than the MONR model.
^{∗} Values in bold font represent lag1 autocorrelation (i.e., the one lagged correlation for the same site).
The crosscorrelation of observed data is shown in Table 3. High crosscorrelation among grouped sites, such as sites 6, 7, and 8 (northern part) and sites 3, 4, and 5, as well as 12 (southeast coastal area, 0.68–0.87), was found. As expected, sites 5 and 12 had the highest crosscorrelation (0.87) due to proximity. The northern sites and coastal sites showed low crosscorrelation. This observed crosscorrelation was well preserved in the data generated from both DKNNR and MONR models, as shown in Fig. 8 as well as Tables 4 and 5. However, consistently slight but significant underestimation of crosscorrelation was seen for the data generated by the MONR model (see Fig. 8b). Note that the error bars are extended to upper and lower lines of the circles to 1.95 times the standard deviation. The difference of RMSE in Table 6 showed this characteristic, as most of the values were positive, indicating that the proposed DKNNR model performed better for crosscorrelation.
The lag1 crosscorrelation of observed data, as shown in Table 7, ranged from 0.22 to 0.35. The lag1 crosscorrelation for the same site (i.e., ρ_{1}(q,s), q=s) was autocorrelation and was highly related to P_{01} and P_{11} as in Eq. (6). All the lag1 crosscorrelations exhibited similar magnitudes even for autocorrelation. This implies that the lag1 crosscorrelation among the selected sites was as strong as the autocorrelation and as much as the transition probabilities P_{01} and P_{11} thereof.
The observed lag1 crosscorrelations were well preserved in the data generated by the DKNNR model, as shown in Fig. 9a, while the MONR model showed significant underestimation, as seen in Fig. 9b. The difference of RMSE shown in Table 8 reflects this behavior. In Fig. 9b, some of the lag1 crosscorrelations were well preserved, that were aligned with the baseline. From Table 8, the MONR model reproduced the autocorrelations well with the shaded values. It is because the lag1 autocorrelation was indirectly parameterized with the transition probabilities of P_{11} and P_{01} as in Eq. (6). Other than this autocorrelation, the lag1 crosscorrelation was not reproduced well with the MONR model. This shortcoming was mentioned by Wilks (1998). Meanwhile, the proposed DKNNR model preserved this statistic without any parameterization.
We further tested the performance measurements of mean absolute error (MAE) and bias whose estimates showed that MAE had no difference from RMSE. In addition, bias of lag1 correlation presented significant negative values, implying its underestimation for the simulated data of the MONR model as shown in Table 9, while Table 10 of the DKNNR model showed a much smaller bias.
Also, the wholeyear data instead of the summer season data were tested for model fitting. Note that all the results presented above were for the summer season data (June–September), as mentioned in Sect. 4 in the data description. The lag1 crosscorrelation is shown in Fig. 10, which indicates that the same characteristic was observed as for the summer season, such that the proposed DKNNR model preserved better the lagged crosscorrelation than did the existing MONR model. Other statistics, such as correlation matrix and transition probabilities, exhibited the same results (not shown). Also, other seasons were tried but the estimated correlation matrix was not a positive semidefinite matrix and its inverse cannot be made for multivariate normal distribution in the MONR model. It was because the selected stations were close to each other (around 50–100 km) and produced high crosscorrelation, especially in the occurrence during dry seasons. Special remedy for the existing MONR model should be applied, such as decreasing crosscorrelation by force, but further remedy was not applied in the current study since it was not within the current scope and focus.
6.4 Adaptation to climate change
Model adaptability to climate change in hydrometeorological simulation models is a critical factor, since one of the major applications of the models is to assess the impact of climate change. Therefore, we tested the capability of the proposed model in the current study by adjusting the probabilities of crossover and mutation as in Eqs. (15) and (16). A number of variations can be made with different conditions.
In Fig. 11, the changes of transition and marginal probabilities are shown, along with the increase of crossover probability P_{cr} from 0.01 to 0.2 with the condition that the candidate value is 1 and the previous value is also 1 as in Eq. (15) for the selected 5 stations among the 12 stations (from station 1 to station 5; see Table 1 for details). The stations were limited in this analysis due to computational time. In each case, 100 series were simulated. The average value of the simulated statistics is presented in the figure. It is obvious that the transition probability P_{11} increased as intended along with the increase of P_{cr}. As expected from Eq. (5), P_{1} presents that the change of P_{1} is highly related to P_{11}. However, the probability P_{01} fluctuated along with the increase of P_{cr}. Elaborate work to adjust all the probabilities is however required.
The changes in transition and marginal probabilities are presented in Fig. 12 with increasing mutation probability P_{m} from 0.01 to 0.2 under the condition that the candidate value is 1, so that the marginal probability P_{1} increased. P_{01} also increased along with increasing P_{1}. The change of P_{11} was not related to other probabilities. The combination of the adjustment of P_{cr} and P_{m} with a certain condition to the previous state will allow the specific adaptation for simulating future climatic scenarios.
As an example, assume that the occurrence probability (P_{1}) of the control period is 0.26 (see the dotted line with a cross in the bottom panels of Figs. 11 and 12) and global circulation model (GCM) output indicates that the occurrence probability (P_{1}) increases up to 0.27. This can be achieved with increasing either the crossover probability to 0.1 or the mutation probability to 0.05. Note that the crossover probabilities might cause the stations to affect each other, while the mutation probabilities do not.
Climate change, however, may refer to a larger phenomenon, which cannot be addressed directly through modifying only the marginal and transition probabilities as in the current study. Further model development on systematically varying temporal and spatial crosscorrelations is required to properly address climate change of the regional precipitation system.
In the current study, the discrete version of a nonparametric simulation model, based on KNNR, is proposed to overcome the shortcomings of the existing MONR model, such as long stochastic simulation for parameter estimation and underestimation of the lagged crosscorrelation between sites, as well as testing the adaptability for climatic change. Occurrence and transition probabilities and crosscorrelation, as well as lag1 crosscorrelation are estimated for both models. Better preservation of crosscorrelation and lag1 crosscorrelation with the DKNNR model than the MONR model is observed. For some cases (i.e., the wholeyear data and seasons other than the summer season), the estimated crosscorrelation matrix is not a positive semidefinite matrix, so the multivariate normal simulation is not applicable for the MONR model, because the tested sites are close to each other with high crosscorrelation.
Results of this study indicate that the proposed DKNNR model reproduces the occurrence and transition probabilities satisfactorily and preserves the crosscorrelations better than the existing MONR model. Furthermore, not much effort is required to estimate the parameters in the DKNNR model, while the MONR model requires a long stochastic simulation just to estimate each parameter. Thus, the proposed DKNNR model can be a good alternative for simulating multisite precipitation occurrence.
We further tested the enhancement of the proposed model for adapting to climate change by modifying the mutation and crossover probabilities (P_{m} and P_{cr}). Results show that the proposed DKNNR model has the capability to adapt to the climate change scenarios, but further elaborate work is required to find the best probability estimation for climate change. Also, only the marginal and transition probabilities cannot address the climate change of regional precipitation. The variation of temporal and spatial crosscorrelation structure must be considered to properly address the climate change of the regional precipitation system. Further study on improving the model adaptability to climate change will follow in the near future. Also, the simulated multisite occurrence can be coupled with a multisite amount model to produce precipitation events, including zero values. Further development can be made for multisite amount models with a nonparametric technique, such as KNNR and bootstrapping.
DKNNR code is written in Matlab and is available as a Supplement.
The precipitation data employed in the current study are downloadable through https://data.kma.go.kr/cmmn/main.do (Korea Meteorological Administration, 2019).
The supplement related to this article is available online at: https://doi.org/10.5194/gmd1211892019supplement.
TL and VPS conceived of the presented idea. TL developed the theory and programming. VPS supervised the findings of the current work and the writing of the manuscript.
The authors declare that they have no conflict of interest.
This work was supported by the National Research Foundation of Korea (NRF) grant (NRF2018R1A2B6001799) funded by the South Korean government (MEST).
This paper was edited by Jeffrey Neal and reviewed by two anonymous referees.
Apipattanavis, S., Podesta, G., Rajagopalan, B., and Katz, R. W.: A semiparametric multivariate and multisite weather generator, Water Resour. Res., 43, W11401, https://doi.org/10.1029/2006WR005714, 2007.
Beersma, J. J. and Buishand, A. T.: Multisite simulation of daily precipitation and temperature conditional on the atmospheric circulation, Clim. Res., 25, 121–133, 2003.
Brandsma, T. and Buishand, T. A.: Simulation of extreme precipitation in the Rhine basin by nearestneighbour resampling, Hydrol. Earth Syst. Sci., 2, 195–209, https://doi.org/10.5194/hess21951998, 1998.
Buishand, T. A. and Brandsma, T.: Multisite simulation of daily precipitation and temperature in the Rhine basin by nearestneighbor resampling, Water Resour. Res., 37, 2761–2776, 2001.
Chau, K. W.: Use of metaheuristic techniques in rainfallrunoffmodelling, Water (Switzerland), 9, 186, https://doi.org/10.3390/w9030186, 2017.
Evin, G., Favre, A.C., and Hingray, B.: Stochastic generation of multisite daily precipitation focusing on extreme events, Hydrol. Earth Syst. Sci., 22, 655–672, https://doi.org/10.5194/hess226552018, 2018.
Fotovatikhah, F., Herrera, M., Shamshirband, S., Chau, K. W., Ardabili, S. F., and Piran, M. J.: Survey of computational intelligence as basis to big flood management: Challenges, research directions and future work, Eng. Appl. Comp. Fluid, 12, 411–437, 2018.
Frost, A. J., Charles, S. P., Timbal, B., Chiew, F. H. S., Mehrotra, R., Nguyen, K. C., Chandler, R. E., McGregor, J. L., Fu, G., Kirono, D. G. C., Fernandez, E., and Kent, D. M.: A comparison of multisite daily rainfall downscaling techniques under Australian conditions, J. Hydrol., 408, 1–18, 2011.
Hughes, J. P., Guttorp, P., and Charles, S. P.: A nonhomogeneous hidden Markov model for precipitation occurrence, J. Roy. Stat. Soc. CApp., 48, 15–30, 1999.
Jeong, D. I., StHilaire, A., Ouarda, T. B. M. J., and Gachon, P.: Multisite statistical downscaling model for daily precipitation combined by multivariate multiple linear regression and stochastic weather generator, Climatic Change, 114, 567–591, 2012.
Jeong, D. I., StHilaire, A., Ouarda, T. B. M. J., and Gachon, P.: A multisite statistical downscaling model for daily precipitation using global scale GCM precipitation outputs, Int. J. Climatol., 33, 2431–2447, 2013.
Katz, R. W.: Precipitation as a ChainDependent Process, J. Appl. Meteorol., 16, 671–676, 1977.
Katz, R. W. and Zheng, X.: Mixture model for overdispersion of precipitation, J. Climate, 12, 2528–2537, 1999.
Korea Meteorological Administration: Meteorological Data Open Portal, available at: https://data.kma.go.kr/cmmn/main.do, last access: 26 March 2019.
Lall, U. and Sharma, A.: A nearest neighbor bootstrap for resampling hydrologic time series, Water Resour. Res., 32, 679–693, 1996.
Lee, T.: Stochastic simulation of precipitation data for preserving key statistics in their original domain and application to climate change analysis, Theor. Appl. Climatol., 124, 91–102, 2016.
Lee, T.: Multisite stochastic simulation of daily precipitation from copula modeling with a gamma marginal distribution, Theor. Appl. Climatol., 132, 1089–1098, https://doi.org/10.1007/s0070401721470, 2017.
Lee, T. and Ouarda, T. B. M. J.: Identification of model order and number of neighbors for knearest neighbor resampling, J. Hydrol., 404, 136–145, 2011.
Lee, T. and Ouarda, T. B. M. J.: Stochastic simulation of nonstationary oscillation hydroclimatic processes using empirical mode decomposition, Water Resour. Res., 48, 1–15, 2012.
Lee, T. and Park, T.: Nonparametric temporal downscaling with eventbased population generating algorithm for RCM daily precipitation to hourly: Model development and performance evaluation, J. Hydrol., 547, 498–516, 2017.
Lee, T., Salas, J. D., and Prairie, J.: An enhanced nonparametric streamflow disaggregation model with genetic algorithm, Water Resour. Res., 46, W08545, https://doi.org/10.1029/2009WR007761, 2010.
Lee, T., Ouarda, T. B. M. J., and Jeong, C.: Nonparametric multivariate weather generator and an extreme value theory for bandwidth selection, J. Hydrol., 452–453, 161–171, 2012.
Lee, T., Ouarda, T. B. M. J., and Yoon, S.: KNNbased local linear regression for the analysis and simulation of low flow extremes under climatic influence, Clim. Dynam., 49, 3493–3511, https://doi.org/10.1007/s0038201735250, 2017.
Lee, Y.S., Heo, J.H., Nam, W., and Kim, K.D.: Application of Regional Rainfall Frequency Analysis in South Korea(II): Monte Carlo Simulation and Determination of Appropriate Method, Journal of the Korean Society of Civil Engineers, 27, 101–111, 2007.
Mehrotra, R., Srikanthan, R., and Sharma, A.: A comparison of three stochastic multisite precipitation occurrence generators, J. Hydrol., 331, 280–292, 2006.
Prairie, J. R., Rajagopalan, B., Fulp, T. J., and Zagona, E. A.: Modified KNN model for stochastic streamflow simulation, J. Hydrol. Eng., 11, 371–378, 2006.
Rajagopalan, B. and Lall, U.: A knearestneighbor simulator for daily precipitation and other weather variables, Water Resour. Res., 35, 3089–3101, 1999.
Srikanthan, R. and Pegram, G. G. S.: A nested multisite daily rainfall stochastic generation model, J. Hydrol., 371, 142–153, 2009.
StHilaire, A., Ouarda, T. B. M. J., Bargaoui, Z., Daigle, A., and Bilodeau, L.: Daily river water temperature forecast model with a knearest neighbour approach, Hydrol. Process., 26, 1302–1310, 2012.
Taormina, R., Chau, K. W., and Sivakumar, B.: Neural network river forecasting through baseflow separation and binarycoded swarm optimization, J. Hydrol., 529, 1788–1797, 2015.
Todorovic, P. and Woolhiser, D. A.: Stochastic model of nday precipitation J. Appl. Meteorol., 14, 17–24, 1975.
Wang, W. C., Xu, D. M., Chau, K. W., and Chen, S.: Improved annual rainfallrunoff forecasting using PSOSVM model based on EEMD, J. Hydroinform., 15, 1377–1390, 2013.
Wilby, R. L., Tomlinson, O. J., and Dawson, C. W.: Multisite simulation of precipitation by conditional resampling, Clim. Res., 23, 183–194, 2003.
Wilks, D. S.: Multisite generalization of a daily stochastic precipitation generation model, J. Hydrol., 210, 178–191, 1998.
Wilks, D. S.: Multisite downscaling of daily precipitation with a stochastic weather generator, Clim. Res., 11, 125–136, 1999.
Wilks, D. S. and Wilby, R. L.: The weather generation game: a review of stochastic weather models, Prog. Phys. Geog., 23, 329–357, 1999.
Zheng, X. and Katz, R. W.: Simulation of spatial dependence in daily rainfall using multisite generators, Water Resour. Res., 44, W09403, https://doi.org/10.1029/2007WR006399, 2008.