1 Introduction

Researchers have recently been interested in finding out the determinants of terrorism, a common form of political violence with significant human and economic costs to the international community. However, consensus on the possible causes is remarkably lacking.

One strand of research has found that terrorism is less of a problem in autocracies. For instance, Hamilton and Hamilton (1983) show that countries that are poor, autocratic, or have repressive environments are more effective in reversing terrorism than affluent democratic nations that generally have a more conducive environment to accomplish moderate reform. Pape (2003) focuses on suicide terrorism and shows that democracies are more vulnerable than authoritarian governments. This is primarily due to the fact that democracies tend to be viewed as soft targets. Further, countries undergoing transition from authoritarian regimes to democracies tend to see an increase in terrorism incidents (Abadie 2006; Kurrild-Klitgaard et al. 2006; Chenoweth 2010; de la Calle and Sánchez-Cuenca 2012; Piazza 2013). Piazza (2008) demonstrates that promotion of democracy and free market economic reforms do not necessarily have a positive impact on terrorism.

Another strand of research has found that terrorism is less of a problem in democracies. For example, Eyerman (1998) finds that established democracies are less likely to face terrorism than non-democracies and that newly formed democracies are more vulnerable to terrorism than other types of states. Li (2005) finds that democratic environment increases satisfaction and political efficacy of citizens. It helps reduce their grievances and helps deter terrorist recruitment and increases public tolerance toward counterterrorism policies. This positive relationship between democracies and transnational terrorism is significantly impacted by institutional constraints placed over the government. Testas (2004) shows that repression decreases terrorism in the short run but not in the long run. This suggests that a democratic environment would help curb the risk of terrorism. Abrahms (2007) finds that the world’s most illiberal states are disproportionately targeted by terrorists.

There is also a third strand of the literature that finds that the relationship between regime type and terrorism depends upon the policies pursued by the regime. For example, Savun and Phillips (2009) show that the positive empirical association between democracy and transnational terrorism is explained by the foreign policy behavior of states and is not impacted by regime type. States with more active foreign policies are likely to generate resentment among foreign groups and, hence, may be the target of terrorism by these aggrieved groups. Similarly, Lutz and Lutz (2010) find that while social freedoms are important, terrorism is more likely under a democracy. Kis-Katos et al. (2011) find that failing states serve as the primary breeding ground for terrorism. In a recent paper, Wilson and Piazza (2013) show that single-party autocracies suffer from less terrorist attacks than either democracies or military autocracies.

In addition to mixed views noted above on the impact of democracy on terrorism, some nations and regions seem to be more vulnerable on this issue or rather provide a more fertile ground than others (see Global Terrorism Database 2013). Empirical research investigating the impact of civil liberties on terrorism in an endogenous framework is lacking as well. Thus there are several unresolved issues. A better understanding of this issue would aid policy makers figure out how to effectively combat terrorism. This article takes a closer look at the relationship between domestic and transnational terrorism and elements of democracy in the MENAP Region (Middle East, North Africa, Afghanistan and Pakistan). The list of countries in this region is defined in the World Economic Outlook database by International Monetary Fund (International Monetary Fund 2013) and is presented in Table 1.

Table 1 List of countries in MENAP

We focus on this group of nations as they have been shown to pose the greatest concern in global terrorism on several counts, such as the number of attacks, number of terrorist groups, and number of affected countries (United States Department of State 2014; Global Terrorism Database 2013). As one attempts to determine possible reasons behind such disturbing and alarming facts, it is hard to ignore the lack of civil liberties in these nations (Pew Attitudes Global Research Project 2013). While this does not necessarily imply that one causes the other, it is worthwhile to investigate this comprehensively given the high stakes involved. We discuss this in detail in Sect. 3 focusing on exposition of the primary hypothesis of our study.

In this article, we analyze the impact of civil liberties on domestic and transnational terrorism in both an exogenous and an endogenous setup. Our main result is that a reduction in civil liberties leads to an increase in domestic terrorism but it has a statistically insignificant impact on transnational terrorism. To control potential endogeneity issues with civil liberties, we use three instrumental variables: oil revenue, military expenditure and under-five mortality rate. We discuss the rationale for their choice in detail in Sect. 5. We find that find that we cannot reject the null hypothesis that civil liberties is exogenous.

We also find that the frequency of domestic terrorist attacks per capita (our dependent variable of interest) depends negatively (i.e. as these factors increase, terrorism incidents per capita go down) on factors such as rule of law and positively on governance indicators such as voice and accountability and regulatory quality. Transnational terrorism on the other hand depends negatively on political stability and positively on religious fractionalization.

The rest of this article is organized as follows: Sect. 2 presents our literature review. Section 3 provides our theoretical argument and presents the primary hypothesis of our study. Section 4 describes our data. Section 5 describes the empirical methodology we employ. Section 6 shares our model results. We conclude in Sect. 7.

2 Literature review

Our review of the literature focuses on two aspects of research on terrorism: determinants of terrorism and impact of democracy on terrorism.

Enders and Sandler (2006) find evidence of transference of terror attacks on US interests from US soil to other regions. Among others they also find that democratic institutions hinder political leaders from implementing timely and effective preventive measures against potential terrorist threats. Krueger and Laitin (2008) find that richer nations are more likely to be targets, while politically repressed nations to be the sources of transnational terrorism. On the other hand, Abadie (2006) finds that terrorism is not directly affected by economic variables, but it has a significant non-monotonic relationship with political freedom. Eubank and Weinberg (1994) provide evidence that liberal democratic countries, because of their structural mandate to preserve entrenched liberties, host more terrorist organizations than authoritarian countries. This leads one to presume that democracies will experience more terrorist attacks than autocracies as a result of the presence of widespread individual freedoms that allow terrorist groups to recruit, train, and mobilize more freely.

Savun and Phillips (2009) show that states whose foreign policy entails active participation in international politics are resented abroad and are more likely to be targets of transnational terrorism. This is particularly relevant for the United States. U.S. Foreign Policy has sometimes been supportive of dictators in the MENAP region to gain unparalleled access to this region’s oil resources which would not be possible in a democratic regime who are accountable to their citizens (Monshipouri 2002). This consequently has alienated the population in this region and fostered heightened hatred towards United States. According to the Government Accountability Office report of 2005 (p. 9), “…extremists have targeted the United States because of a belief that the United States supports authoritarian governments in the Middle East while promoting democracy elsewhere.” The extent of alienation is abundantly clear from the results of Pew Attitude Surveys (Pew Research Global Attitudes Project 2013) from MENAP countries (see Fig. 1). Another survey reveals more worrisome findings in that the citizens of these nations believe that attacks against US and other westerners are justifiable (see Fig. 2). Such sentiments and alienation could manifest in the form of donations to terror networks and also could aid recruitment efforts of such extremist organizations.

Fig. 1
figure 1

Pew attitude survey about US role (MENAP)

Fig. 2
figure 2

Pew attitude survey about attacks on Americans and westerners (MENAP)

Ross (1993) and Eyerman (1998) claim that democracies provide citizens with various nonviolent means to resolve disputes and are therefore less vulnerable to terrorism. Consistent with this line of reasoning, Eyerman (1998) finds that mature democracies, on average, attract fewer terrorist attacks than nondemocracies, though nascent democracies are more likely to experience terrorism. Li (2005) shows that citizens of democracies are unlikely to resort to terrorist acts because they enjoy opportunities for political participation. Conversely, when democratic legislatures and judiciaries constrain the executive’s policy options in response to terrorist threats, or when the free mass media in democratic societies are easily accessible to terrorists as outlets for political propaganda and mobilization, the number of terrorist activities is likely to increase in these countries. Choi (2010) finds that, a sound rule of law noted in democratic nations reduces instances of terrorism.

3 Primary hypothesis

Following Enders and Sandler (2002), terrorism is defined to be the premeditated or threatened use of extra-normal violence or force to obtain a political, religious, or ideological objective through the intimidation of a large audience. Given our focus on finding the root causes of terrorism, we focus on both domestic and transnational terror. Domestic terrorism involves violence against the civilian population or infrastructure of a nation often but not always by citizens of that nation and with the intent to intimidate or influence national policy (RAND 2013). In contrast, transnational terrorism involves victims, perpetrators, targets, or institutions of another country (Li 2005). These could involve attacks initiated by foreign terrorists against some domestic target in a country, attacks by domestic terrorists against some foreign target in a country, or attacks by foreign terrorists against some other foreign target in a country.

3.1 Impact of civil liberties

There is conflicting evidence on the impact of civil liberties on terrorism. One argument claims that civil liberties do not have a significant impact on terrorism in a country. Instead, the primary reason for terrorism is ethnic polarization that arises as a result of competition for economic resources among ethnic groups. Therefore, a country with minority groups that do not enjoy the same economic freedoms as the majority serves as a breeding ground for terrorists (Basuchoudhary and Shughart 2010).

A second argument in the literature claims that democracies suffer more from terrorism. The notion is that citizens in democratic societies enjoy more rights than under autocratic regimes, and this provides an opportunity for terrorists to become organized and operate easily (Hamilton and Hamilton 1983; Ross 1993; Eyerman 1998; Engene 2004). Further, expansive and secure civil liberties make it difficult for the legal systems in democracies to punish terrorists and for democratic governments to prevent or strike back against terrorism (Schmid 1992; Eubank and Weinberg 1994, 2001). All of these imply that civil liberties are positively associated with terrorist attacks since higher degree of liberties are usually observed in democracies.

There is also a contrarian view in the literature that concludes that civil liberties are negatively related to terrorism. Krueger and Maleckova (2003) show that civil liberties rather than education and poverty is significantly related to terrorism and that countries with reduced civil liberties are more likely to be a source of terrorists. Similarly, Kurrild-Klitgaard et al. (2006) show that higher the extent of civil liberties and the more trade oriented a country’s economy, the less likely it is that the country will produce terrorists. Krueger and Laitin (2008) find that countries with a lower level of civil liberties have a higher participation rate in terrorism on average, and therefore there is reason to believe that civil liberties generate a mitigating effect on terrorism. If citizens enjoy more civil liberties, they are more likely to influence the political process successfully and this mitigates political grievances and helps reduce terrorist activities. Gassebner and Luechinger (2011) perform Extreme Bounds Analysis on several variables that are commonly thought to be determinants of terrorism. The purpose of their study is to determine the most robust variables from this list. Their study indicates that civil liberties is negatively related with terrorism.

An important paper to consider in this regard is Li (2005). He points out that the strong correlation between democracies and terrorism may simply be an instance of measurement error because of reporting bias in the media. Democracies impose fewer restrictions on the media and therefore it is more likely that terrorist attacks are more extensively reported in these countries. Therefore, the apparently high incidence of terrorist attacks in democracies may simply be an artifact of their free media. Further, one major motivation of terrorists is to seek attention. Since this purpose is easily served in democracies by the free media, therefore, it is possible for democracies to attract terrorist attacks.

At the minimum, it seems that civil liberties have a non-trivial impact on terrorism. However, the actual direction of the relationship is far from clear and can only be resolved empirically. One point to keep in mind is that there are significant variations between different regions of the world and as a result, the conclusions may vary from one region to another. For instance, motivations behind terrorism in countries such as Israel and Palestine are primarily political (conflict over land) and social (Israel is the only non-Islamic country in the Middle East) whereas the elitist terrorist movements in Europe in the late 60s and early 80s were motivated predominantly by economic reasons (Crenshaw 1981). The focus of our study is the MENAP countries and we seek to unravel the relationship between civil liberties and terrorism in this region.

Based on our preliminary data analysis (see Fig. 3) comparing countries with less civil liberties with those with more civil liberties, it follows that in the MENAP countries domestic terrorist attacks occur predominantly in countries with low civil liberties (or where repression is extremely high).Footnote 1 This seems to be more consistent with the view that there is a negative relationship between civil liberties and terrorism (i.e., as civil liberties improve, the incidence of terrorism goes down).Footnote 2, Footnote 3 However, in order to draw a more definitive conclusion, a detailed analysis is warranted. Following the literature, we consider model specifications with a host of relevant regressors. In addition to considering relevant regressors, any analysis performed would not be complete unless it also controls for endogeneity issues that are associated with civil liberties, a problem often reported in research articles studying root causes of terrorism (Abadie 2006; Bandyopadhyay and Younas 2011). Failing to treat civil liberties as an endogenous variable could bias the estimated effects of civil liberties if it is indeed endogenously determined. Finally, given the substantial variation noted in civil liberties for the countries considered in this study during 1998–2010 time period (see Table 2), it is plausible that civil liberties can causally induce variations in the number of terrorist acts. The above aspects form the motivation of discussion in the sections that follow. Our primary research question that we investigate in this article is as follows.

Fig. 3
figure 3

Domestic terror incidents versus civil liberties in MENAP countries

Table 2 Distribution of civil liberties in MENAP

Hypothesis 1

Increased civil liberties reduce both domestic and transnational terrorism in MENAP countries.

4 Description of data

In this paper, we use data from the Global Terrorism Database (GTD). We extract information about terrorist incidents in the MENAP countries (listed in Table 1) for the years 1998 through 2010. While there are different ways of measuring terrorism such as number of casualties, property damage, incident count, etc., we focus our attention on the number of terrorist incidents per capita as this has been suggested as a more accurate way of measuring risk than just total count or total damage (Jetter and Stadelmann 2017). Specifically, we focus on domestic and transnational incidents per 100,000 population as our dependent variables. For brevity, from here on we will refer to these variables on a per capita basis. Next, we describe our methodology regarding how an incident is characterized as either a domestic or transnational incident.

Sometimes, it is difficult to separate criminal activities or political violence from terrorist attacks. If there is any doubt about whether or not an attack is an act of terrorism, then the database explicitly mentions that. We drop these doubtful observations from our sample.

The next step is to classify each terrorist attack as domestic or transnational. In principle, a terrorist attack can be classified as transnational based upon any of the following three criteria: (i) The perpetrator and the victim have different nationalities, (ii) the perpetrator’s nationality is different from the country in which the attack occurs, and (iii) the victim’s nationality is different from the country in which the attack occurs. The GTD database has created a variable called INT_ANY that takes a value 1 if an attack has any of the above mentioned three elements present, 0 if none of these elements are present and − 9 otherwise. We classify any attack as transnational if the variable INT_ANY takes a value of 1. All other incidents are classified as domestic.

There are some issues about transnational terrorism that we would like to clarify. For example, papers such as Krueger and Maleckova (2003) and Kis-Katos et al. (2011) examine the factors that cause a nation to be the source of terrorism. Then there are other papers such as Tavares (2004), and Li (2005) that examine factors that make a nation a target of terrorism. Finally, there is a third strand of research such as Kurrild-Klitgaard et al. (2006) that look at both kinds of countries- the source as well as the target.

In their paper on the determinants of transnational terrorism, Krieger and Meierrieks (2011) conclude that everything else remaining constant, a country that is economically successful and politically open is more likely to be a target of transnational terrorism.

In this paper we consider two kinds of transnational attacks. First involves attacks against foreign nationals in a country. In several MENAP countries, foreign militaries have been used either to stabilize a country or to assist its government. If a country has a poor record of civil liberties, then terrorist groups operating in that country may choose to attack foreign militaries in order to force them to leave so that the government can be overthrown. In addition to militaries, international aid agencies and foreign businesses are also targeted by terrorists. Our count of transnational attacks also includes attacks by foreign terrorist groups. We explain the motivation behind these attacks as follows: Consider a community (such as an ethnic or a religious group) X that resides in two countries-1 and 2. Further, assume that there are grievances (such as lack of civil liberties) amongst members of X in country 2. Now suppose there is a terrorist group based principally in country 1 but that claims to represent the interests of the whole community X. In such a case, country 2 will be vulnerable to terrorist attacks from country 1 because of two reasons. First, the terrorist group would consider fighting the government of country 2 as a legitimate objective because it represents the whole community. The second reason is that terrorist attacks often depend upon internal help (such as accurate information) for its success.

We present the annual total, domestic and transnational terrorist incidents (per capita) for the MENAP countries in Table 3. Domestic terrorism makes up about 70% of the total incidents of terrorism per capita in our study of 23 countries. Therefore, domestic terrorism poses a much bigger challenge for MENAP countries than transnational terrorism.

Table 3 Terrorism data for MENAP countries (1998–2010)

Our variable descriptions and their type i.e. dependent, independent or instrumental are listed in Table 4. We now briefly discuss the rationale behind choice of variables and what they embody. Our primary variable of interest is civil liberties. As mentioned earlier, in the original data by Freedom House, a larger value for civil liberties represents less liberty which is contrary to usual expectations. In order to simplify the interpretation of results, we measure civil liberties by the negative of the value reported by Freedom House.

We also use three other controls for the political climate of a country: (i) political repression, (ii) polity and (iii) lack of press freedom. Political repression is same as the variable “Political Rights” that is reported by Freedom House. However a higher value of this variable represents a reduction in political rights. Hence, we label this variable as “political repression” for the ease of interpretation. Polity measures the quality of democracy and takes values between − 10 and + 10, with higher values representing a higher quality of democracy.Footnote 4 We control for freedom of the press because of previous findings that more press freedom tends to increase transnational terrorism. Free press in democratic nations provides terrorist groups opportunities to gain publicity for their extremist views by presenting it to a wider audience (Nacos 1994; Li 2005). Such a privilege does not exist in the absence of press freedom.

The second set of controls is World Governance Indicators. The governance indicators that we use are: (i) Voice and Accountability, (ii) Political Stability, (iii) Government Effectiveness, (iv) Regulatory Quality and (v) Rule of Law. These governance indicators control for the quality of institutions. Extant literature has controlled for some of these institutional factors. For instance, Kis-Katos et al. (2011) find that unstable states are associated with more terrorist attacks. A failing state may not be able to police all of its territories effectively and this would facilitate the terrorist groups to operate easily in these areas. Political stability is included in our study as one of the independent variables to control for this effect. Similarly, we include rule of law in our study. This finds support in prior research. Bandyopadhyay and Younas (2011) explicitly control for this and find that better enforcement of the law reduces terrorism. Our view is that the overall quality of governance affects the extent of terrorism. Hence, in addition to these two variables, we also included a few more governance indicators. One problem with using governance indicators is that these are based on perceptions. However, this problem is present in other variables also, particularly those which control the nature of politics, and is an unavoidable issue in this line of research.

We also include indices of ethnic, linguistic, and religious fractionalization to control for the extent of diversity from Alesina et al. (2003). The extent of diversity in a country can lead to friction between different social groups and this may ultimately result in terrorism. A higher value of these indices reflects the probability that two randomly chosen individuals from the same country belong to two different groups. These measures have been used in Tavares (2004), Abadie (2006) and Bandyopadhyay and Younas (2011).

We also consider geographical variables such as (i) land area, (ii) elevation, and (iii) fraction of the country in tropics. This is motivated by the fact that everything else remaining constant, a country will be more vulnerable to terrorist attacks if it has the characteristics of a suitable target. Some of these characteristics in turn depend upon geography. A large country is more vulnerable to attacks because it provides more targets. A mountainous country is harder to police and hence is more vulnerable to terrorist attacks (Abadie 2006). Gaibulloev and Sandler (2013) find that terrorist groups are more likely to survive if they are based in a tropical country.

We control possible endogeneity issues associated with civil liberties with the help of three instrumental variables: oil revenue, military expenditure and lagged under-five mortality rate. We discuss the underlying rationale that motivated their selection in detail in Sect. 5.2.

To the best of our knowledge, there is no single data set that includes all of the variables required for our analysis. Therefore, it was required that the information on these variables be collected from a variety of sources. All variables used in our analysis and their sources are provided in Tables 4 and 5.

Table 4 Variable description
Table 5 Variable data sources

There are 23 countries in the MENAP region. Out of these, we had to drop 4 countries (mentioned in Table 1) due to lack of information. Further, data on World Governance Indicators are not available for 2 years-1999 and 2001 and we had to drop these 2 years also. Ultimately, our sample comprises of 19 countries over 11 years, and consequently our maximum sample size is 209. We lost observations due to missing data on variables used in our study including polity (loss of 21 observations), under-five mortality rate (loss of 7 observations), military expenditure (loss of 5 observations) and press freedom (loss of 1 observations). The surviving sample with no missing values for any of the variables has 175 observations with no obvious pattern or bias in the observations removed to raise concerns about the resulting sample. Table 6 provides the summary statistics for this sample.

Table 6 Summary statistics for variables

5 Econometric specifications

5.1 Exogenous models

In this study, we examine the impact of civil liberties on terrorism incidents per capita in MENAP countries. Our period of study is 1998–2010.

We start with a pooled cross-section regression model as follows:

$$ y_{it} = \alpha_{0} + \alpha_{1} \;Civil\; Liberties_{it} + \alpha_{2} X_{it} + \varepsilon_{it} , $$
(1)

where yit measures terrorism incidents per capita in country i in time period t, Civil Liberties is our key independent variable that measures civil liberties in a country i in time period t, vector X includes other potential predictors of terrorism such as measures of press freedom, religious, linguistic and ethnic fractionalization, country geography, etc., and ε represents the error term. These variables are listed in Table 4 and are motivated by the literature.

In order to tackle the existence of unobserved country heterogeneity, we extend our study by taking advantage of the panel setting of our data. Our model of interest is presented below:

$$ y_{it} = \alpha_{0} + \alpha_{1} \;Civil \;Liberties_{it} + \alpha_{2} X_{it} + \tau_{i} + \varepsilon_{it } , $$
(2)

where \( \tau_{i} \) represents time invariant unobserved country heterogeneity. If we assume there is no correlation between \( \tau_{i} \) and the observables, we can use the Random Effect (RE) model to estimate the effects of civil liberties. Since we cannot rule out the possibility that the unobserved heterogeneity could be correlated with some observables, we further relax the assumption by allowing the existence of arbitrary relationship between \( \tau_{i} \) and the observables where we use the Fixed Effect (FE) model instead. We use a Breusch-Pagan Test to check the existence of this unobserved heterogeneity by comparing the RE model with the pooled cross sectional one, and then use a Hausman type of test to compare our estimation results from our RE and FE models.

5.2 Instrumental variables

A concern is that civil liberties is an endogenous variable, and this issue has been raised in Abadie (2006) and Bandyopadhyay and Younas (2011). One possible explanation is the problem of simultaneity. On the one hand, lack of civil liberties can induce the citizens of a country to resort to terrorism in order to fight for their rights. However, on the other hand, it is also possible that terrorism may lead governments to take actions that may alter the degree of civil liberties that citizens enjoy. On some occasions, a government might want to curb civil liberties in order to fight terrorism, while on other occasions a government might compromise and allow more civil liberties. Thus, the net effect of this reverse causality (that is, of terrorism on civil liberties) in general is not clear. Thus, we cannot rule out the possibility that the Civil Liberties is correlated with the error term (i.e., is an endogenous variable) in Eqs. (1) and (2) without testing for it. If this is true, then we may end up with biased estimates of Civil Liberty effects if we fail to tackle this issue appropriately. Therefore, we first use a two-stage least squares (2SLS) model to estimate the effects of the civil liberties treating it as endogenous. We then use the Durbin–Wu test to investigate whether we have strong empirical evidence to believe that the civil liberties should indeed be treated as an endogenous variable. The 2SLS estimation is done using the following specifications:

Stage one:

$$ Civil\;Liberties_{it} = \theta_{0} + \theta_{1} X_{it} + \theta_{2} IV_{it} + \vartheta_{it} $$
(3)

Stage two:

$$ y_{it} = \gamma_{0} + \gamma_{1} \;\widehat{{Civil\;Liberties_{it} }} + \gamma_{2} X_{it} + \mu_{it} $$
(4)

In the first stage, we estimate the country’s civil liberties as a function of Instrumental Variables (IVs) and other covariates. And in the second stage, we estimate the terrorism incidents per capita as a function of the estimated civil liberties from the first stage and other covariates. Theoretically, we need to include at least one IV for each endogenous variable in order to identify the model. In order to control for endogeneity, we introduce three intuitive instruments: oil revenue, under-five mortality rate and military expenditure as IVs.

5.2.1 Oil revenue and civil liberties

Most of the MENAP countries are autocracies and in many of these countries, the principal asset is oil, which is controlled primarily by the rulers. For example, in Saudi Arabia oil revenue amounts for 80–90% of overall state revenues and 40–50% of GDP in recent years (US Energy Information Administration 2013). Similarly, as of 2010, oil revenues provided Iran with approximately half of the government’s revenues and there are not many other avenues of meaningful employment or exports.

Below, we examine if there is any plausible reason to believe that oil revenues in the MENAP region is associated with a lack of civil liberties there. First, let us consider the data. It follows from Fig. 4 that there was a surge in oil revenue in MENAP countries during our period of analysis. It also follows from Table 3 that this trend coincides with the surge in terrorism.

Fig. 4
figure 4

Source: US Department of Energy

Annual oil revenue in MENAP (1998–2010).

We argue below that oil revenue can have both a positive as well as a negative effect on civil liberties. There are some papers that discuss why more oil revenues lead to a reduction of civil liberties and we discuss them first.

Karl (1997) argues that since governments of such economies depend on oil income as the primary source of government revenue instead of taxes, the state loses its ability to make sound economic regulatory decisions since it governs via public expenditure instead of smart management of the economy. Therefore high oil revenues lead to regulatory failure. One manifestation of regulatory failure is crony capitalism, in which case the government adopts policies that favor business groups with ties to the regime. For example, a recent article by Bozorgmehr (2013) in Financial Times mentions that the Iranian regime deliberately follows policies to stunt the growth of private businesses in an effort to prevent an independent private sector from using its wealth to destabilize the regime. Our results indicate that regulatory quality is positively associated with terrorism. This is because policies that apparently promote the private sector are effectively implemented in a manner that favors some business groups at the expense of others. Such policies are feasible in many MENAP countries because the government does not depend on the private sector for tax revenues. Therefore, oil revenue allows dictatorial regimes to restrict the right to pursue one’s livelihood.

Ross (2009) empirically establishes the causal link between oil wealth and authoritarianism through the rentier effect. The rentier effect is the observation that governments of oil rich countries use low tax rates and high spending to dampen pressures for democracy. There are three channels through which this effect works. First, governments of such countries spend a part of their oil wealth to buy support. Second, these governments reduce the tax burden of their citizens because they can finance the operations of the state using their oil revenues. Third, the rulers use their influence to hinder the formation of social organizations that might ultimately challenge them. The outcome of the rentier effect is that it sustains dictatorial regimes, which then curbs civil liberties.

It is however possible for oil revenues to exert a positive influence on civil liberties. Oil revenues allow the government of a country with the funds needed to develop infrastructure and take other measures to improve the quality of life of its citizens. In that case, the likelihood of a rebellion will be low and therefore the government will not have to reduce civil liberties in order to control the unrest.

This leads to the second research question we focus on in this study.

Hypothesis 2

The relationship between oil revenue and civil liberties can go either way.

Now let us consider the direct relationship between oil revenue and terrorism (of both kinds). In our sample, we find that the relationship between domestic terrorism and oil revenue is not significant (correlation coefficient = 0.08) even at 10% level of significance. The same holds for the relationship between transnational terrorism and oil revenue (correlation coefficient = − 0.04). Further, we regress the number of terrorist attacks on civil liberties and oil revenue and find that the coefficient of oil revenue is statistically insignificant. This indicates that oil revenue does not have a significant direct effect on terrorism.

5.2.2 Military expenditure and civil liberties

Below, we examine if there is any plausible reason to believe that military expenditure in the MENAP region is associated with civil liberties. First, let us consider the data. It follows from Fig. 5 that there was a surge in military expenditures in MENAP countries during our period of analysis. It also follows from Table 2 that this trend coincides with the surge in terrorism. Below, we first argue why high levels of military expenditure will result in decrease in civil liberties. Then we argue that because of the special context of the MENAP region, there are reasons to believe that military expenditure has an indirect relationship with terrorism through its effect on civil liberties.

Fig. 5
figure 5

Source: World Bank

Military expenditure in MENAP (1998–2010).

As Fig. 6 shows, the MENAP countries on an average spend a larger fraction of their GDP on the military compared with OECD countries. Aizenman and Glick (2006) find that military expenditure reduces growth if its primary motivation is rent-seeking and corruption. Most of the MENAP countries are autocratic regimes. In most if not all such regimes, civil rights are restricted, and the incumbents occasionally resort to plain violence to crush opponents, intimidate potential challengers, or to discipline the population at large. Such a repression of civil liberties can be regarded as a standard instrument of the authoritarian toolbox used to uphold and extend political and social control (Tullock 1987; Wintrobe 1998). This though would lead to unrest among the citizenry. It is rational for the regime to support the military to protect it in the case of an anticipated uprising (e.g., Syria). One would therefore expect to find a negative relationship between military expenditure and civil liberties.

Fig. 6
figure 6

Military expenditure (% of GDP): MENAP versus OECD (1998–2010)

This leads to the third research question we focus on in this study.

Hypothesis 3

Military expenditure is negatively related with civil liberties.

Now let us consider the direct relationship between military expenditure and terrorism. We first focus on transnational terrorism. As we discussed in Sect. 4, we consider two kinds of transnational attacks in this study—attacks against foreigners and attacks by foreign terrorist groups with the former much more common in our data. The targets of these attacks are mainly western military personnel. Therefore, it is understandable for the countries (such as USA) under attack to allocated resources aimed at better security for their personnel. However, the military expenditure used in this study features expenditure by the host country for which protecting foreigners is not the primary motivation.Footnote 5 Therefore, it is plausible that given the special context of the MENAP region (in which foreign militaries are present in many countries), military expenditure will not have a direct effect on transnational terrorism. Now let us consider military expenditures by host country and its direct effect on domestic terrorism. There is considerable extant literature since the seminal work of Benoit (1973) that suggests investments in military lead to an enhancement of the economy. In the Middle Eastern countries, it has been noted that armed forces play an important socio-economic role beyond maintaining security by absorbing excess labor that might otherwise be unemployed and politically disruptive (Rubin 2001). On the other hand, it could retard economic growth by crowding out investments in health care, education, infrastructure, etc. (Dunne et al. 2002). Thus we believe the direct effect on domestic terrorism could be insignificant due to such opposing effects. Later on, we confirm econometrically that this is a valid instrument.

5.2.3 Lagged under-five mortality rate and civil liberties

In the literature, the child (under five) mortality rate has often been considered as an index of development (Urdal 2006, p. 616). A country will be able to reduce its child mortality rate only by undertaking sustained investments in public health. If the government of a country indeed strives to improve the quality of life of its citizens, then there should be less resentment against the government. Consequently, the government need not resort to human rights violations in order to quell any rebellion. This means that a reduction in child mortality rate should be accompanied by an increase in civil liberties, that is, these two variables should be negatively related. It is reasonable to expect the government to reduce civil liberties with a delay after the reduction in the child mortality rate because the chance of a rebellion will go down only after citizens enjoy a high quality of life for some time. Hence, there should be a negative relationship between the lagged value of the under-five mortality rate and civil liberties. This leads to the following hypothesis:

Hypothesis 4

Lagged under-five mortality rate is negatively related with civil liberties.

Lagged under-five mortality rate is unlikely to have any strong direct effect on terrorism of either variety. Therefore, we use it as an instrument and ourconometric tts below confirm that this is indeed a valid instrument. We also use statistical tests to investigate the validity of these IVs. Finally, we use a Durbin–Wu (Hausman type) test to determine if there is empirical evidence to suggest that Civil Liberties is an endogenous variable. We also test the endogeneity of Civil Liberties in the panel setting in a RE specification as follows:

Stage one:

$$ Civil \;Liberties_{it} = \theta_{0} + \theta_{1} X_{it} + \theta_{2} IV_{it} + \phi_{i} + \vartheta_{it} $$
(5)

Stage two:

$$ y_{it} = \gamma_{0} + \gamma_{1} \;\widehat{{Civil \;Liberties_{it} }} + \gamma_{2} X_{it} + \omega_{i} + \mu_{i} $$
(6)

In the RE model where we treat the Civil Liberties as the only endogenous variable, we actually estimate a Generalized 2SLS (G2SLS) model: first, we regress the Civil Liberties on exogenous variables Xit and IVs; second, we regress yit on the estimated Civil Liberties from stage1 and Xit assuming no relation between all the covariates and the unobserved heterogeneity. We use a Hausman type of test to assess the endogeneity of Civil Liberties in RE (by comparing it to the RE with Civil Liberties as exogenous).

6 Results

6.1 Domestic terrorism

In this subsection, we explore the effects of civil liberties on domestic terrorism. We first discuss our results using the exogenous model given in the second column of Table 7. It follows from our regression that Civil liberties is negatively related with domestic terrorism and the coefficient is statistically significant.

Table 7 Domestic terrorism and country characteristics in MENAP countries (random effect)

One of the governance indicators that we control for is the rule of law, and this tends to reduce domestic terrorism as well. One of the main reasons of terrorism is grievances against the regime, and such feelings tend to be exacerbated when the regime’s actions seem arbitrary or biased towards a particular group. Any government that upholds the rule of law would be perceived to be impartial and this tends to reduce support for terrorism.

We also find that domestic terrorism is positively related with the following: (i) Voice and Accountability and (ii) Regulatory Quality. It is found that domestic terror increases when the ability of the citizens to participate in selecting their government increases (Voice and Accountability). This is due to the fact that some of these MENAP countries are quite new to a democratic setup. This adds support to hypothesis put forth by Eyerman (1998) that newly formed democracies are more vulnerable to terrorism than other types of states.

We also find a positive relationship between domestic terrorism and regulatory quality. A country is said to improve its regulatory quality if it can promote policies that aid in the development of the private sector. In the MENAP region, these policies have often helped a few oligarchs with ties to the regime. For example, Rijkers et al. (2014) examined the case of Tunisia and found that regulation was used primarily to benefit firms that were owned by President Ben Ali’s family. Indeed, Thomas Mirow, the President of the European Bank for Reconstruction and Development, commented in a speech delivered at the London School of Economics (2012) that “In nations like Tunisia and Egypt, the private sector, at least its upper segment, is questioned not because there is an alternative such as communism, but because it has become tainted by cronyism. When these countries did try to shift more emphasis from the state to the private sector, it was often well connected insiders who benefitted and became wealthy.” The taint of cronyism means that policies that promote the private sector can breed resentment and this can result in more support for terrorism.

We ran the Breush-Pagan test to compare Random Effects (RE) and OLS models. This test provides evidence of the existence of unobserved heterogeneity across countries (p value < 0.001). We further ran a Hausman type of test to compare between RE and Fixed Effects (FE) models. This test indicates that RE is consistent and correctly specified (p value = 0.92) and hence an RE model is more appropriate.

An additional point we examine is the endogeneity of Civil Liberties. These results are presented in Table 7, column (2).Footnote 6 In the endogenous OLS model, the Durbin–Wu test (with a p value of 0.97) shows that we cannot reject the hypothesis that Civil Liberties can be treated as exogenous.Footnote 7 Therefore, our preferred results in Table 7 are given in the second column (the exogenous model). Also, the Hausman type of test comparing RE versus FE models indicates that RE is consistent and correctly specified (p value > 0.1) and hence an RE model is more appropriate.

6.2 Transnational terrorism

In this subsection, we explore the effects of civil liberties on transnational terrorism. First consider the exogenous model presented in the second column of Table 8. We find that in the exogenous model, Civil liberties is negatively related with transnational terrorism but the coefficient is statistically insignificant. Hence, there is no perceptible impact of civil liberties on transnational terrorism.

Table 8 Transnational terrorism and country characteristics in MENAP countries (Random Effect)

We find that there is a decrease in transnational terrorism when the regime is perceived to be stable. This is consistent with other papers such as Kis-Katos et al. (2011). We also find that transnational terrorism is positively related with the following: (i) Government Effectiveness and (ii) Religious Fractionalization. The positive relationship between Government Effectiveness and Terrorism is because some of these MENAP countries are quite new to a democratic setup and newly formed democracies are more vulnerable to terrorism than other types of states.

We ran the Breusch–Pagan test to compare between RE and OLS models. This test provides evidence of unobserved heterogeneity across countries (p value < 0.001). We also ran a Hausman type of test to compare between RE versus FE models and found that RE is consistent and correctly specified (p value = 0.83). Based upon these test results, it appears that the RE model is more appropriate than the other two.

We also evaluate the endogeneity of Civil Liberties. The results of the first stage estimation are reported in Table 10. In the endogenous OLS model, the Durbin–Wu test (with a p value of 0.35) shows that we cannot reject the hypothesis that Civil Liberties could be treated as exogenous.Footnote 8 Therefore, our preferred results in Table 8 are given in the second column (the exogenous model). Also, the Hausman type of test comparing RE versus FE models indicates that RE is consistent and correctly specified (p value > 0.1) and hence an RE model is more appropriate.

We find that from the first stage of the regression that oil revenue has a positive impact on civil liberties whereas military expenditure and under-five mortality rate have a negative impact on civil liberties (Appendix Table 10). This validates our hypothesis regarding the instruments.

6.3 Robustness check

As noted in Roodman (2009a, b), in our study T (11) is large as compared with N (19) and therefore dynamic panel bias becomes somewhat insignificant, and a more straightforward fixed-effects estimator is deemed more reliable. Further, the number of instruments in difference and system GMM tends to explode with T and if N is small, the cluster–robust standard errors and the Arellano–Bond autocorrelation test may be unreliable.

The above said, we check robustness of our results using Generalized Method of Moments. We adopt the Roodman (2009a, b) extension of Arellano and Bover (1995) for our analysis. Specifically, instead of employing first differences, the estimation approach uses forward orthogonal deviations because the latter limits instrument proliferation and controls for cross-sectional dependence. Noting that all independent indicators could be suspected endogenous or predetermined variables, we adopt the gmmstyle for these variables and only years are treated as exogenous. Further, we treat ivstyle (years) as ‘iv(years, eq(diff))’ because it is not likely for years to become endogenous in first-difference (Roodman 2009b). In order to address the concern of simultaneity, lagged regressors are employed as instruments for forward-differenced variables.

Our gmm model findings provide additional support to the primary results noted earlier in our exogenous model. Specifically, we find that higher level of civil liberties reduces domestic terrorism whereas they don’t influence transnational attacks. Further, we find that current domestic and transnational terrorist attacks tend to depend positively upon the number of past attacks. Hence, the incidence of terrorism is strongly history dependent.Footnote 9

A few other statistics are of note here. These hold for both domestic and transnational terrorism. First, the null hypothesis of the second-order Arellano and Bond autocorrelation test in difference for the absence of autocorrelation in the residuals is rejected. Second, the Sargan and Hansen overidentification restrictions tests are insignificant and supports the null hypotheses that the instruments are valid and not correlated with the error terms. Third, we find that the Difference in Hansen Test statistic is insignificant and therefore bolsters the validity of results from the Hansen overidentification restrictions test. Finally, we find that the Fischer test statistic supports the joint validity of estimated coefficients.

7 Concluding remarks

There is a view that the development of an appropriate legal framework and the preservation of political freedom and social justice are a winning strategy for democratic countries in response to potential terrorist threats (Hinnen 2009). Existing scientific studies, however, present contradictory causal arguments about the effect of democratic governance on reducing terrorism. A majority of studies claim that, because democracies promote high levels of civil liberties such as freedom of association and legal rights for accused criminals (e.g., terror suspects), they are more likely to be vulnerable to potential terrorist attacks (e.g., Eubank and Weinberg 1994, 2001). In contrast, a relatively small number of studies maintain that, because democracies encourage political participation and nonviolent resolution of conflicts, their chance of experiencing terrorist incidents is subsequently diminished (e.g., Eyerman 1998). As these unresolved and ongoing debates demonstrate, current scholarship fails to offer a concrete answer to the question of whether democracies attract more terrorist attacks than non-democracies.

We extend the literature to examine if lack of civil liberties is an important reason for the rise of terrorism in the Middle East. This article considers this question using an exogenous as well as an endogenous framework. Our primary findings are that: (i) An increase in civil liberties is associated with a reduction of domestic terrorism but not of transnational terrorism, (ii) We cannot reject the null hypothesis that civil liberties is exogenous. (iii) We also find that domestic terrorism is positively related with voice and accountability and regulatory quality and (iv) we find that transnational terrorism is positively related with government effectiveness and religious fractionalization.

Our findings add support to the studies that have shown that democratic reforms that uplift the civil liberties of the nation’s citizens does have a positive impact in curbing domestic terrorism. Further, this adds support for the respect of civil liberties as a key piece of the counterterrorism policy pursued by nations such as United States in their attempt to combat terrorism.