Analysis and Models in Interdisciplinary Mathematics 2015View this Special Issue
Research Article | Open Access
A Probabilistic Analysis to Quantify the Effect of March 11, 2004, Attacks in Madrid on the March 14 Elections in Spain: A Dynamic Modelling Approach
The bomb attacks in Madrid three days before the general elections of March 14, 2004, and their possible influence on the victory of PSOE (Spanish Workers Socialist Party), defeating PP (Popular Party), have been a matter of study from several points of view (i.e., sociological, political, or statistical). In this paper, we present a dynamic model based on a system of differential equations such that it, using data from Spanish CIS (National Center of Sociological Research), describes the evolution of voting intention of the Spanish people over time. Using this model, we conclude that the probability is very low that the PSOE would have won had the attack not happened. Moreover, after the attack, the PSOE increased an average of 5.6% in voting on March 14 and an average of 11.2% of the Spanish people changed their vote between March 11 and March 14. These figures are in accordance with other studies.
In March 11, 2004, there was a terrorist bomb attack in Madrid. As a consequence, 192 people died and around 2000 were wounded. Three days after, on March 14, general elections were held in Spain.
The PSOE (socialist party) unexpectedly won the March 14 elections. Consequently, some authors and people in general have wondered if the victory of the PSOE would have occurred if the attacks had not happened.
In the book , the authors tried to analyse what happened these days through different points of view. Most of them conclude that the victory of the PSOE would have happened independently of the March 11 attacks, maybe with a more reduced difference, and they attribute an increasing of 2%–4% of the votes to PSOE after the attacks. In particular, in [4, 5], they use statistical techniques and different surveys before the attack to quantify the effect of the March 11 attack on the results of the general elections, and in  the authors conclude that the increase of the votes to PSOE was 3.88% and in  3.5% with a decrease in the PP of 5%.
However, in , the author states that the PSOE victory was an unexpected electoral upset for the incumbent party and using also data from surveys, before and after the elections, she analyses the impact of the Madrid attacks on Spanish citizens’ participation and vote choice.
In this way, it is mentioned in  that against all forecasts published up to a week before the election and against widespread expectations on the previous Thursday and Friday, on Sunday March 14 the PSOE won almost 11 million votes. Also, it is remarked in  that 2.6 million voters, more than 10%, changed their behaviour as a consequence of the attacks .
In this paper, we propose a dynamic model based on nonlinear differential equations to study how the voting intention evolved. Differential equations have been successfully applied to model social phenomena and they are not a novel idea to deal with such models. Some examples are as follows: in  one explores a variety of specifications using differential equations that address the dynamics of a class consciousness and the left of vote; from a sociological standpoint, in  authors discuss a number of methodological approaches to the study of social dynamics using systems of differential equations; in  one considers differential equations in an award-winning treatment of political interstates rivalries; in  differential equations are used to model environmental degradation as a consequence of political decisions to either exploit or defend the environment.
In , the author exhibits a number of advantages, both theoretical and practical, of using differential equations to model social phenomena. Apart from retaining the capability of making punctual and probabilistic (confidence intervals) predictions as classical statistical techniques do, nonlinear differential equations allow us to model social behaviour which is a key feature that determines/influences voting intention. Additional advantages of this approach include that it does not need a large amount of available data to simulate different scenarios and predict future situations in any time instant.
As we mentioned above, we are going to build a dynamic model based on nonlinear differential equations to study the evolution of the votes. With the proposed model, we use the CIS data, from October 2002 until January 2004 assuming that each individual may be influenced by his/her environment (friends, mates, media, etc.) to change his/her voting intention. Once the model is stated and calibrated to the CIS data, we will be able to predict the voting intention of the Spanish people on March 14 as if the bomb attacks had not happened with a confidence interval of 95%. Then, we will compare the real results of the March 14 elections to the ones predicted by the model in order to find out if the March 11 attacks and the events occurring between March 11 and March 14 had influence on the results and, if so, quantify it.
The paper is organized as follows. In Section 2, we describe the model building. In Section 3, the model is applied to obtain the voting intention of the Spanish people on March 14 as if the bomb attacks had not happened. Section 4 is devoted to presenting and analysing the results. Finally, in Section 5, we present the conclusion.
2. Model Building
We retrieve data from CIS  on the voting intention of Spanish people from October 2002 until January 2004, the last before the March 14 elections. Taking into account that the electoral victory was disputed between PP and PSOE, we consider only four options among those described in the CIS surveys: voting intention to PSOE, to PP, to other political parties, and abstention. Data grouped in these four groups can be seen in Table 1 and are depicted in Figure 1.
Table 2 collects the results of the March 14, 2004, elections . If we compare them against the CIS data in Table 1 for January 2004, we can note substantial changes in PSOE and PP, changing in less than 2 months from 26.32% to 31.89% and from 31.37% to 28.24%, respectively. Taking into account that data in Table 1 come from surveys, they have an intrinsic uncertainty (sample error) that we should deal with and it is an additional inconvenience to get the objective of finding out whether the March 11 attacks and the events between March 11 and March 14 had effect on the electoral results and its quantification.
Bearing in mind Table 1, we distinguish four main groups and we divide the population into the following compartmental subpopulation groups (time in years):(i): percentage of people who would vote for PSOE at the time instant ,(ii): percentage of people who would vote for PP at the time instant ,(iii): percentage of people who would vote for other political parties at the time instant ,(iv): percentage of people who would abstain at the time instant .
In order to build the model, in accordance with the ideas described in , we assume the following.(i)A subpopulation , whose people share a voting intention to a political party, can influence people of another subpopulation, , to vote for the same party. This influence can be provoked either by direct contact, that is, when people from and interact, or by indirect contact, that is, through the interaction of a person in with his/her environment.(ii)Regarding this latter way, in this context, it is assumed that the environment of a person in is made up of the flows and channels of information able to reach his/her sensorial system. Note that reaching sensorial system does not imply necessarily reaching perception. Thus, alteration in that environment either can provoke changes in the voting intention of that person in or can not. Environment alteration can be provoked, in turn, by the behaviour of people from the other subpopulations among other factors, attitude being itself considered as a part of that behaviour.(iii)It is assumed that all people could access all relevant information channels and flows; that is, there is a homogeneous environment affecting people of all the subpopulations. However, the interaction of a person with the environment varies on an individual basis, depending on both situational and nonsituational factors. The individual initial attitude itself towards the subject of influence, for instance, is a nonsituational factor which modulates environment influence, acting on that initial attitude either as an enabler or as a shield.(iv)The goal of this work is not to clarify those factors of variation but to show the eventual changes in attitudes of the target populations and, if possible, to attribute those changes to the influence of other subpopulations, either directly or indirectly. However, a rough idea as to the processes involved, differences in the effects of the environment, and so forth, as a whole, can be obtained from the model. The nonlinear term is the one that models these influences, where the effects of the environment and the rest of the above-mentioned factors are embedded in the parameters .
Then, taking into account the above hypotheses, the system of differential equations that models the evolution of voting intention in Spain over the time is given by
In Figure 2, we can see a diagram representing the flow among the subpopulations.
The parameters , , , determine the transitions among the PSOE, PP, other political parties, and abstention, and it is well known that some of these transitions are more likely than others. To be precise [1, 15] [16, pages 591–594] [5, page 184],(i)the transition PP-abstention is greater than the transitions PP-PSOE and PP-other political parties; that is, and ;(ii)the transitions PSOE-PP and PP-PSOE, and , respectively, are very small;(iii)the transition PSOE-other political parties, , is also small.
All the above restrictions will be taken into account in the further developing.
3. Predicting the Results of March 14, 2004, Using the CIS Data, the Model, and Assuming That March 11, 2004, Attacks Had Not Happened
In this section, using a technique called probabilistic estimation and prediction introduced in , we are going to provide model 95% confidence bands capturing the uncertainty (surveys sample error) of the CIS surveys data.
This technique consists of using information of the data survey to assign probability distributions to the data. Then, we sample data values from these probability distributions and fit the model to the sampled data. Thus, we find model parameters that fit not only the data but also the uncertainty contained into the intrinsic survey error. Then, these model parameters will allow the model to capture the data uncertainty (with 95% confidence intervals) and to provide reliable predictions.
3.1. Assigning Probability Distribution to the Survey Data
Data in Table 1 correspond to the mean percentage obtained from the CIS surveys since October 2002 to January 2004. In the technical specifications of each survey we can see sample sizes of 2489, 2480, 2494, 2476, 2488, and 2489 interviews, respectively.
Taking into account the fact that the sample is not the same for each survey, let us assume that the survey outputs are independent. For each one of the 6 available surveys, let us denote by , , , , a random vector whose entries are = PSOE, = PP, = other political parties, and = abstention and , , , , , and are the sample sizes of surveys. These components represent exclusive selections (events) with probabilitieswhere , , , and are the percentages collected in Table 1 for each survey , . Thus, each random vector follows a multinomial probability distribution. Therefore, the probability that occurs times, occurs times, occurs , and occurs times is given bywhere . The resulting multinomials for each CIS survey can be seen in Table 3.
3.2. Probabilistic Estimation
In order to perform the probabilistic estimation, we are going to sample the multinomial distributions in Table 3 and fit the model with these samples using as a measure of goodness-of-fit the -test. Then, we select the model parameters that fitted the data samples in such a way that the data uncertainty is captured as much as possible. To be precise, cosnider the following.
Step 1. For to 104.(A)Data sampling: sample values of all the multinomial distributions in Table 3. Then, we will have one sample, similar to the data collected in Table 1, corresponding to 6 surveys with percentages for PSOE, PP, other political parties, and abstention from October 2002 until January 2004.(B)Model fitting with the sampled data: find the model parameter values , , , such that, when we(i)substitute them into the model,(ii)compute the model output in = October 2002, = January 2003, …, and = January 2004 for the four subpopulations, PSOE, PP, other political parties, and abstention,(iii)compare the model output, for each subpopulation, to the data values we sampled in Step 1(A) using the -test  and obtain a value for each subpopulation,(iv)calculate the minimum -value among the four. This -value is the highest possible. To do that, Nelder-Mead optimization algorithm is used  using as a goodness-of-fit the -test.
Step 2. Filtering and ordering: once the above process is completed, store the obtained parameter values and the -value. Reject the model parameters with -value less than 0.05. In our case, 6621 out of 104 satisfy this restriction. Then, they are sorted by -value descending order as follows:
Step 3. Find the model parameters where model output captures the data uncertainty as much as possible. For = 2 to 6621,(A)substitute into the model the parameters , for , and compute the model output in = October 2002, = January 2003, …, and = January 2004;(B)calculate the quantiles 2.5 and 97.5 of the model outputs for PSOE, PP, other political parties, and abstention at time instants = October 2002, = January 2003, …, and = January 2004;(C)compare, for each subpopulation, the calculated quantiles to the ones in Table 4 obtained from the data, using as a goodness-of-fit the -test;(D)calculate the minimum -value among the four above and build the pair ;(E)select the pair among the 6621 − 1 with the maximum .
In our case, the obtained value is with and consequently the -values corresponding to percentiles 2.5 and 97.5 for each subpopulation are greater than or equal to .
Now, we take the first set of parameters from (4), compute the model output from = October 2002, = January 2003, …, and = January 2004, in jumps of 0.05 and, in each point, we calculate the percentiles 2.5 and 97.5 for each subpopulation. The result (probabilistic estimation) is depicted in Figure 4 as black continuous lines.
More details about this procedure can be found in .
3.3. Probabilistic Predictions for March 14, 2014
Now, taking the model and the set of parameters obtained in the probabilistic estimation, we are going to give the probabilistic prediction for March 14, 2004, by computing the model outputs for = March 14, 2004. The results can be seen in Table 5.
In Figure 4, we can see the red points and the black points determining the mean and the 95% confidence interval of the CIS surveys data, respectively. The black lines determine the 95% confidence bands obtained by the model. The blue line is the model mean. The model captures the uncertainty of the data. Data for PSOE and PP in April 2003 do not lie completely inside the band. This fact can be justified because of citizen protests against the involvement of Spain in the war in Iraq.
Now, using the model, we are able to predict the result of the elections in March 14 with 95% confidence intervals in case that the March 11 bomb attacks had not happened. The results can be seen in the rightmost part of the graphics in Figure 4 and numerically in Table 5.
On the one hand, we can see in Table 5 that the percentage of expected votes predicted by the model for the PSOE and PP on March 14 is and , respectively. There is an intersection in the intervals, which means that the PSOE could have won the elections. In Appendix, we present the mathematical development in order to quantify the probability of PSOE’s victory if the March 11 attacks had not happened, and it is around 0.07% (A.8).
On the other hand, in Table 2 we can see the results of the March 14 elections and we are going to compare these values to the ones predicted by the model, which are collected in Table 5. Then, we have the following:(i)PSOE: a positive variation of mean 31.89% − 26.29% = 5.6% with CI 95% [31.89% − 28.69%, 31.89% − 23.94%] = [3.2%,7.95%];(ii)PP: a negative variation of mean −2.42% with CI 95% [−5.13%, −0.27%];(iii)other political parties: a negative variation of mean −1.54% with CI 95% [−3.64%, 0.1%];(iv)abstention: a negative variation of mean −1.64% with 95% confident interval [−4.21%, 0.68%].
Note that the figures given in [4, 5], 3.5% and 3.88% of the increase in the PSOE, respectively, are captured by the 95% confidence interval of our prediction [3.2%, 7.95%] and the decrease of 5% of the PP given in  is also captured by the 95% confidence interval of our prediction [−5.13%, −0.27%]. Moreover, if we sum the absolute value of the means obtained above, there are 5.6 + 1.54 + 2.42 + 1.64 = 11.2% of people, with CI 95% [9%, 16.18%], who changed their voting behaviour as a consequence of the attacks, which is in accordance with the values given in [2, 6].
In this paper, we propose a dynamic model to study the evolution of the voting intention in Spain over the time before the bomb attacks in Madrid, March 11, 2004, three days before the general elections. This model allows us to predict the result of the elections if the attacks would not have happened. This prediction says that the probability that the PSOE had won the election without the bomb attacks is around 0.07%, that is, very unlikely, and by a very short difference.
Moreover, we were able to compare the model prediction to the real results of the general elections of March 14, and we conclude that the PSOE increased an average of 5.6% in voting from March 11 to March 14. Additionally, an average of 11.2% of Spanish people changed their vote as a consequence of the attacks. All these figures are in accordance with [2, 6].
Quantifying the Probability of PSOE’s Victory
From Table 5, we observe that there is an intersection between the intervals that represent the percentage of expected votes predicted by the model for the PSOE and PP on March 14, namely,respectively. Then, according to our model, the possibility that the PSOE could have won the elections existed. Below, we will quantify this probability from a general perspective.
Letbe two independent uniform random variables (r.v.’s) that represent the percentage of expected votes for the PSOE and PP on March 14, respectively. We want to quantify the probability that the PSOE could have obtained more votes than PP on March 14, that is, or equivalently being . With this aim, let us introduce the auxiliary r.v. and consider the following transformations and and their inverse mappings and , respectively: whose jacobian matrix, , is given by Then, by the random variable transformation technique [20, page 51], the joint probability density function (p.d.f.) of the random vector is given bywhere independence between r.v.’s and has been applied in the last step. Therefore, the p.d.f. of r.v. is obtained as the marginal p.d.f. of (A.5) as follows: where denotes the domain of r.v. . As , , and and are the p.d.f.’s of r.v.’s , , respectively, one gets
Notice that and . Moreover, the limits of integration in (A.7) have been determined taking into account that must lie in the domain of ; that is, or equivalently . It can be checked that .
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work has been partially supported by the Ministerio de Economía y Competitividad Grants MTM2013-41765-P and TRA2012-36932.
- V. A. Bali, “Terror and elections: lessons from Spain,” Electoral Studies, vol. 26, no. 3, pp. 669–687, 2007.
- J. M. Colomer, “The general election in Spain, March 2004,” Electoral Studies, vol. 24, no. 1, pp. 149–156, 2005.
- J. R. M. Gibert, I. L. Peñas, and M. T. Loriente, Eds., General Elections 2004, 2007.
- W. G. Gramacho, “El 14-M sin el shock del 11-M: un analisis longitudinal,” in Elecciones Generales 2004, J. R. M. Gibert, I. L. Peñas, and M. T. Loriente, Eds., pp. 205–224, 2007.
- J. R. Montero and I. Lago, “Del 11-M al 14-M: terrorismo, gestion del gobierno y rendicion de cuentas,” in Elecciones Generales 2004, J. R. M. Gibert, I. L. Peñas, and M. T. Loriente, Eds., pp. 169–204, 2007.
- Centro de Investigaciones Sociologicas (CIS), (Center of Sociological Research), Study No. 2559, 2004, http://www.cis.es/cis/opencms/-Archivos/Marginales/2540_2559/2559/Ft2559.pdf.
- A. Przeworski and G. A. D. Soares, “Theories in search of a curve: a contextual interpretation of left vote,” The American Political Science Review, vol. 65, no. 1, pp. 51–68, 1971.
- N. B. Tuma and M. T. Hannan, Social Dynamics: Models and Methods, Academic Press, New York, NY, USA, 1984.
- K. Kadera, The Power-Conict Story: A Dynamic Model of Interstate Rivalry, University of Michigan Press, Ann Arbor, Mich, USA, 2001.
- C. Brown, “Politics and the environment: nonlinear instabilities dominate,” The American Political Science Review, vol. 88, no. 2, pp. 292–303, 1994.
- C. Brown, Differential Equations: A Modeling Approach, vol. 150 of Quantitative Applications in the Social Sciences, Sage Publications, Los Angeles, Calif, USA, 2007.
- Centro de Investigaciones Sociologicas (CIS) (Center of Sociological Research), http://www.cis.es/cis/opencms/ES/index.html.
- Results of the March 14th, 2004 elections in Spain, Ministry of Inner Affairs, http://elecciones.mir.es/eleccanteriores/gen200403/pdf/result_elecc_congr_sen_2004.pdf.
- M. Peco, F.-J. Santonja, A.-C. Tarazona, R.-J. Villanueva, and J. Villanueva-Oller, “The effect of the Spanish Law of Political Parties (LPP) on the attitude of the Basque Country population towards ETA: a dynamic modelling approach,” Mathematical and Computer Modelling, vol. 57, no. 7-8, pp. 1679–1685, 2013.
- B. Barreiro, “14-M: Elecciones a la sombra del terrorismo,” Claves de Razón Práctica, vol. 141, pp. 14–22, 2004.
- J. R. Montero, “Elecciones y sistemas de partidos,” in La Politica, M. J. de Parga and F. Vallespin, Eds., pp. 581–616, 2008.
- J.-C. Cortes, F.-J. Santonja, A.-C. Tarazona, R.-J. Villanueva, and J. Villanueva-Oller, “A probabilistic estimation and prediction technique for dynamic continuous social science models: the evolution of the attitude of the Basque Country population towards ETA as a case study,” http://arxiv.org/abs/1404.0649.
- M. H. DeGroot, Probability and Statistics, Addison-Wesley, New York, NY, USA, 1986.
- J. A. Nelder and R. Mead, “A simplex method for function minimization,” The Computer Journal, vol. 7, no. 4, pp. 308–313, 1964.
- G. Casella and R. L. Berger, Statistical Inference, Duxbury Advances Series, Brooks/Cole, Florence, Ky, USA, 2nd edition, 2002.
Copyright © 2015 Juan-Carlos Cortés et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.