Introduction

The performance of any government is measured by improvement in its citizens' well-being and the quality of life they live. Since the late 1930s, the government's involvement in economic activities has remained substantial and cannot be overemphasized [85]. Government spending has remained an important instrument for the provision of public goods and services including health, education, transport infrastructure, and security [13, 32, 54, 56, 59, 61]. Several analytical and empirical studies have focused on expenditure as the traditional avenue through which the government can achieve its aim [19, 22, 60]. Average government spending has remained high across African countries (see Table 1 and Figures), and this has been done to make public goods or services available (Fig. 1).

Table 1 Trend of Government Spending in Africa
Fig. 1
figure 1

Total natural resources rent in percentage of GDP as at 2017

Government spending is one of the vital ways for the provision of public goods and services with a view of improving citizens' well-being. African countries have been identified by international bodies as naturally endowed with resources that serve as major financiers for many African governments yet, most countries in Africa are ranked low in human development [103]. Though, the nature of many governments is hinged on the quality of life, however, the reverse is the case for many African countries (see Figs. 2 and 3). Over the years, there has been an increase on average in the government spending of African countries owing to peculiar attributes in influencing economic productivity and well-being of the populace, yet her socio-economic outcomes seem to not match the amount or level of the spending. One critical question is to ask whether the efficiency level in the use of government spending to improve social welfare is increasing over time or not? In other words, the effectiveness of government spending in Africa may have been hampered by the quality of the spending. Hence, the paper examines the efficiency of African countries' government spending in the relationship between government spending and socio-economic outcomes as the framework (Single-output multiple-input approach), and the determinants of the level of efficiency in government spending, with particular attention to natural resources and colonial legacy across the sampled countries.

Fig. 2
figure 2

Human Development Index Trend

Fig. 3
figure 3

Government Expenditure as a Percentage of GDP

There is a need to improve socio-economic outcomes, especially among African countries where there exists the highest number of people living in poverty [110] and the high prevalence of food insecurity, (for example, increase from 54.3% in 2014 to 57.2% in 2015 for sub-Saharan Africa [6]. Among many factors, to improve socio-economic outcomes in Africa, it is paramount to increase the spending of government or secure higher efficiency in the use of the spending instrument or both. However, regardless of the choice made, an understanding of the efficiency of government spending is inevitable. More so, the tax base limits the extent to which the government can increase its expenditure pattern and there are other (macro) economic constraints to government effort towards increasing expenditure [57, 69].

In light of this, to have an effective and efficient provision of goods and services (social goods) in Africa, the government must improve the quality of spending, calling for higher efficiency. Herrera and Pang [50] noted that some countries with high expenditure patterns recorded a low level of efficiency in government spending. These countries include Angola, Niger, Sudan, Ethiopia, and Burkina Faso. Therefore, a small change in the factor(s) that accounts for a low level of government spending efficiency may have a significant impact on the socio-economic outcomes. The empirics on the level of efficiency of government expenditure in Africa show that most countries have low levels of efficiency in the utilization of public resources [2, 33, 43, 47, 50, 57, 69, 77].

Africa has an abundance of natural resources, experienced colonization for several decades, and has witnessed a varying level of institutional quality, which are some of the factors that may influence the efficiency level in government spending. Some authors have examined government efficiency and its underlying variations. Studies [2,3,4,5, 43, 78] focused on sectoral analysis. Likewise, income level produces cross-country efficiency variation [2, 3, 43, 99, 100], per capita income and government revenue caused variations inefficiency [48], gross domestic product (GDP) per capita, institutional structure and framework [70], urbanization and bureaucratic quality influence on the efficiency of spending [50, 57] whereas corruption, the incidence of human immunodeficiency virus or acquired immunodeficiency syndrome (HIV/AIDS) outbreak, higher-income inequalities, and the extent of external support financing are reported to have negative effects [50, 57]. However, the assessment of government spending efficiency in Africa or SSA may be incomplete, inaccurate, and unreliable if factors such as natural resources endowment, colonial legacy, and size of the economy are not included or accounted for. Moreover, studies at various times and spaces have identified the role of institutional quality towards government activities especially among countries of Africa, [10, 20, 21]. Hammond's [46] findings show that institutional variables have a direct and significant impact on government activities.

Many countries in Africa are natural resource-rich and operate in a democratic environment yet their level of development or socio-economic attainment remains low. Studies over the years have revealed that there is no agreement on the nexus between natural resources endowment and level of economic development [78,79,93]. As for Africa, a large number of resource-dependent countries are low in economic development. The countries that operate in a resources-rich democratic environment should seek to convert their assets both human and physical capital to support, enhance, and promote socio-economic outcomes. According to Venables [107], 12.2% of the world's oil production is attributed to Africa in 2010 and a lower percentage of 9.4% in 2014. Resource revenue has remained the larger part of budget revenue estimates in most of these countries and accounts for between 60 and 70% in some countries. Ironically, Africa's rich natural resources-dependent countries have low ratings in health and education outcomes (see Figs. 1 and 2). Natural resources endowment should be synonymous with development. Africa is richly endowed and seems to be most naturally blessed in the world, yet development outcomes are among the least, comparatively.

Similarly, the system of public sector operations and bureaucratic administrations has ever remained the reflection of what the colonial masters handed down. Colonial legacy has remained an important variable in the systems of African countries, from the operations of the systems of the public services, education, judiciary, financial institutions, and a host of others. Except for a few countries such as Rwanda, the legacy of colonization in official languages still guides the running of affairs in most African countries which had it. According to Agbor [11], colonial legacy may have indirect effects on socio-economic outcomes via some channels, though the direct effect would be treated with caution. Therefore, the measure of colonial origin would be factored as a possible determinant of the level of efficiency or as affecting the extent of economic development in Africa. Hence, the study probe whether colonization hinders government spending efficiency in African countries or not? The kernel of this study is therefore to examine the main factors influencing the level of efficiency in public spending in Africa. Some related studies [2, 33, 50, 57, 69, 77] that focused on determinants of the efficiency of government spending in Africa are mainly on specific sectors but neglected the roles of natural resources endowment as well as the influence of colonization within a parametric frontier analysis.

Following the introduction, the study discusses the related existing studies on the efficiency of government spending and its underlying variations in Section two. In Section Three, we present the methodological approaches adopted in the study. In Section Four, results and discussion of the study are presented and Section five discusses the conclusion and policy implications.

Review of related literature

Theoretical foundations

The paradigm of government spending efficiency can be anchored on the Keynesian proponents in African economies. Government spending has been argued to have a positive relationship with well-being, following insights from Wagner [109], Peacock and Wiseman [80], Musgrave [71], and the argument from various empirical standpoints [54, 85, 87]. Specifically, the Wagner law of state activity emphasizes an endogenous relationship, because as an economy is growing likewise government spending is increasing and the increase in government spending on social progress will make the economy increase in; education, public health, old age pension or retirement insurance, food subsidy, environmental protection programmes, natural disaster aid, and other welfare functions in turn. However, a cursory look at the socio-economic outcomes in Africa shows that reverse is the case between growing government spending and socio-economic outcomes. Countries that are ranked first in development episode among African countries were among the least in the world [103]. Low development indicators as against huge African governments spending indicates low efficiency in spending. In order to answer how efficient in the use of government spending to improve social welfare, the study is classified into two phases. In the first phase where frontier approach was adopted to establish the government spending efficiency level, government becomes producer of social welfare through the output–input approach. This explain the efficiency of government spending through single output (human development index) and multiple inputs (government spending, labour productivity, and gross fixed capital formation). The second phase assesses the determinants of government spending efficiency by establishing static relationship between government spending efficiency and its core drivers.

Empirical evidence

The need for greater efficiency has remained a key interest of policymakers and researchers in the discussion of government spending, especially among African countries where development issues of rising poverty, wide inequality, and high unemployment are more pronounced, despite a consistent rise in government expenditure. One of the ways of addressing the problems, as used in the literature, is via fiscal spending instruments.

Government spending has experienced an increase over time in tackling and addressing such development issues [13, 19, 22, 32, 35, 54, 56, 64,65,61, 85]. Despite growing spending, there is still a persistent high problem of poverty, inequality, and unemployment. Meanwhile, studies show that government spending has been very much below the required amount due to some reasons including narrow tax bases as well as structural macroeconomic constraints, [57, 69]. Thus, an examination of government spending efficiency and its determinants becomes inevitable and may have been a key factor in explaining the status of socio-economic outcomes observed in Africa.

Several studies across developing regions have provided evidence that abundant natural resources do not equate to economic development [14, 36, 49, 89,90,91,107]. Africa is blessed with an abundance of both natural and non-natural resources, yet its development indices are among the least in the world. Hamdi and Sbia [45] explained that resources endowment remains the principal source for growth and the main channel with which to finance government spending. Dizaji [30] examined the dynamic relationship between natural resources and government spending with evidence showing that the government's oil export can potentially affect government total expenditures. Ahmad and Masan [7] investigated the short-run and long-run relationships between the real GDP, the real government expenditure, and the real oil resources for the period between 1971 and 2013. They found a positive long-run relationship between the variables in the study. Mahmoodi [66] explored oil price reduction impacts on the Iranian economy and showed that oil export and the mineral commodity export earnings decreased, but other production sectors' exports increased. Musau and Veka [72] studied the nexus between crude oil trade and current account deficits by building on and extending Huntington [112]. Hence, the contributions of the gain realized from resource rent to government spending efficiency becomes imperative, since African countries are characterized by an abundance of natural resources.

No doubt, resources endowment influences the direction of a country’s economic activities, particularly within the region that shares common trade, language, and geographical location. Glyfason’s [39] study revealed that natural resources impede economic growth through the crowding out of foreign and social capital. Natural resources endowment remains part of the major sources that can be used to finance expenditure. Natural resources are generally government-controlled, and hence, its contribution to the provision of social goods cannot be overemphasized. The question as to whether natural resources are a blessing on economic growth and development is an imperative issue and requires clarification. Kim and Lane [59], using a sample of developing countries, reported that economies endowed with abundant natural resources tend to develop more slowly than the ones with scarce resources. They concluded that natural resources are, on average, a curse for developing countries. Over the years, studies have also examined the role and economic advantage of natural resources, across countries. Natural resources abundance may crowd out manufacturing activities [67, 92, 101], lead to underinvestment in human capital [38, 44], cause rent-seeking behaviour [17, 102], increase incidences of social conflict and civil war [29, 51], and undermine institutional quality [1, 15]. Ever since the work by Sachs and Warner [90], the finding that natural resources appear to be more of a curse than a blessing has led to the extensive literature. Owing to the nature of endowed natural resources as government-controlled, it becomes plausible to examine the efficiency of government spending in light of natural resources endowment.

Furthermore, owing to a government measure of performance, studies have provided a testable proposition on the nexus between government spending and socio-economic outcomes. Peacock and Wiseman's theory of public expenditure argued that public expenditure does not follow an organic state but instead a step-like fashion. Explicitly, the government is interested mainly in ensuring the well-being of the populace and when the unexpected, such as war, disease outbreak, pandemic, and other shocks (positive or negative) occurs, the expenditure profile has to increase as a means of intervention to curtail the consequences of shock. Hence, in an attempt to maintain or improve social welfare, there is a need for government to increase spending which the existing government resources might not be adequate to achieve, as such resource-rich countries could achieve the objective of well-being during this period non-resource-rich countries. The implication of this theory on the need for efficiency is that given social/natural disturbances (positive or negative shocks) and the need to provide public goods, efficient use of such resources may help to facilitate human development and economic growth.

Also, Musgrave [73] asserted that the demand for public service tends to be very low when per capita income is low. The assertion is due to him, such income is dedicated to fulfilling primary needs, and when per capita income begins to rise above low-income levels, demand for the public sector provision of utilities such as health, education, and transportation begins to rise, forcing government spending on them to increase. Per capita income has a high correlation with public sector social service demand with supply. So, as Africa has experienced sustained growth in the last 30 years [except during corona virus disease (COVID-19) lockdown], the social demand for public goods has risen and the size of the public sector has been forced to increase its activities. One key implication is that pressure remains on the government to provide public goods, which the current state has remained behind the required amount, leading to the infrastructural deficit, high out of school children, poor health, etc., in Africa. The state of socio-economic outcomes in Africa is by far below expectations as a result of a deficit in these public goods, among others.

Unarguably, high quality of life may be achieved with increased government spending [54, 71, 80, 85, 87, 109]. Meanwhile, poverty continues to be prevalent, with large inter-country and intra-country disparities, particularly in West, East, Southern, and Central Africa as a group. Likewise, manufacturing and value addition in most countries in Africa remain weak due (in part) to constrained infrastructure and the prevalence of racially biased cultural norms that strengthen their behaviour [6, 103].

The core objective of the government is to promote well-being through allocation, distribution, stabilization, and economic growth, and as such government must spend. The quality of government spending in Africa has become more important due to the higher demand for public goods or services and uncertain external development assistance. Having experienced a growing expenditure pattern in Africa over the years with low government performance, the efficiency of government spending, therefore, becomes essential.

Studies have examined the determinants of government spending efficiency across the world. The range of studies includes the differences in the efficiency of education spending [3], public sector efficiency [3], determinants of expenditure efficiency [48], the efficiency of public expenditure in improving health, education and governance performance [86], assessment of the effectiveness of health care delivery [111], efficiency and variation in cultural and economic characteristic [40], Also, there was a re-estimation of efficiency with parametric and nonparametric methods [52]. Literature shows that bureaucratic quality and urbanization have a positive influence on the efficiency of spending whereas corruption, the incidence of HIV/AIDS outbreak, higher-income inequalities, and the extent of external support financing have a negative influence on public spending efficiency. Studies also see civil unrest as a crucial factor that determines the efficiency of public spending. The importance of natural resources rents on economic development cannot be overemphasized. The contribution of natural resources rent to economic development, have evolved in the literature overtimes. Natural resources abundance and financial development [97]. Mining revenues, government consumption, exchange rate, and economic growth [62]. Total natural resources, economic growth, financial development, capital stock, and trade openness, (Satti et al. 2014). GDP, natural resource rent, and trade openness, [45]. What is the role of natural resources endowment on the level of government spending efficiency?

The curse of natural resources refers to the paradox that resource-rich countries tend to grow slower than resource-poor countries, despite their large natural resources endowments [93]. Auty [16] argued that the slow economic growth that many Latin American, sub-Saharan African, and Arab countries have experienced during the 1970s is mainly because, instead of creating wealth and developing human capital, the associated governments just sought for gaining more political and popular support by distributing rents collected from natural resources exports.

Some studies have argued that natural resources abundance is a curse [18, 88] while some report it as a blessing [89, 108]. Havranek et al. [49] also showed that 40% of empirical studies published within the two last decades agreed that natural resources are a curse while 20% opined that it is a blessing and the last 40% of studies report no significant effect. There is no consensus on whether natural (resource) rent is a blessing or a curse. According to the World Bank [110], the report noted that natural resources as a curse are not universal since many countries both developed and developing such as Canada, Botswana, and Australia have succeeded in transforming their raw natural resources into sustainable development. Hence, this study will validate the natural resources-government spending efficiency nexus among African countries.

In terms of approaches employed to investigate the nexus in recent times, both parametric and nonparametric strategies have been dominant in the literature. However, a parametric approach such as stochastic frontier analysis (SFA) separates deviations from production function between random error and inefficiency [25]. The SFA was independently proposed by Aigner, Lovell, and Schmidt [9] as well as Meeusen and Van den Broek [68] to estimate technical efficiency in applied economic research. As for the nonparametric approach such as free disposal hull (FDH) and data envelopment analysis (DEA), what is involved is a mathematical programming technique and it allocates all the deviations from the production frontier to technical inefficiencies [65]. There is no specific functional relationship in the production frontier between inputs and output or in the efficiencies term, unlike the SFA.

The specific functional relationship between inputs and output in the SFA methodology to efficiency can be Cobb–Douglas, translog, or any other which may have been developed along the line of specific distributions and estimation methods. For instance, Battese and Coelli, [25] proposed truncated normal distribution and maximum likelihood for the estimation of inefficiency term in a panel analysis. Greene [41] provided an extension through the measure of efficiency as time-invariant. He incorporated a term used to capture the inefficiency for the random effects and fixed effects estimators containing time-invariant cross-unit heterogeneity.

Methodology

Aigner et al. [9] and Meeusen and van den Broeck [68] presented the studies that introduced SFA in econometrics. Pitt and Lee [84], Jondrow et al. [58], Schmidt and Sickles [95], Battese and Coelli, [22,23,26], Kumbhakar [63], Greene [41, 42], and others have extended the original formulation to the models to suit various empirical analyses. The SFA modelling strategy on the one hand permits inference making on the determinants of the frontier of the functional variable. On the other hand, it explains the drivers of inefficiency therein. The possible sources of inefficiencies in government spending may be exogenously determined by factors that may not necessarily be within the control of the economic agents (such as the government). Therefore, every SFA model specification entails the inclusion of environmental/exogenous variables. The stochastic frontier model of government spending adopts single-output multiple-input approach that employs panel data is given as:

$$ Y_{it} = f\left( {X_{it} ;\beta } \right) $$
(1)

where Y is the maximum output obtainable (human development index), X is the vector of non-stochastic inputs (government spending, labour productivity, and gross fixed capital formation), and β is an unknown parameter. The SFA allows producer (government) to incorporate the possibility of measurement error into inefficiency term and noise effect as follows;

$$ \begin{aligned} Y_{it} = & X_{it} ;\beta + \varepsilon_{it} \;{\text{for}}\;i = 1, \ldots , N\;{\text{and}}\;t = 1, \ldots , T \\ Y_{it} = & X_{it} ;\beta + V_{it} - U_{it} \\ \end{aligned} $$
(2)

where \(\varepsilon_{it} = V_{it} - U_{it}\).

Here, \( V_{it} \sim i.i.d. \) \(N\left( {0,\sigma_{v}^{2} } \right)\) and \(U_{it} \sim i.i.d. \) \(N\left( {\mu ,\;\sigma_{\mu }^{2} } \right)\) are identically and independently distributed of each other and other explanatory variables. N and T represent the number of countries in the sample and time period end, respectively. Following, Greene [41] as well as Battese and Coelli [25] models which assume truncated normal distribution, this study estimated the technical efficiency of government spending in selected forty (40) African countries through the Cobb–Douglas stochastic frontier function. The linear form of the equation, which is made up of the deterministic component and the composite error, is derived for estimation. However, the composite error is decomposed into noise effect, \(V_{it}\) and inefficiency function, \(U_{it}\). The technical efficiency (TE) of production for the ith country at time t is defined as:

$$ \begin{gathered} TE_{it} = \frac{{\exp (X_{it} \beta + V_{it} - U_{it} )}}{{\exp (X_{it} \beta + V_{it} )}} \hfill \\ TE_{it} = \exp (U_{it} ) \hfill \\ \end{gathered} $$
(3)

Note that the expected value of the exponential (− Uit) represents technical efficiency. Given the truncated normal assumption in the stochastic frontier analysis, the technical inefficiency model is specified; thus,

$$ U_{it} = \delta_{i} Z_{it} + W_{it} $$
(4)

Zit represents the environmental/ exogenous variables (government spending, size of an economy, resource rent, colonial legacy, and institutional variables) that drive the efficiency of the frontier. The choice of explanatory variables is guided by economic theory, particularly the Keynesian proponents. Wit is the error term of the efficiency model and is the estimated parameter.

The study utilizes a panel data of 40 African countries (Algeria, Egypt, Morocco, Sudan, Tunisia, Botswana, Namibia, South Africa, Swaziland, Angola, Cameroun, Central Africa Republic, Chad, Congo Brazzaville, Congo DR, Gabon, Benin, Burkina Faso, Gambia, Ghana, Guinea, Guinea Bissau, Mali, Niger, Nigeria, Senegal, Sierra Leone, Togo, Mauritania, Burundi, Comoros, Kenya, Madagascar, Mauritius, Mozambique, Rwanda, Tanzania, Uganda, Zambia, and Zimbabwe) owing to the international monetary fund (IMF) [55] and Venable [107] and covering the period between 2000 and 2020 following the era of strong growth in output and increased economic activities among most African countries. Data were sourced from 2021 Editions of the World Bank's Development and Governance Indicators to examine the relationship between government spending efficiency and its possible drivers such as natural resources and others using five different models. Following Greene [41], the true fixed model was considered as baseline because allows different distributional assumptions, providing the modelling of both inefficiency location and scale parameters. In addition, capture the inefficiency for the fixed effects estimators containing time-invariant cross-unit heterogeneity. The variables and measures in the model are presented in Table 2.

Table 2 Data and Sources.

Results and discussion

This section provides a summary of the result on government spending efficiency in African countries. This section is divided into three subsections. In subsection one is the descriptive, correlation and pretest of the model while subsection two presents the frontier result of government spending efficiency and finally, subsection three presents the drivers of government spending efficiency across the sample frame.

Descriptive, correlation and pretest

The empirical results within the government spending efficiency start with the descriptive statistics to have a clearer view of the series and the cross sections used in the study. Among the selected countries in Africa, Table 3 reveals that most human development countries stood at 0.804 representing very high human development following the UNDP Report [103] while on average human development for Africa stood at 0.502 representing low human development. By implication, most African countries' human development falls within low human development suggesting the need for African countries to improve the well-being of the region. Meanwhile, government spending in the region on average stood at 14% though some countries spend as high as 35% government spending on economic activities in the region. Impliedly, achieving well-being is seen as the paramount objective for the African government with huge government resources yet human development is within the lower echelon among countries of the world. Furthermore, at most 59% were revenue mobilized through rent resources among African countries while on average African countries generates 11% of their revenue base from rent resources. This could be the reason for international bodies (IMF, UNDP, World Bank) identified most of the countries in the region as resource-rich countries [55, 107]. Likewise, Table 4 reveals a positive degree of association between human development and government spending. This is not unexpected as suggested by theories and empirical standpoint [12]. However, there is an indirect association between human development and resources rent among African countries in the study. Also, the degree of association between variables and the coefficient at the diagonal showed the degree of association between a variable and itself. Following Bolarinwa et al. [27], the degree of association between variables is within the range of the acceptance region and the result are not unexpected since it conforms to theoretical foundation of Keynesian proponents of our a priori expectation. Owing to macropanel data adopted in the study, it becomes celestial to carry out pretest to avoid the misleading result.

Table 3 Descriptive statistics
Table 4 Matrix of correlations

To analyse the presence of cross-sectional dependence and the order of integration of our variables, the Pesaran cross-sectional dependence (CD) test [82], and the cross-sectionally augmented IPS (CIPS) test [83] were performed. Tables 5 and 6 give the results of both tests. Given the results of the Pesaran CD test [82] in Table 5, there is a presence of cross-sectional dependence in all the variables among selected African countries. By implication, African countries are correlated in terms of series adopted for the study. The reason could be common continental attributes (particularly decolonized public sector arrangement) that most of the countries shared and as such if we ignore it, it can produce inconsistent and incorrect conclusions in the econometric approach [31]. Within the foregoing, since there is the presence of cross-sectional dependence in the series, second-generation unit root test, the CIPS test by Pesaran [83] becomes bodacious because first-generation unit root tests are not trustworthy when this phenomenon is present. Table 6 reveals that some of the variables are on the borderline between the orders of integration I(0)/I(1), but that in the first differences, all variables are stationary with and without trend.

Table 5 Cross-sectional dependence
Table 6 Second generation unit root

Frontier analysis

In this subsection, government spending efficiency was generated through a parametric approach of the stochastic frontier method owing to the underlying assumption of the functional relationship as explained in the methodology across the sample frame. In a conventional production approach, the production process involves different combinations of inputs that gives output and as such, the performance of any decision-making unit can be quantified within this framework. In this study, government spending efficiency was generated using human development as the output variable of the frontier while input factors used to generate government spending efficiency were government spending, gross fixed capital formation and labour productivity following the Cobb–Douglas production function. Meanwhile, to enhance our understanding of the need for government spending efficiency among African countries, the study breaks the sample size into resource-rich and non-resource-rich countries as a robustness check and we established government spending efficiency among resource-rich and non-resource-rich African countries following IMF [55] and Venables [107] classification of resources-rich and non-resources countries. Table 7 presents the baseline and robust models across the sample size. Government spending, gross fixed capital formation and labour productivity are highly significant in explaining government spending efficiency across the sample size. The results show that government spending and capital formation are positively and significantly influence human development among African countries. Meanwhile, there is a negative relationship between labour productivity and human development. Thus, these signs are not unexpected since it is in tandem with a priori expectation and theoretical foundation of Keynesian proponents [37, 79, 81, 96, 98]. The frontier result shows that there is wide variation in the use of input factors among countries in Africa to achieve human development. However, the estimated gamma in Table 7, following Bolarinwa et al. [27] study shows that the total variation in human development is explained by technical inefficiency. Hence, this serves as a good proxy of government efficiency. Meanwhile, other diagnostic checks are in the right magnitude.

Table 7 Frontier model for government efficiency.

The result shows that governments of the African countries have not been producing on the frontier level, as earlier found in previous studies [50]. However, the deviation in error term is due to technical inefficiency in the resources utilization effort of the government. Having established that governments of African countries are inefficient in the use of government spending as reported in some studies [50, 75], existing studies have made provision for the approach to the stochastic frontier analysis of inefficiency estimation [23, 53, 58]. Based on efficiency measures, we provided efficiency scores following [23, 58]. Table 3 reveals government spending efficiency for African countries has a high level of consistency given that their mean and median values are in between their maximum and minimum values across the descriptive statistics. Also, the standard deviation values showed that the series employed by the study are not different from their mean values

Drivers of government spending efficiency

Having established the basic behaviour and stochastic frontier of government spending efficiency, we ran five different models to establish the drivers of government spending efficiency among African countries. Following Greene [41], the true fixed effect (TFE) model was used as a baseline model while true fixed effect model (TRE), true random effect model (TRE), panel corrected the standard error, and generalized ordinary least square (GLS) model were used as robustness checks to establish relationship among government spending efficiency and its determinants. Table 8 establishes a relationship between government spending efficiency and its drivers for selected African countries used in the study while Table 9 presents government spending efficiency and its drivers for resource-rich and non-resources African countries.

Table 8 Drivers of government spending efficiency in African countries
Table 9 Drivers of government spending efficiency in resource-rich and non-resource-rich region

In Table 8, TFE model was implemented as the baseline for drivers of government spending efficiency. To control for unobserved characteristics and cross-sectional dependence among African countries in the study, TFE, TRE, and PSCE were implemented. The result from Haussmann test shows that FEM is the appropriate model for unobserved attributes among African countries though there is cross-sectional dependence. For the sensitivity of the result, the model without rent resource and colonial legacy implement TRE following the Haussmann result. Also, to control for cross-sectional dependence, the PSCE model was implemented because the number of countries in the study is greater than the period. The Wald Chi and F-statistic result show the models are good for predicting the relationship between government spending efficiency and its drivers.

The results show that government spending has a negative but insignificant influence on the efficiency level. By implication, as government spend more, the efficiency level is reduced indicating low human development is achieved with high government spending instrument among African countries. Meanwhile, the robust models reveal a negative and significant relationship between government spending and efficiency levels among African countries. The negative and significant relationship between government spending and efficiency level in Africa is in tandem with the empirical standpoint that government spending induces a low-efficiency level among African countries [50, 57] though this does not support theories of government spending as a potential tool for high human development. For sensitive checks, the model without the inclusion of rent resources and colonial legacy was estimated. The result shows that there is a negative and significant relationship between government spending and efficiency level. This could be a reason for most African countries are within the range of low human development index. High spending profiles by most African governments do not potent high socio-economic development. This explains huge government spending among African countries has not been inclusive of human development as against theoretical standpoints.

Meanwhile, the size of African countries' economies has a positive and significant relationship with government spending efficiency level. By implication, as the size of an economy increases so is the rise of government spending efficiency. The same result has been found by Wagner theory and empirical standpoint Fonchamnyo and Sama [34]. This reveals that economic activities remain potential tool for inclusive development among African countries. Meanwhile, this result may not hold for the generality of Africa owing to individual specific attributes. In addition, robustness model found out out that there is a negative but insignificant relationship between the size of an economy and government spending efficiency level in Africa. The negative but insignificant influence could be due to some peculiar attributes attached to countries in the African economies. However, economic growth potent positive and significant influence on efficiency level irrespective of models estimated as such commands high human development among countries in Africa. This could be a reason for most emerging economies in the world are among the countries with high human development indicators.

On the institutional variables, findings show that control of corruption and efficiency level is positively but insignificantly related across models except on the correction for cross-sectional dependence which is significant at 1% level. This explains that high control of corruption commands high human development. Semantically, the low human development indicator among most African countries is due to the high corruption index among African countries. By implication, as African countries' control of corruption rises so is the government spending efficiency. Additionally, spending effectiveness and efficiency levels are negatively and significantly related across all models. By implication, government spending ineffectiveness creates a high inefficiency level. This is in tandem with [64, 76] that explained weak institutions as the inhibiting factor for human development growth in Africa.

Furthermore, resource rent and efficiency levels are negatively related. By implication as more rent resources is discovered so is the low level of government spending efficiency. This suggests that the effect of rent resources could pose danger to the African governments' spending efficiency when issues with spending-development nexus are collectively addressed. However, rent resources become positively related to government spending efficiency when African countries' peculiar attributes are considered and issues with cross-sectional dependence are corrected. This result could be due to diversity in a system of government and differences in unobserved attributes among African countries. This explains a unique way of addressing human development growth among countries in Africa.

Interestingly, colonial legacy and government spending efficiency are positively and significantly related across models. Impliedly, an increase in the years of colonial legacy brings about a rise in government spending efficiency. The more African countries become reform their institutions the higher the possibility of improvement in efficiency in public spending. The reason could be that there will be neutralization of the system of public sector operations and bureaucratic administrations in terms of public services, education, judiciary, financial institutions, and a host of other colonial masters handed down. In Table 9, the relationship between government spending efficiency and its drivers remains sacrosanct except with institutional variables and rent resources. Impliedly, there is no significant changes across African countries, resource-rich and non-resource-rich region.

In Table 9, there is a negative and significant relationship between control of corruption and efficiency level for resource-rich regions. By implication, as control of corruption rises, there is a fall in the efficiency of government spending among resource-rich regions. This suggests that control of corruption among resource-rich regions of Africa has an indirect effect on the efficiency level. The reason could be that most countries in resource-rich regions mobilize resource rent towards rent-seeking behaviour and as such leads to an increase in government spending profile without a corresponding rise in human development. However, among the resource-poor countries in Africa, control of corruption and government spending efficiency is positively and significantly related. The reason could be that high human development becomes the target within resource-poor regions and, as such, available resources are judiciously used rather than rent-seeking behaviour. Likewise, across both resource-rich and non-resource-rich regions, government effectiveness has a positive and significant influence on the efficiency level of government spending. The implication is that as government becomes effective in the quality of policy formulation and implementation, efficiency of spending becomes inevitable across both regions.

Finally, resource rent and efficiency in spending are negatively and significantly related to the resource-rich region while they are positively and significantly related to the non-resource-rich region. This finding revalidates the resource-cause hypothesis among selected African countries. Impliedly, naturally resource endowed countries have a slim chance of growing human development which could be evidenced in Nigeria, Niger, Guinea, Sierre-leone, Mozambique, and Uganda.

Conclusion and policy implications

This paper has estimated the scope for government spending efficiency across selected African countries, resource-rich and non-resource-rich regions. It builds advances in the literature by applying SFA techniques to a high-quality cross-country government spending dataset and with an increased focus on the determinants of government spending efficiency. Our results suggest that resource rent, colonial legacy, institutional variables, size of an economy, and government spending all play a significant role in determining the extent to which a country's human development index reaches its potential and the efficiency of government spending. The results of the model show that the major deviation from the Cobb–Douglas function is attributed to inefficiency across the sample size. The much variation of the error term is found to be accounted for by the technical inefficiency rather than the noise effect. Thus, the greater percentage of the deviation in the error component is due to the technical inefficiency and provides an avenue to examine the factors that cause variation in government spending efficiency in Africa. However, the difference between the actual result and the observed result is attributed to the noise effect from the composite error term. Hence, the statistical significance of the estimate of gamma shows that the model is a good predictor of technical inefficiency and consistent with the extant studies [8, 12, 28, 74].

The study reveals that the exploration of natural resources could provide an improvement to government spending efficiency across African countries particularly the non-resource-rich region and at the same time improve the resources available for the government to spend. In addition, local autonomy will encourage the abundance of natural resources and increase resources available for government expenditure profile for each country. There is a need for the government in Africa to target inclusiveness, particularly to achieve socio-economic outcomes.

Furthermore, the existence of a relationship between drivers of government spending efficiency is concluded as dependent upon each African country's political independence, geographical location, economic independence, and the threat of terrorism and war that it faces which are measured through colonial legacy, rent resource, size of an economy, institutional variables, and government spending. Moreover, the study revealed how each driver influences the government spending efficiency. By implication, effective resources utilization and a strong institutional framework are potential drivers of spending efficiency in African economies. Meanwhile, it could also be seen that legacy received from colonial rulers have had a great influence on the nature of public sector operations. Hence, any distortion of the economy is a result of self-interest and personal gain in the management of public resources.