Stepwise selection of functional covariates in forecasting peak levels of olive pollen
Abstract
Projects MTM2010-20502 from Dirección General de Investigación del MEC, Spain and FQM-307 from Consejería de Innovación, Ciencia y Empresa de la Junta de Andalucía Spain
Full text
Stepwise selection of functional covariates in forecasting peak levels of olive pollen Manuel Escabias; Mariano J. Valderrama; Ana M. Aguilera; M. Elena Santofimia; M. Carmen Aguilera-Morillo Stepwise selection of functional covariates in forecasting peak levels of olive pollen Stoch Environ Res Risk Assess (2013) 27:367–376 DOI: 10.1007/s00477-012-0655-0 1
ORIGINAL PAPER Stepwise selection of functional covariates in forecasting peak levels of olive pollen Manuel Escabias •Mariano J. Valderrama • Ana M. Aguilera •M. Elena Santofimia • M. Carmen Aguilera-Morillo Published online: 27 October 2012 ÓSpringer-Verlag Berlin Heidelberg 2012 Abstract High levels of airborne olive pollen represent a problem for a large proportion of the population because of the many allergies it causes. Many attempts have been made to forecast the concentration of airborne olive pollen, using methods such as time series, linear regression, neural networks, a combination of fuzzy systems and neural networks, and functional models. This paper presents a functional logistic regression model used to study the relationship between olive pollen concentration and different climatic factors, and on this basis to predict the probability of high (and possibly extreme) levels of airborne pollen, selecting the best subset of functional climatic variables by means of a stepwise method based on the conditional likelihood ratio test. Keywords Olea europaea L. airborne pollen Functional-logit-regression Selection of functional predictors 1 Introduction High concentrations of olive pollen occur every year in late spring and early summer in provinces of southern Spain (Jae ´n, Granada and Co ´rdoba) where olives are the main crop; in Granada, 49.5 % of the total area dedicated to agriculture (127,208 Ha) is occupied by olive trees (see Alba et al. 2000). High levels of airborne olive pollen constitute a problem for many inhabitants of these areas because of the amount of allergies it causes; indeed, many people are forced to move away during this time of the year. According to earlier studies (D’Amato and Lobefalo 1989; Macchia et al. 1991), olive trees are the primary cause of pollen-related allergies in the Mediterranean region as a whole. In southern Spain, 71 % of the population is affected (Dı ´az de la Guardia et al. 2003). In consequence, many authors have sought to forecast airborne olive pollen concentrations, using methods such as time series (Belmonte and Canela 2002) or have applied linear regression to determine the factors that influence on it (Vazquez et al. 2003; Diaz de la Guardia et al. 2003). Recently, more sophisticated methods have been used in this field, by Castellano-Mendez et al. (2005), who used neural networks, and by Aznarte et al. (2007), who combined fuzzy systems and neural networks to model Betula pendula in the air. A different approach was taken by Ocan ˜a-Peinado et al. (2008), who used principal component analysis to model the inertia process of a transfer function model. Valderrama et al. (2010) developed a two-step functional model to forecast cypress pollen concentration. This latter paper offers a different standpoint for studying the relationship between olive pollen concentration and various other factors, from the perspective of functional data analysis. Under functional data analysis methodology, the continuity and time-dependency of variables are used as tools M. Escabias (&)M. J. Valderrama M. C. Aguilera-Morillo Facultad de Farmacia, Universidad de Granada, Campus de Cartuja, 18071 Granada, Spain e-mail: [email protected] M. J. Valderrama e-mail: [email protected] M. C. Aguilera-Morillo e-mail: [email protected] A. M. Aguilera Facultad de Ciencias, Universidad de Granada, Campus Fuentenueva, 18071 Granada, Spain e-mail: [email protected] M. E. Santofimia IES La Laguna, Consejerı ´a de Educacio ´n - Junta de Andalucı ´a, Vicente Aleixandre S.N., Padul, 18640 Granada, Spain e-mail: [email protected] 123 Stoch Environ Res Risk Assess (2013) 27:367–376 DOI 10.1007/s00477-012-0655-0
for modelling and forecasting variables. In the case of olive pollen, it would be very interesting to know the probability of high or extreme levels of airborne pollen concentration in order to minimise its allergenic effect. Functional logit regression fits this aim perfectly. The functional logistic regression model was defined to model and predict a binary response variable from a functional predictor. To this end, various functional models have been proposed (Cardot and Sarda 2005; Rossi et al. 2002). Ramsay and Silverman (1997) proposed diverse functional models based on basis expansion, and since then other authors have adopted these methods to predict a binary outcome from functional predictors (Ratcliffe et al. 2002; Escabias et al. 2004; Aguilera et al. 2008b). As stated above, many studies about the factors that may influence the amount or time evolution of airborne olive pollen have been developed (Alba et al. 2000; Gala ´n et al. 2005 and Valderrama et al. 2010). Its concentration on any given day is mainly influenced by the pollen concentration, temperature, hours of sunshine, humidity and rainfall during the immediately preceding days. The influence of the wind varies from one zone to another, with no well-defined pattern of association. The temperature may have influence in different ways; for example, different effects are exerted by the maximum, minimum and mean temperatures, and by different ranges of temperature; moreover, there may be a slighter influence below a certain temperature and a greater one above it. Furthermore, the influence is not the same everywhere; different areas are affected in different ways by different factors. Another fact to be taken into account is that there are differences between the effects of pollen concentration throughout the pollination season and its effects in the pre-peak period, i.e., the period preceding the maximum level of pollen concentration (Va ´zquez 2003). Sa ´nchez-Mesa et al. (2002) defined a classification of successive years on the basis of the weather factors affecting grasses and their emission of pollen. Better knowledge of the climatic conditions that affect olive pollen emission would enable us to classify these years from a meteorological point of view and thus obtain a general model of olive pollen concentration. In the present paper, the phenomenon analysed—airborne pollen concentration—is a seasonal one. The main pollen season (MPS) is defined as the period in which the greatest airborne olive pollen concentration occurs. The pollen season as a whole, extends from April to mid/late June, with the greatest air concentrations occurring in May, when rainfall decreases and mean temperatures rise. Nevertheless, MPS has been defined in various ways. For example, Sanchez-Mesa et al. (2002) defined MPS as beginning when a mean value of at least 1 pollen grain/ m 3 /day was detected, and at least 1 grain/m 3 on the following days, with no more than one consecutive day of 0 grains/m 3 ; and the season ended when pollen concentration in the air decreased to 1 or 2 grains/m 3 /day. Other authors define the beginning of the MPS with respect to the chilling period (Gala ´n et al. 2005). It is important to stipulate the MPS very precisely so that the study is not affected by long tails at the beginning and end of the season, which would provoke serious errors in the statistical analysis. In order to fit and predict peaks of airborne pollen concentration in the city of Granada (Spain), we analysed the different meteorological factors that affect this question, using a stepwise method based on a functional logistic regression model. In summary, the main goals of this paper are to: – Model the occurrence of airborne olive pollen peaks, using climatic functional variables. – Predict as accurately as possible the probability of occurrence of airborne olive pollen peaks, by observing the time evolution of these climatic variables. – Identify the climatic variables that best enable us to model the occurrence of olive pollen peaks. – Analyze the forecasting performance of the model. 2 Theory of the functional logit regression model A functional variable is one whose values depend on a continuous magnitude such as time. The statistical tool based on the analysis of functional data is the stochastic process. However in the approach based on basis expansion, as adopted in this paper, the functional (predictor) variables included in the model are not considered to be random. They are functional in the sense that they are evaluated at any time in the domain, instead of the discrete way, in which they were originally measured or observed (Ramsay and Silverman 2005). Thus, a functional data set is a set of curves x1ðtÞ;...;xnðtÞ fg ;with t2T:Each curve can be observed at different time points of his argument tas xi¼xit0 ðÞ;...;ð xitmi ðÞÞ 0for the set of times t0;...;tmi;i¼1;...;nand these are not necessarily the same for each curve. Regardless of the stochastic nature of functional data and the form they are observed (continuously or discretely) the usual assumption in functional data analysis and considered in this work is that the curves belong to the squared integrable functions space L2TðÞdefined as L2TðÞ¼ f:T! R:ZT f2tðÞdt\1 8 < :9 = ;: With the usual scalar product 368 Stoch Environ Res Risk Assess (2013) 27:367–376 123
f;g hi u¼ZT ftðÞgtðÞdt;8f;g2L2TðÞ;ð1Þ this is a separable Hilbert space. Different approaches have been taken to the study of functional data, including the nonparametric methods proposed by Mu ¨ller (2008) and Ferraty and Vieu (2006) and the basis expansion methods used by Ramsay and Silverman (2005). The latter method is adopted in the present study, in which we seek to reconstruct the functional form of curves in order to evaluate them at any time point t. This method assumes that the curves belong to a finite dimensional space generated a basis of functions /1tðÞ;...;/ptðÞ and so they can be expressed as xitðÞ¼X p j¼1 aij/jtðÞ;i¼1;...;n:ð2Þ The functional form of the curves is determined when the basis coefficients ai¼ai1;...;aip 0are known. These can be obtained from the discrete observations either by least squares or by interpolation (see, for example, Escabias et al. 2005,2007). Depending on the characteristics of the curves and the observations, various classes of basis can be used (see, for example, Ramsay and Silverman 2005). In practice, those most commonly used are, on the one hand, the basis of trigonometric functions for regular, periodic, continuous and differentiable curves, and on the other, the basis of B-spline functions, which provides a better local behavior (see De Boor 2001). In order to formulate the functional logit model let Ybe a binary response random variable and let XtðÞ:t2T fg be a functional covariate related to Y.GivenacurvextðÞwe can consider that the conditional distribution of the response to the given curve follows a Bernoulli distribution whose parameter depends on the curve. That parameter is the probability of success and the conditional expectation is expressed pxtðÞðÞ¼PY¼1jXtðÞ¼xtðÞ fg ¼EYjXtðÞ¼xtðÞ:t2T fg ½: Given x1tðÞ;...;xntðÞa sample of curves of the functional predictor and y1;...;yna sample of the response associated with the ncurves, the model is expressed as yi¼piþei¼pxitðÞðÞþei;i¼1;...;n; and in matrix form as Y¼pþeð3Þ where Y¼y1;...;yn ðÞ 0;p¼p1;...;pn ðÞ 0;with pi¼exp aþRTxitðÞbtðÞdt 1þexp aþRTxitðÞbtðÞdt ;i¼1;...;n;ð4Þ e¼e1;...;en ðÞ 0the vector of centered random errors, with unequal variances and a Bernoulli distribution, and bðÞ the functional parameter to be estimated. This model can also be expressed in terms of the logit transformations as li¼ln pi 1pi ¼aþZT xitðÞbtðÞdt;i¼1;...;n;ð5Þ which presents the logistic model as a generalised functional linear model, as proposed by James (2002), with the logit transformation as the link function. One advantage of regression models compared to other prediction models is that we can interpret the relationship between the explanatory variables and the response quantitatively. In the logit case this quantitative relationship is expressed in terms of odds ratios. Thus, the exponential of the integral over the interval t0;t0þhðÞof the functional parameter multiplied by a constant Kis the odds ratio of response Y=1 versus Y=0 when the sample path is constantly increased by Kunits in that interval (Escabias et al. 2005). For a more general increase DXtðÞ¼gtðÞthe odds ratio would be hDXtðÞ¼gðtÞ=Dt¼h½¼exp Zt0þh t0 gtðÞbtðÞdt 8 < :9 = ; Following Ramsay and Silverman (2005) in their explanation for the linear case, the estimation of the functional parameter btðÞis impossible with the usual least squares methods (weighted in this case), since btðÞcontains an uncountable set of values and we would have at most a finite number of conditions. In other words, there could be infinite solutions with a perfect fit of the observations to the response. If we consider the sample paths x1tðÞ;...;xntðÞ expressed in terms of the basis f/1tðÞ;...;/ptðÞg;in the form of Eq. 2and the functional parameter in terms of a different basis fu1tðÞ;...;uqtðÞgas btðÞ¼X q k¼1 bkuktðÞ:ð6Þ The functional logit model in terms of the logit transformations is then expressed as li¼aþX p j¼1X q k¼1 aijwjkbk;i¼1;...;nð7Þ with w jk being the scalar products between the basis functions Stoch Environ Res Risk Assess (2013) 27:367–376 369 123
wjk ¼ZT /jtðÞuktðÞdt;j¼1;...;p;k¼1;...;q: The functional logit model is now a classical logit model which in matrix form and in terms of logit transformations is expressed as L¼Xb where L¼l1;...;ln ðÞ 0is the vector of logit transformations. X¼1jAWðÞis the design matrix, and | indicating the separation between the two boxes of the matrix. 1¼1;...;1ðÞ 0 is a n-length vector of ones. Wis the matrix whose entries (w jk ) are the scalar products (defined in (1)) between basic functions setted abobe. Ais the matrix of sample curve basis coefficients as rows. b¼b0;b1;...;bq 0with b 0 =aare the basis coefficients of the functional parameter. These coefficients would be the parameters of the multiple model to be estimated. A special case occurs when the same basis is used for both the functional parameter and the explanatory curves. Then Wis a square matrix that can be diagonal with a Fourier basis and tridiagonal with a B-splines basis. In this paper we propose the use of a stepwise method to choose the best functional predictors in order to model and predict airborne olive pollen peaks; to do so we show the generalisation of the functional logit model to the case of more than one functional predictor. Let Ybe a binary response and X1tðÞ;X2tðÞ;...;XrtðÞa set of functional predictors related to Y. Let us consider a sample of curves of the predictors xi1tðÞ;...;xir tðÞðÞ 0;i¼ 1;...;nand y1;...;yn;the associated sample of the responses. Then, in terms of the logit transformations, the model is formulated as li¼aþZT xi1tðÞb1tðÞþþxir tðÞbrtðÞðÞdt; i¼1;...;n;ð8Þ being b1tðÞ;...;brtðÞthe rfunctional parameters associated to the functional covariates. By considering the basis expansion of the sample curves in terms of the basis /11ðtÞ;...;/1p1ðtÞ ;...;/r1ðtÞ; f ...;/rprðtÞg respectively in the form xih tðÞ¼X ph j¼1 aijh/hj tðÞ;i¼1;...;n;h¼1;...;r:ð9Þ and also for the functional parameters in the form bhtðÞ¼X qh k¼1 bhkuhk tðÞ;h¼1;...;r:ð10Þ in terms of the basis u11ðtÞ;...;u1q1ðtÞ ;...;ur1ðtÞ;...; f urqrðtÞg;the logit model would be in matrix form and in terms of logit transformations L¼Xb where L¼l1;...;ln ðÞ 0is a vector of logit transformations. X¼1jA1W1jjArWr ðÞis the design matrix of the model. 1¼1;...;1ðÞ 0is a n-length vector of ones. Whis the p h 9q h matrix of scalar products between basis /h1ðtÞ;...;/hphðtÞ and basis uh1ðtÞ;...;uhqhðtÞ ;h¼ 1;...;rdefined by Eq. (1). A1;...;Arare the matrices that have as rows the basis coefficients of the curves. b¼b0jb1jjbr ðÞ 0with bh¼bh1;...;bhqh 0;b0¼a and h¼1;...;rare the vectors of the basis coefficients of the functional parameters. As in the case of a single functional predictor, the same basis can be used in all cases (predictors and parameters). This is done in the application of the airborne olive pollen model. 3 Selection of functional variables The main contribution of this paper is in the selection of climatic functional variables predicting the occurrence of pollen peaks. This selection is based on a forward stepwise method, using conditional likelihood ratio tests. This section describes the particular tests involved in this selection method. 3.1 Goodness of fit test The goodness of fit test is used to determine whether the proposed logit regression model fits the data. In the literature many such tests have been described, and some are compared in Hosmer et al. (1997) for the multiple case. In the present paper, we use the likelihood ratio test based on the Wilks statistic. This test is expressed as H0:pi¼exp aþRTxitðÞbtðÞdt 1þexp aþRTxitðÞbtðÞdt ;i¼1;...;n H1:pi6¼ exp aþRTxitðÞbtðÞdt 1þexp aþRTxitðÞbtðÞdt that is, we seek to determine whether the conditional expectation EYjX¼xitðÞ½¼E½Yi¼pican be expressed as a logit regression model. In general the Wilks statistic follows a chi-square distribution and is defined as 2lnK¼2lnsupH0LX 1;...;Xn;hðÞ sup LX 1;...;Xn;hðÞ H0 n!1v2 d 370 Stoch Environ Res Risk Assess (2013) 27:367–376 123
with dbeing the difference between the dimensions of the two parametric spaces. The Wilks statistic in logistic regression can be expressed as G2ðMÞ¼2lnK ¼2X n i¼1 yiln yi bpi þ1yi ðÞln 1yi 1bpi H0 n!1v2 nq1: with d=n-q-1 and qthe number of non-functional covariates of the model, that is, the number of bases considered for b(t). The G2MðÞstatistic is termed deviance and plays the same role as the sum of squares of residuals in the linear regression model. 3.2 Conditional likelihood ratio test This test is used to choose between two nested models and can be formulated as H0:Model Mhis verified H1:ModelMhis not verified assuming model M; where Mis the logit model with possibly all the functional variables X1ðtÞ;...;XrðtÞand which is assumed to be the true model, and where M h is the model nested in Mwhich is obtained after setting one functional parameter to zero b h (t)=0. This test could be formulated as H0:li¼aþZT xi1ðtÞb1ðtÞþþxiðh1ÞðtÞbh1ðtÞ þxiðhþ1ÞðtÞbhþ1ðtÞþþxirðtÞbrðtÞdt H1:li¼aþZT xi1ðtÞb1ðtÞþþxirðtÞbrðtÞðÞdt or equivalently H0:bhðtÞ¼0 H1:bhðtÞ 6¼ 0 The test statistic can be calculated as the difference between the deviance (goodness of fit statistic) of each model G2Mh=MðÞ¼G2Mh ðÞG2MðÞbecause G2Mh=MðÞ¼2lnLMh LM ¼2LMLMh ðÞ2LSþ2LS ¼2LMhLS ðÞ½2LMLS ðÞ½ ¼G2Mh ðÞG2MðÞ; where LMand LMhare the maxima of the log-likelihood functions of general model Mand the particular one M h respectively, and LSis the maximum of the log-likelihood of the saturated model (Agresti 2002). This statistic can also be expressed as G2Mh=MðÞ¼2lnK¼2X n i¼1 yiln bpiM h ðÞ bpi þ1yi ðÞln 1bpiM h ðÞ 1bpi H0 n!1v2 d: where bpiM h ðÞ and bpiare the predicted probabilities under the M h and Mmodels respectively. The degrees of freedom dof the chi-square distribution of the Wilks statistic are the difference between the number of parameters of each model. In the case of the functional logit model this difference is d=q h . The conditional likelihood ratio test allows the stepwise selection offunctional variables. The forward method consists of examining each step of the variable that is not in the model and whose introduction would further reduce the deviance. Functional variables would be introduced into the model until there is no further significant reduction of the deviance. Step 0. Fit the logit model with no variables, only the intercept term, and calculate its deviance. Set this model as the current model. Step 1. Fit the models obtained by adding to the logit model each of the variables that are not in the current model, and select the variable that most reduces the deviance of the current model. Step 2. If the difference between deviances is lower than a fixed chi-square quantile, stop. Otherwise, update the current model as the one with the selected variable and return to Step 1. 4 Forecasting peaks of airborne olive pollen from functional climatic variables Our database contains daily observations of the concentration of airborne olive pollen, measured in grains per cubic meter of air, in the city of Granada from 1 January 1992 to 30 June 2003. The measurement of this concentration was performed following the standard methodology of the Spanish Aerobiology Society with a Hirst-type collector located at the Faculty of Sciences, University of Granada. Besides the concentration of olive pollen, we recorded the daily values of the following meteorological variables: maximum, minimum and mean temperature, hours of sunlight, relative humidity, rainfall and wind speed. These data were obtained from the Spanish Institute of Meteorology. The MPS coincides with the flowering of the tree, which in the case of the olive takes place in April, May, June and part of July. Various definitions have been given for the beginning and end of the MPS. For example, Sa ´nchez- Mesa et al. (2002) define its start as the day on which an average value of at least one grain of pollen per cubic meter of air is recorded, and when this value is maintained for several consecutive days. The end of the MPS is defined Stoch Environ Res Risk Assess (2013) 27:367–376 371 123
as the day on which there is a decrease to 1 or 2 grains per m 3 . Other authors define the MPS on the basis of the days that exceed a certain average temperature. For our purposes, the MPS is defined as the period from 15 April to 14 July of each year. Figure 1describes the different climatic variables observed in the MPS. The purpose of this study is to model and forecast high levels of olive pollen for the period spanning 1 week, from the evolution of climatic variables during the preceding week. The MPS considered covers 91 days (13 weeks) per year, except in the last year considered (2003), when values were obtained from 15 April to 30 June, and so in this case data were available for 11 weeks. Thus, for each functional variable we had a total of 154 weeks’ data. For our purposes, the binary response variable was defined as taking the value of one in a week if there was at least 1 day when the pollen level exceeded 200 grains per m 3 of air. This is the level of pollen considered by the Spanish Society of Allergology and Clinical Immunology to be dangerous for patients with allergy problems. Of the 154 weeks observed, 43.51 % exceeded this threshold. As stated above, the functional variables used to predict the peak of airborne olive pollen were the weekly curves for maximum, minimum and average temperature, hours of sunshine, relative humidity, rainfall, wind speed and the current concentration of airborne olive pollen. Although we had daily records for these variables, the curves were reconstructed by quasi-natural cubic spline interpolation (Escabias et al. 2005). Figure 2shows interpolation curves for some of the weeks and some of the variables. The reconstruction of these curves can be expressed in terms of the basis of the cubic B-spline functions defined by the nodes 1;2;3;4;5;6;7 fg which was the basis used for all the functional variables considered. To meet our objectives, the multi-functional logistic regression model was used. The first and most important step was to determine the variables, among those available, that best model the response through a multi-functional logistic model. To choose the functional variables that best predict a peak of pollen, the procedure used was a forward-stepwise selection method based on conditional likelihood ratio tests. In order to assess the accuracy of the predictions made by different models, we selected a training sample of size 100 and a test sample of size 54, fitted the model with the training sample and predicted the test sample. Finally, both predictions, on the training sample and on the test sample, were evaluated by the area under the ROC curve and by the rate of correct classifications explained later. After several tests it was found that depending on the training sample chosen, the functional variables that best predicted the occurrence of pollen peaks could vary. To decide which variables were the best predictors of our response, we repeated the sample selection (training and test) 500 times and observed the frequency of appearance of each variable in the model and the order in which it did so. The results of these repetitions are summarised as follows. In the 500 replications of the experiment, the first variable to enter the model and therefore the most important predictor of pollen peaks was the current level of pollen. This corroborates the findings of various authors regarding the self-explanatory capacity of the pollen level (see, for example, Valderrama et al. 2010). In 74 of the 500 replications of the experiment, just two variables entered the model, firstly the level of pollen, and secondly one with the following frequencies: Variable Frequency Maximum temperature 13 Minimum temperature 11 Mean temperature 15 Isolation 10 Humidity 11 Rainfall 11 Wind speed 14 In 22 of the 500 replications of the experiment, four variables entered the model. Because of this small percentage, we chose to reject these replications. In the remaining 404 replications (80.8 %) three optimal functional variables were required to predict pollen peaks. The most important functional variables in this case were as follows: 100 % of the time, the first variable was the level of pollen. Of the remaining variables, the frequencies of appearance in second position in the model are summarised in the following table. Variable Frequency Maximum temperature 16 Minimum temperature 82 Mean temperature 80 Isolation 47 Humidity 96 Rainfall 20 Wind speed 63 Thus, of these variables, humidity entered the model significantly more often than the others. The minimum and mean temperature were the other two most important 372 Stoch Environ Res Risk Assess (2013) 27:367–376 123
0 10203040500 500 1000 150030 40 50 60 70 80 900 5 10 15 20 25 30 0 200 400 600 800 1000 0 200 400 600 800 1000 0246810 0246810121410 20 30 40−5 0 5 10 15 20 25 0 200 400 600 800 1000 0 200 400 600 800 1000 0 200 400 600 800 1000 0 200 400 600 800 1000 0 200 400 600 800 1000 0 200 400 600 800 1000 Fig. 1 Sample paths of functional covariates Stoch Environ Res Risk Assess (2013) 27:367–376 373 123
variables in frequency, with the minimum temperature being slightly the more significant. It should be noted that the average temperature used in this database is the average of the maximum and minimum temperatures. Of these two values, peak pollen levels are more strongly affected by the minimum temperature. In summary, after current pollen levels, the two most important variables for predicting peak pollen appear to be the minimum temperature and humidity. The importance of these two variables is confirmed by the fact that the 96 occasions on which the second most important variable was humidity, the remaining variables entered in third place with the following frequencies: Variable Frequency Maximum temperature 7 Minimum temperature 32 Mean temperature 8 Isolation 29 Rainfall 14 Wind speed 6 On the 82 occasions on which the minimum temperature entered in second place, the distribution of variables that entered in third place was: Variable Frequency Maximum temperature 13 Mean temperature 9 Isolation 10 Humidity 32 Rainfall 10 Wind speed 8 To evaluate the predictive ability of the model, we used the rate of correct classifications and the area under the ROC curve. 1234567 1234567 1234567 1234567 30 40 50 60 70 80 02468101214 02468 01020304050 Fig. 2 Interpolated curves for some predictor variables Table 1 Summary of correct classification rates and ROC areas Training samples Test samples ROC CCR ROC CCR Mean 0.99 98.6 0.78 75.98 ST. Dev 0.029 3.344 0.069 6.085 Mı ´n 0.84 83.0 0.59 57.41 Q 1 1.00 100 0.74 72.22 Q 2 1.00 100 0.78 75.93 Q 3 1.00 100 0.82 79.63 Ma ´x 1.00 100 0.97 90.74 374 Stoch Environ Res Risk Assess (2013) 27:367–376 123