Abstract

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 elections were held in Spain.

Due to events that happened between March 11 and March 14 broadly treated in [13], 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], 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 [4] the authors 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] 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 [2] that 2.6 million voters, more than 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 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] authors discuss a number of methodological approaches to 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 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 [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 can be seen in Table 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% 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 [14], 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 [17], 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.

Now, we compute the quantiles 2.5 and 97.5 (95% CI) of each one of the joint multinomial distributions in Table 3, . The obtained 95% CI are collected in Table 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 -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 [18] 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 [19] 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 [17].

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.

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 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 [5] 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].

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 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 .

As a consequence, taking into account the identification , , , and 33.37 from (A.1) and (A.2), we compute the probability that PSOE could have won the elections as follows:

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.