scieee AI-readable full text Open interactive document viewer

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

Cortés, J.-C.,Sánchez, Francisco,Santonja Gómez, Francisco José,Villanueva Micó, Rafael Jacinto

Abstract

[EN] 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 onMarch 14 and an average of 11.2% of the Spanish people changed their vote betweenMarch 11 andMarch 14.These figures are in accordance with other studies.

Full text

Research Article 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 Juan-Carlos Cortés,1Francisco Sánchez,2 Francisco-José Santonja,3and Rafael-Jacinto Villanueva1 1Instituto Universitario de Matem´ atica Multidisciplinar, Universitat Polit` ecnica de Val` encia, 46022 Val` encia, Spain 2´ Area de Ciencia Pol´ ıtica y de la Administraci´ on, Universidad de Salamanca, 37007 Salamanca, Spain 3Departamento de Estad´ ıstica e Investigaci´ on Operativa, Universitat de Val` encia, 46100 Val` encia, Spain Correspondence should be addressed to Juan-Carlos Cort´ es; [email protected]v.es Received 21 November 2014; Accepted 5 February 2015 Academic Editor: Abdelghani Bellouquid Copyright © 2015 Juan-Carlos Cort´ es 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. 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. 1. Introduction 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 electionswereheldinSpain. DuetoeventsthathappenedbetweenMarch11and March14broadlytreatedin[1–3], the final days of the electoral campaign were not typical. 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 [3],theauthorstriedtoanalysewhat 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 [4]theauthors conclude that the increase of the votes to PSOE was 3.88% and in [5] 3.5% with a decrease in the PP of 5%. However, in [1], 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 [2]thatagainst all forecasts published up to a week before the election and against widespread expectations on the previous Thursday and Friday, onSundayMarch14thePSOEwonalmost11millionvotes. Also, it is remarked in [2]that2.6millionvoters,morethan 10%, changed their behaviour as a consequence of the attacks [6]. In this paper, we propose a dynamic model based on nonlinear differential equations to study how the voting intention Hindawi Publishing Corporation Abstract and Applied Analysis Volume 2015, Article ID 387839, 8 pages http://dx.doi.org/10.1155/2015/387839 2Abstract and Applied Analysis 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 [7] 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 [8] authorsdiscussanumberofmethodologicalapproachesto the study of social dynamics using systems of differential equations; in [9] one considers differential equations in an award-winning treatment of political interstates rivalries; in [10] differential equations are used to model environmental degradation as a consequence of political decisions to either exploit or defend the environment. In [11], 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 theCISdata,wewillbeabletopredictthevotingintention 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 predictedbythemodelinordertofindoutiftheMarch11 attacks and the events occurring between March 11 and March 14hadinfluenceontheresultsand,ifso,quantifyit. The paper is organized as follows. In Section 2,we describe the model building. In Section 3,themodelis applied to obtain the voting intention of the Spanish people on March 14 as if the bomb attacks had not happened. Section 4 isdevotedtopresentingandanalysingtheresults. Finally, in Section 5,wepresenttheconclusion. 2. Model Building We retrieve data from CIS [12] 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 canbeseeninTable 1 and are depicted in Figure 1. Table 2 collects the results of the March 14, 2004, elections [13]. 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% Table 1: Percentage of voting intention and abstention in CIS surveysfromOct.2002untilJan.2004,thelastonebeforeelections of Mar. 14, 2004 [12]. PSOE PP Other political parties Abstention Oct. 2002 27.83 30.96 15.81 25.40 Jan. 2003 27.76 29.61 17.03 25.60 Apr. 2003 29.31 27.68 17.21 25.80 Jul. 2003 26.06 30.50 17.47 25.97 Oct. 2003 26.16 31.97 17.27 24.60 Jan. 2004 26.32 31.37 16.65 25.66 40 30 20 10 0 Oct. 2002 Jan. 2003 Apr. 2003 Jul. 2003 Oct. 2003 Jan. 2004 PSOE Other parties PP Abstention Figure 1: Evolution of the percentage of voting intention and abstention in CIS surveys from October 2002 until January 2004, the last one before elections of March 14, 2004 [12]. Only in April 2003, the PSOE voting intention was above the one of the PP. According to [2], this happened because public opinion in Spain was more widely opposed to the country’s involvement in the Iraq war at the beginning of 2003. Table 2: Results (percentages) of the elections of Mar. 14, 2004 [13]. PSOE PP Other political parties Abstention Mar. 14, 2004 31.89 28.24 15.53 24.34 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 andwedividethepopulationintothefollowingcompartmental subpopulation groups (time 𝑡in years): (i) 𝐴1(𝑡):percentageofpeoplewhowouldvoteforPSOE at the time instant 𝑡, (ii) 𝐴2(𝑡):percentageofpeoplewhowouldvoteforPPat the time instant 𝑡, Abstract and Applied Analysis 3 (iii) 𝐴3(𝑡):percentageofpeoplewhowouldvoteforother political parties at the time instant 𝑡, (iv) 𝐴4(𝑡):percentageofpeoplewhowouldabstainatthe time instant 𝑡. In order to build the model, in accordance with the ideas described in [14], we assume the following. (i) A subpopulation 𝐴𝑖, whose people share a voting intention to a political party, can influence people of another subpopulation, 𝐴𝑗,tovoteforthesame 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)Regardingthislatterway,inthiscontext,itisassumed 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 beingitselfconsideredasapartofthatbehaviour. (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 ashield. (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 𝐴󸀠 1(𝑡)=(𝛽12 −𝛽21)𝐴1(𝑡)𝐴2(𝑡) +(𝛽13 −𝛽31)𝐴1(𝑡)𝐴3(𝑡) +(𝛽14 −𝛽41)𝐴1(𝑡)𝐴4(𝑡), Other political parties (A3) PSOE (A1)PP (A2) Abstention (A4) Figure 2: Model flow graph. Graphic representation of the people flow among the subpopulations. 𝐴󸀠 2(𝑡)=(𝛽21 −𝛽12)𝐴2(𝑡)𝐴1(𝑡) +(𝛽23 −𝛽32)𝐴2(𝑡)𝐴3(𝑡) +(𝛽24 −𝛽42)𝐴2(𝑡)𝐴4(𝑡), 𝐴󸀠 3(𝑡)=(𝛽31 −𝛽13)𝐴3(𝑡)𝐴1(𝑡) +(𝛽32 −𝛽23)𝐴3(𝑡)𝐴2(𝑡) +(𝛽23 −𝛽43)𝐴3(𝑡)𝐴4(𝑡), 𝐴󸀠 4(𝑡)=(𝛽41 −𝛽14)𝐴4(𝑡)𝐴1(𝑡) +(𝛽43 −𝛽34)𝐴4(𝑡)𝐴2(𝑡) +(𝛽43 −𝛽34)𝐴4(𝑡)𝐴3(𝑡).(1) In Figure 2, we can see a diagram representing the flow among the subpopulations. The parameters 𝛽𝑖𝑗,𝑖,𝑗 = 1,2,3,4,𝑖 =𝑗, determine the transitions among the PSOE, PP, other political parties, and abstention, and it is well known that some of these transitions aremorelikelythanothers.Tobeprecise[1,15][16,pages591– 594] [5,page184], (i) the transition PP-abstention is greater than the transitions PP-PSOE and PP-other political parties; that is, 𝛽24 >𝛽21 and 𝛽24 >𝛽23; (ii) the transitions PSOE-PP and PP-PSOE, 𝛽12 and 𝛽21, respectively, are very small; (iii) the transition PSOE-other political parties, 𝛽13,isalso 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 [17], we are going to provide model 95% confidence bands capturing the uncertainty (surveys sample error) of the CIS surveys data. 4Abstract and Applied Analysis Table 3: Data distributions for probabilistic model estimation. Date and joint multinomial probability function of each survey. Survey dates Joint multinomial probability function 𝑡1=Oct.02 𝑃1 2489 (𝑥1,𝑥2,𝑥3,𝑥4)= 2489! 𝑥1!𝑥2!𝑥3!𝑥4!0.2783𝑥10.3096𝑥20.1581𝑥30.254𝑥4 𝑡2=Jan.03 𝑃2 2480 (𝑥1,𝑥2,𝑥3,𝑥4)= 2480! 𝑥1!𝑥2!𝑥3!𝑥4!0.2776𝑥10.2961𝑥20.1703𝑥30.256𝑥4 𝑡3=Apr.03 𝑃3 2494 (𝑥1,𝑥2,𝑥3,𝑥4)= 2494! 𝑥1!𝑥2!𝑥3!𝑥4!0.2931𝑥10.2768𝑥20.1721𝑥30.258𝑥4 𝑡4=Jul.03 𝑃4 2476 (𝑥1,𝑥2,𝑥3,𝑥4)= 2476! 𝑥1!𝑥2!𝑥3!𝑥4!0.2606𝑥10.305𝑥20.1747𝑥30.2597𝑥4 𝑡5=Oct.03 𝑃5 2488 (𝑥1,𝑥2,𝑥3,𝑥4)= 2488! 𝑥1!𝑥2!𝑥3!𝑥4!0.2616𝑥10.3197𝑥20.1727𝑥30.246𝑥4 𝑡6=Jan.04 𝑃6 2489 (𝑥1,𝑥2,𝑥3,𝑥4)= 2489! 𝑥1!𝑥2!𝑥3!𝑥4!0.2632𝑥10.3137𝑥20.1665𝑥30.2566𝑥4 Table 4: 95% CI of the CIS surveys data using the joint multinomial probability function of each survey. Survey dates PSOE PP Other political parties Abstention 𝑡1=Oct.02 [26.07,29.57] [29.17,32.78] [14.42,17.24] [23.70,27.12] 𝑡2=Jan.03 [26.01,29.56] [27.82,31.41] [15.56,18.51] [23.91,27.30] 𝑡3=Apr.03 [27.55,31.11] [25.94,29.43] [15.72,18.68] [24.10,27.51] 𝑡4=Jul.03 [24.35,27.79] [28.72,32.31] [15.99,18.98] [24.23,27.71] 𝑡5=Oct.03 [24.44,27.89] [30.14,33.80] [15.80,18.77] [22.91,26.29] 𝑡6=Jan.04 [24.59,28.04] [29.57,33.19] [15.19,18.12] [23.95,27.40] 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 𝑋𝑗=(𝑋𝑗 1,𝑋𝑗 2,𝑋𝑗 3,𝑋𝑗 4),0≤𝑋𝑗 𝑖≤𝑛𝑗,𝑖=1,2,3,4, 𝑗=1,...,6, a random vector whose entries are 𝑋𝑗 1=PSOE, 𝑋𝑗 2=PP,𝑋𝑗 3= other political parties, and 𝑋𝑗 4=abstentionand 𝑛1= 2489,𝑛2= 2480,𝑛3= 2494,𝑛4= 2476,𝑛5= 2488,and 𝑛6=2489are the sample sizes of surveys. These components represent exclusive selections (events) with probabilities 𝑃𝑗(𝑋𝑗 1=𝑥1)=𝜃𝑗 1,𝑃 𝑗(𝑋𝑗 2=𝑥2)=𝜃𝑗 2, 𝑃𝑗(𝑋𝑗 3=𝑥3)=𝜃𝑗 3,𝑃 𝑗(𝑋𝑗 4=𝑥4)=𝜃𝑗 4, 𝑗=1,...,6, (2) where 𝜃𝑗 1,𝜃𝑗 2,𝜃𝑗 3,and𝜃𝑗 4are the percentages collected in Table 1 for each survey 𝑗,𝑗=1,...,6. Thus, each random vector 𝑋𝑗 follows a multinomial probability distribution. Therefore, the probability that 𝑋𝑗 1occurs 𝑥1times, 𝑋𝑗 2occurs 𝑥2times, 𝑋𝑗 3 occurs 𝑥3,and𝑋𝑗 4occurs 𝑥4times is given by 𝑃𝑗 𝑛𝑗(𝑥1,𝑥2,𝑥3,𝑥4)= 𝑛𝑗! 𝑥1!𝑥2!𝑥3!𝑥4! ⋅(𝜃𝑗 1)𝑥1(𝜃𝑗 2)𝑥2(𝜃𝑗 3)𝑥3(𝜃𝑗 4)𝑥4, 𝑗=1,...,6, (3) where 𝑥1+𝑥2+𝑥3+𝑥4=𝑛𝑗.Theresultingmultinomialsfor each CIS survey can be seen in Table 3. Now, we compute the quantiles 2.5 and 97.5 (95% CI) of each one of the joint multinomial distributions in Table 3,𝑗= 1,2,...,6.Theobtained95%CIarecollectedinTable 4.These CI are plotted in Figure 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 𝜒2-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 𝑖=1to 104. (A) Data sampling: sample values of all the multinomial distributions in Table 3.Then,wewillhaveone Abstract and Applied Analysis 5 31 30 29 28 27 26 25 24 PSOE Oct. 2002 Jan. 2003 Apr. 2003 Jul. 2003 Oct. 2003 Jan. 2004 (a) Other political parties 19 18 17 16 15 Oct. 2002 Jan. 2003 Apr. 2003 Jul. 2003 Oct. 2003 Jan. 2004 (b) PP 34 32 30 28 26 Oct. 2002 Jan. 2003 Apr. 2003 Jul. 2003 Oct. 2003 Jan. 2004 (c) Abstention 27 26 25 24 23 Oct. 2002 Jan. 2003 Apr. 2003 Jul. 2003 Oct. 2003 Jan. 2004 (d) Figure 3: Percentiles 2.5 (lower black points), 97.5 (upper black points), and the mean (red points corresponding to data from Table 1)of data. The percentiles determine the 95% confidence intervals. These confidence intervals capture 95% of data uncertainty. 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 𝛽𝑖𝑗,𝑖,𝑗 = 1,2,3,4,𝑖 =𝑗,suchthat, when we (i)substitutethemintothemodel, (ii) compute the model output in 𝑡1=October2002, 𝑡2=January2003,...,and𝑡6=January2004 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 𝜒2-test [18]andobtaina𝑝-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 [19] using as a goodness-of-fit the 𝜒2-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 104satisfy this restriction. Then, they are sorted by 𝑝-value descending order as follows: (𝛽𝑙 𝑖𝑗,𝑝-value𝑙), 𝑖,𝑗=1,2,3,4, 𝑖 =𝑗, 1≤𝑙≤6621. (4) 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𝑙= 1,2,...,𝑘, and compute the model output in 𝑡1= October 2002, 𝑡2=January2003,...,and𝑡6=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 𝑡1=October2002,𝑡2= January 2003, ...,and𝑡6=January2004; (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 𝜒2-test; (D) calculate 𝑚𝑘the minimum 𝑝-value among the four above and build the pair (𝑘,𝑚𝑘); (E) select the pair (𝑘,𝑚𝑘)among the 6621 −1withthe maximum 𝑚𝑘. 6Abstract and Applied Analysis 31 30 29 28 27 26 25 24 PSOE Jan. 2003 Jul. 2003 Jan. 2004 (a) 34 32 30 28 26 PP Jan. 2003 Jul. 2003 Jan. 2004 (b) Jan. 2003 Jul. 2003 Jan. 2004 19 18 17 16 15 Other political parties (c) 28 27 26 25 24 23 Abstention Jan. 2003 Jul. 2003 Jan. 2004 (d) Figure 4: Probabilistic fitting. The red points and the black points determine 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, probably because of citizen protests related to the war in Iraq. In our case, the obtained value is 𝑘=69with 𝑚69 = 0.9999 and consequently the 𝑝-values corresponding to percentiles 2.5 and 97.5 for each subpopulation are greater than or equal to 𝑚69 =0.9999. Now, we take the first 𝑘=69set of parameters from (4), compute the model output from 𝑡1=October2002,𝑡2 =January2003,...,and𝑡6= 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 [17]. 3.3. Probabilistic Predictions for March 14, 2014. Now, taking themodelandthe𝑘=69set 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,wecanseetheredpointsandtheblackpoints 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 lineisthemodelmean.Themodelcapturestheuncertainty Table 5: Results (percentages) of the elections of Mar. 14 predicted by the model in case the Mar. 11 attacks had never happened. Political party Mean CI 95% PSOE 26.29 [23.94,28.69] PP 30.66 [28.51,33.37] Other political parties 17.07 [15.43,19.17] Abstention 25.98 [23.66,28.55] of the data. Data for PSOE and PP in April 2003 do not lie completely inside the band. This fact can be justified because ofcitizenprotestsagainsttheinvolvementofSpaininthewar 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. 4. Results 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 Abstract and Applied Analysis 7 on March 14 is [23.94,28.69]and [28.51,33.37],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 totheonespredictedbythemodel,whicharecollectedin Table 5.Then,wehavethefollowing: (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 [5]isalsocapturedbythe 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 valuesgivenin[2,6]. 5. Conclusion 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]. Appendix 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 predictedbythemodelforthePSOEandPPonMarch14, namely, [23.94,28.69],[28.51,33.37],(A.1) 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. Let 𝑋∼𝑈([𝑎,𝑏]),𝑌∼𝑈 ([𝑐,𝑑]), 𝑎≤𝑐<𝑏≤𝑑, (A.2) be 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, P[𝑋 > 𝑌] or equivalently P[𝑍>0]being 𝑍=𝑋−𝑌.Withthisaim,letusintroducethe auxiliary r.v. 𝑇and consider the following transformations 𝑟1 and 𝑟2and their inverse mappings 𝑠1and 𝑠2,respectively: 𝑍=𝑟 1(𝑋,𝑌)=𝑋−𝑌󳨐⇒𝑋=𝑠1(𝑍,𝑇)=𝑍+𝑇, 𝑇=𝑟 2(𝑋,𝑌)=𝑌󳨐⇒𝑌=𝑠2(𝑍,𝑇)=𝑇, (A.3) whose jacobian matrix, 𝐽2,isgivenby 𝐽2= 󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨 𝜕𝑠1(𝑧,𝑡) 𝜕𝑧 𝜕𝑠1(𝑧,𝑡) 𝜕𝑡 𝜕𝑠2(𝑧,𝑡) 𝜕𝑧 𝜕𝑠2(𝑧,𝑡) 𝜕𝑡 󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨=󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨11 01 󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨󵄨=1. (A.4) Then, by the random variable transformation technique [20, page 51], the joint probability density function (p.d.f.) of the random vector (𝑍,𝑇)is given by 𝑓𝑍,𝑇 (𝑧,𝑡)=𝑓 𝑋,𝑌 (𝑧+𝑡,𝑡)=𝑓 𝑋(𝑧+𝑡)𝑓𝑌(𝑡),(A.5) where 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: 𝑓𝑍(𝑧)=∫D(𝑇) 𝑓𝑍,𝑇 (𝑧,𝑡)d𝑡=∫D(𝑇) 𝑓𝑋(𝑧+𝑡)𝑓𝑌(𝑡)d𝑡, (A.6) where D(𝑇)denotes the domain of r.v. 𝑇.As𝑌=𝑇,D(𝑇)= D(𝑌) = [𝑐,𝑑],and1/(𝑏−𝑎)and 1/(𝑑−𝑐)are the p.d.f.’s of r.v.’s 𝑋∼𝑈([𝑎,𝑏]),𝑌∼𝑈([𝑐,𝑑]), respectively, one gets 𝑓𝑍(𝑧)=∫𝑑 𝑐𝑓𝑋(𝑧+𝑦)𝑓𝑌(𝑦)d𝑦 =∫min(𝑑,𝑏−𝑧) max(𝑐,𝑎−𝑧) 1 𝑏−𝑎 1 𝑑−𝑐d𝑦 =1 𝑏−𝑎 1 𝑑−𝑐(min (𝑑,𝑏−𝑧)−max (𝑐,𝑎−𝑧)), 𝑎−𝑑≤𝑧≤𝑏−𝑐. (A.7) Notice that 𝑎−𝑑<0and 𝑏−𝑐>0.Moreover,the limits of integration in (A.7) have been determined taking into account that 𝑧+𝑦mustlieinthedomainof𝑋;thatis, 𝑎≤𝑧+𝑦≤𝑏or equivalently 𝑎−𝑧≤𝑦≤𝑏−𝑧.Itcanbe checked that ∫𝑏−𝑐 𝑎−𝑑 𝑓𝑍(𝑧)d𝑧=1. 8Abstract and Applied Analysis As a consequence, taking into account the identification 𝑎 = 23.94,𝑏 = 28.69,𝑐 = 28.51, and 33.37 from (A.1) and (A.2),wecomputetheprobabilitythatPSOEcouldhavewon the elections as follows: P[𝑍>0]=∫𝑏−𝑐 01 𝑏−𝑎 1 𝑑−𝑐 ⋅(min (𝑑,𝑏−𝑧)−max (𝑐,𝑎−𝑧))d𝑧 =1 1425 ≈0.000701754. (A.8) Conflict of Interests The authors declare that there is no conflict of interests regarding the publication of this paper. Acknowledgment This work has been partially supported by the Ministerio de Econom´ ıa y Competitividad Grants MTM2013-41765-P and TRA2012-36932. References [1] V. A. Bali, “Terror and elections: lessons from Spain,” Electoral Studies, vol. 26, no. 3, pp. 669–687, 2007. [2] J. M. Colomer, “The general election in Spain, March 2004,” Electoral Studies, vol. 24, no. 1, pp. 149–156, 2005. [3]J.R.M.Gibert,I.L.Pe ˜ nas, and M. T. Loriente, Eds., General Elections 2004,2007. [4] 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˜ nas,andM.T.Loriente,Eds.,pp.205–224,2007. [5] 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 ˜ nas, and M. T. Loriente, Eds., pp. 169–204, 2007. [6] 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. [7] 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. [8] N. B. Tuma and M. T. Hannan, Social Dynamics: Models and Methods, Academic Press, New York, NY, USA, 1984. [9] K. Kadera, The Power-Conict Story: A Dynamic Model of Interstate Rivalry, University of Michigan Press, Ann Arbor, Mich,USA,2001. [10] C. Brown, “Politics and the environment: nonlinear instabilities dominate,” The American Political Science Review,vol.88,no.2, pp. 292–303, 1994. [11] C. Brown, Differential Equations: A Modeling Approach,vol. 150 of Quantitative Applications in the Social Sciences,Sage Publications, Los Angeles, Calif, USA, 2007. [12] Centro de Investigaciones Sociologicas (CIS) (Center of Sociological Research), http://www.cis.es/cis/opencms/ES/index .html. [13] 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. [14] 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. [15] B. Barreiro, “14-M: Elecciones a la sombra del terrorismo,” Claves de Raz´ on Pr´ actica,vol.141,pp.14–22,2004. [16] J. R. Montero, “Elecciones y sistemas de partidos,” in La Politica, M. J. de Parga and F. Vallespin, Eds., pp. 581–616, 2008. [17] 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. [18] M. H. DeGroot, Probability and Statistics, Addison-Wesley, New York, NY, USA, 1986. [19] J. A. Nelder and R. Mead, “A simplex method for function minimization,” The Computer Journal,vol.7,no.4,pp.308–313,1964. [20] G. Casella and R. L. Berger, Statistical Inference,Duxbury Advances Series, Brooks/Cole, Florence, Ky, USA, 2nd edition, 2002. Submit your manuscripts at http://www.hindawi.com Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Mathematics Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Mathematical Problems in Engineering Hindawi Publishing Corporation http://www.hindawi.com Differential Equations International Journal of Volume 2014 Applied Mathematics Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Probability and Statistics Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Mathematical Physics Advances in Complex Analysis Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Optimization Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Combinatorics Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 International Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Operations Research Advances in Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Function Spaces Abstract and Applied Analysis Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 International Journal of Mathematics and Mathematical Sciences Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 The Scientific World Journal Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Algebra Discrete Dynamics in Nature and Society Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Decision Sciences Advances in Discrete Mathematics Journal of Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Hindawi Publishing Corporation http://www.hindawi.com Volume 2014 Stochastic Analysis International Journal of