Introduction

Prior to 1960, when the nation got its independence, agriculture was at the forefront of the Nigerian economy, contributing among others in the provision of food, raw materials for industry and employment opportunities for the populace. These have, however, dwindled significantly following the discovery of oil in 1956. Iddrisu et al. [20] documented that agricultural sector growth would drive growth in the economy because the sector is a major employment of labor and contributes a lot to GDP of many sub-Saharan Africa (SSA) economies.

The key problem facing the sector in the country is lack of adequate finance needed in revitalizing the sector [4, 7]. Likewise, Msuya [28], Abro et al. [2], Christiaensen and Todo [11] argue that to reduce poverty and ensure sustainability in developing economies, there is the need for the sector to develop. Research findings from [23, 31, 36] revealed that in most African economies (Nigerian inclusive), there is a savings–investment gap and also foreign exchange gap which has hindered developing economies in embarking on a developmental project that will improve citizens’ welfare. These gaps necessitated the deployment of diverse strategic reforms such as privatization, investment policy, tax policy, trade liberalization policy among others in the SSA in a bid to attract and sustain the inflow of foreign capital capable of enhancing agricultural output to ensure food security and robust economy.

However, due to the poor internally generated revenue in the country to sustain agricultural output, the need to hinge on foreign capital inflow as an alternative source of funding the sector became necessary as this will act as a catalyst in stimulating economy development and growth thus resonating with [8, 27], that the impact of capital inflow in stimulating the national economy is the most reliable path to sustainability.

Based on Food and Agriculture Organization of the United Nations (FAO) estimate, less developed economies need USD 83 billion yearly investments to meet food requirement [19]. However, these developing economies do not have the capacity to meet such yearly investment, due to the reduction in government spending on agriculture to 7%, insufficient commercial loan (less than 10%) to agriculture [19]. Hence, the call for foreign capital inflows to boost agricultural productivity in those countries.

Studies have also shown that appreciation of exchange rate is harmful to export, while depreciation of exchange rate not only increase the supply of export but also boost the diversification of export [32, 33, 38]. Empirical evidence has shown that capital inflows can cause depreciation of a country currency [8, 21] which in turn affects agricultural output negatively because the importation of modern farm equipment and tools needed to increase agricultural output becomes more expensive [20].

Figure 1 depicts the graph of capital inflow, agricultural output, and growth. During the pre-democracy era (before 1999), the sector contribution to GDP has been evidently poor due to the neglect of the sector over-time as a result of the discovery of oil. However, the democracy era (1999 to date) has focused attention on the sector and that has fostered its contribution to national output. More so, because of the implementation of the country’s indigenization policy in 1970s, foreign participation in local businesses was undermined during the pre-democracy era but with the inception of the democratic government, the investment climate became more favorable in attracting foreign capital inflows. Hence, as evident in the democratic period, capital inflows have supported the growth of agricultural output and consequently the growth of the economy; although, there is need for more effort both in terms of policy measures and infrastructural support.

Fig. 1
figure 1

Trend of capital inflow, agricultural output and growth

(Source: Authors’ 2018)

Against the foregoing background, this study examines the effect of capital inflows, and exchange rate on agricultural output in Nigeria in a bid to answer the research question whether capital inflows and exchange rate affect agricultural output in the country. This research paper differs from existing literature because majority of the empirical work done in this area considers only the private flow component of capital inflow (foreign direct investment) and its effect on agricultural output [12, 16, 32, 40, 41, 43] while ignoring the public flow component of capital inflows thus providing the motivation for the study. Also, by investigating the effect of public capital inflows alongside private capital inflows, and exchange rate on the agricultural output in the country using an ARDL technique, the study has filled the gap in the literature. The significant of the study is that the findings from the study will serve as a guide to government and policymakers in designing and implementing appropriate policy in the short run and also in the long run in relation to capital inflows (private and public inflows), and exchange rate so as to achieve sustainable growth in agricultural output.

Consequently, the study contributes to the literature in several ways. First, the study decomposes the capital inflows into private flows and public flows when investigating the effect of capital inflows and exchange rate on agricultural output, unlike past studies that concentrated on private capital inflows especially FDI. Second, the study explores the relationship between capital inflow, exchange rate and agricultural output in the short and long run. Third, this study contributes new findings on the link between capital inflows, exchange rate, and agricultural output specifically, in the area of the effect of capital inflows and exchange rate on Nigeria agricultural output.

The remainder of the research paper is divided into the following sections. Section two examines the related literature. Section three explains the methodology adopted in the study. Section four presents and discusses the outcome of the research findings. The final section presents the conclusion of the study.

Review of theory an empirical literature

According to the endogenous and neoclassical growth model, capital inflows (Private and Public inflows) enhance the growth of the economy. Also, according to the two-gap model, capital inflows bridge the savings and foreign exchange gap that exist in a developing economy. The saving gap is the gap between savings and investment; while the foreign exchange gap is the gap between import and export. Majority of the developing economy relies on the inflow of foreign capital to enhance agricultural output in a bid to eradicate/reduce poverty, provide employment opportunities and ensure sustainability in the agricultural sector. The neoclassical growth theory postulates that the inflow of foreign capital provides the developing economies an opportunity to be able to acquire the required technology that will enhance and promote productivity, stimulate growth and ensure sustainable development in the agricultural sector [3, 30, 34, 37, 42].

Several studies have shown that the inflow of foreign capital has positively influenced the growth of agricultural output in developing economies. Findings by Zingwena [43] showed that FDI has positively affected the growth of agricultural output in Zimbabwe. Likewise, Gameli Djokoto et al. [17] also confirmed that FDI exerts a positive effect on Ghana agricultural output. Other studies conducted have also shown that FDI plays a significant role in terms of increasing welfare and reducing unemployment problem in a country, and hence advocate for the need of FDI to be directed to the agricultural sector of less developed countries [10, 28, 35].

Several other studies have been conducted in Nigeria to examine the link between capital flows and agricultural output. Research study in Nigeria conducted by Akpokodje and Omojmite [6], Ajuwon and Ogwumike [5], Oloyede [32], Yusuf [40], Kareem et al. [24], Yusuff et al. [41] and Eke (2016); all showed that FDI has positively influenced the growth of the agricultural sector in the economy. However, despite the positive impacts of capital inflows on agricultural output, some scholars still have opposing views based on their research finding. Larson and Vogel [25], Massoud [26], Djokoto [12, 13], Iddrisu et al. [20], Epaphra [15], Epaphra and Mwakalasya [16]; documented that the inflow of foreign capital affects agricultural output negatively.

Furthermore, on the link between exchange rate and agricultural output, Oyinbo et al. [33] concluded that that exchange rate affects the agricultural share of GDP negatively. Wondemu and Potts [38] research findings revealed that exchange rate appreciation affects export, while exchange rate depreciation raised the supply of export and boost the diversification of export. Abdullahi [1] research findings indicate that agricultural output positively responds to exchange rate, inflation and interest rate in the long run. Yaqub [39] using a two-stage least square technique showed that while exchange rate affects fishery and crop output negatively, it affects forestry and livestock positively. Iddrisu et al. [20] concluded that the depreciation of the country currency (cedi) negatively affects Ghana agricultural output.

Theoretical framework

The study adopts the conventional neo-classical growth production function. The neo-classical production function links the aggregate output in period t with inputs or factors of production.

Expressing the neo-classical production function in the form of Cobb–Douglas production

$$Y_{t} = A_{t} K_{t}^{\alpha } L_{t}^{\beta } ,$$
(1)

where \(Y_{t}\) represents agricultural output (AO) at time t, while \(A_{t}\) represents total factor productivity, \(K_{t}\) capital stock (domestic investment) and \(L_{t}\) labor stock, \(\alpha\) and \(\beta\) are the output elasticities of capital and labor, respectively.

According to the endogenous and neoclassical growth model, capital inflow (Private and Public inflows) operates through the total factor productivity (A) since capital inflows can stimulate growth provided there is an increasing return to production that would enhance output [42]. Hence, total factor productivity is a function of capital inflow.

$$A_{t} = f\left( {\text{CAPI}} \right)$$
(2)

Thus, combining Eqs. 1 and 2, the Cobb–Douglas production function is expressed as

$$Y_{t} = {\text{CAPI}}_{t} K_{t}^{\alpha } L_{t}^{\beta }$$
(3)

where CAPI is capital inflows (Private and Public inflows).

Following similar studies, additional variable such as real effective exchange rate was employed to capture the efficiency of economic activity. Empirical studies have shown that real effective exchange rate affects agricultural output [1, 20, 33, 38]. Hence, the Cobb–Douglas production function is modified and, thus, expressed as

$$Y_{t} = {\text{CAPI}}_{t} K_{t}^{\alpha } L_{t}^{\beta } {\text{REXR}}_{t}$$
(4)

Decomposing capital inflow into private and public capital inflows, the study expressed two models:

$$\begin{aligned} \log Y_{t } &= \alpha_{0} + \alpha_{1} \log {\text{PRCI}} + \alpha_{2} \log K \\ &\quad+ \alpha_{3} \log L + \alpha_{4} {\text{REXR}} + \mu_{t} , \end{aligned}$$
(5)
$$\begin{aligned} \log Y_{t } &= \alpha_{0} + \alpha_{1} \log {\text{PUBCI}} + \alpha_{2} \log K \\ &\quad+ \alpha_{3} \log L + \alpha_{4} {\text{REXR}} + \mu_{t} , \end{aligned}$$
(6)

where Y is the Agricultural output; PRCI is the Private capital inflow; PUBCI is the Public capital inflow; K is the Domestic investment; L is the Labor force; REXR is the Real effective exchange rate; µ is the Error term.

In summary, the review of the literature has shown a mixed result. While some researchers claimed that capital inflows influence agricultural output positively [17, 24, 32, 40, 43], others have divergent views that capital inflows exert a negative effect on agricultural output [13, 14, 15, 26]. Also, most of the studies focused on the effect of FDI on agricultural output thus ignoring other components of private and public capital inflows. In addition, the effect of capital inflows and exchange rate on agricultural output, however, remains open to question. Hence, this study fills the gap in the literature by investigating the effect of both private and public capital inflows, and exchange rate on agricultural output in Nigeria using an ARDL technique.

Data and methodology

Data

This study utilizes time series data covering the period 1981–2016. The data have been obtained from different sources, including Central Bank of Nigeria (CBN) statistical bulletin and World development indicator (WDI), a publication of World Bank. The variables employed in the study are agricultural output, labor force, domestic investment, real effective exchange rate and capital inflows (private capital inflows (foreign direct Investment, workers remittance, and portfolio investment) and public capital inflow (foreign borrowing, and official development assistance). Data on agricultural output and real exchange rate were collected from Central Bank of Nigeria (CBN) statistical bulletin; while data on domestic investment and labor force were collected from World development indicator (WDI), a publication of World Bank. The data on capital inflow were collected from WDI and CBN statistical bulletin.

Autoregressive distributed lag (ARDL) model

The study employed the ARDL approach in investigating the effect of capital inflows (Private and Public flow) and exchange rate on agricultural output in Nigeria. The technique was selected because the variables are integrated at both 1(1) and 1(0) and the sample size is considerably small.

The study employed two ARDL models based on the aims of the study. The first aim is to investigate the effect of private capital inflow and exchange rate on agricultural output, while the second aim is to examine the effect of public capital inflow and exchange rate on agricultural output. To address the first objective, the ARDL model is expressed as follows:

$$\begin{aligned} &\Delta \log \left( {\text{AO}} \right)_{t} \\&\quad = \alpha_{0} + \sum\limits_{i = 0}^{n} {\alpha_{1} \Delta \log \left( {\text{AO}} \right)_{t - 1} } + \sum\limits_{i = 0}^{n} {\alpha_{2} \Delta \log \left( {\text{PRCI}} \right)_{t - 1} } \\&\qquad+ \sum\limits_{i = 0}^{n} {\alpha_{3} \log \left( K \right)_{t - 1} + \sum\limits_{i = 0}^{n} {\alpha_{4} \Delta \log \left( L \right)_{t - 1} } } \\ & \qquad + \sum\limits_{i = 0}^{n} {\alpha_{5} \Delta \log \left( {\text{REXR}} \right)_{t - 1} } + \beta_{1} \Delta \log \left( {\text{AO}} \right)_{t - 1}\\&\qquad + \beta_{2} \Delta \log \left( {\text{PRCI}} \right)_{t - 1} + \beta_{3} \Delta \log \left( K \right)_{t - 1} \\ & \qquad+ \beta_{4} \Delta \log \left( L \right)_{t - 1} + \beta_{5} \Delta \log \left( {\text{REXR}} \right)_{t - 1} \\ &\qquad+ {\text{ECT}}_{t - 1} + \mu_{t} \\ \end{aligned}$$
(7)

To address the second objective, the ARDL model is expressed as follows:

$$\begin{aligned} \Delta \log \left( {\text{AO}} \right)_{t} & = \alpha_{0} + \sum\limits_{i = 0}^{n} {\alpha_{1} \Delta \log \left( {\text{AO}} \right)_{t - 1} } + \sum\limits_{i = 0}^{n} {\alpha_{2} \Delta \log \left( {\text{PUBCI}} \right)_{t - 1} } + \sum\limits_{i = 0}^{n} {\alpha_{3} \log \left( K \right)_{t - 1} + \sum\limits_{i = 0}^{n} {\alpha_{4} \Delta \log \left( L \right)_{t - 1} } } \\ & \quad + \sum\limits_{i = 0}^{n} {\alpha_{5} \Delta \log \left( {\text{REXR}} \right)_{t - 1} } + \beta_{1} \Delta \log \left( {\text{AO}} \right)_{t - 1} + \beta_{2} \Delta \log \left( {\text{PUBCI}} \right)_{t - 1} + \beta_{3} \Delta \log \left( K \right)_{t - 1} + \beta_{4} \Delta \log \left( L \right)_{t - 1} \\ & \quad + \beta_{5} \Delta \log \left( {\text{REXR}} \right)_{t - 1} + {\text{ECT}}_{t - 1} + \mu_{t} , \\ \end{aligned}$$
(8)

where log (AO) is the Natural log of Agricultural Output; log (PRCI) is the Natural log of Private Capital Inflows; log (PUBCI) is the Natural log of Public Capital Inflows; log (K) is the Natural log of Domestic Investment; log (L) is the Natural log of Labor Force; log (REXR) is the Natural log of Real Effective Exchange rate; \(\alpha_{0}\) is the drift component; n is the maximum lag length; \(\Delta\) is the first difference operator; \(\mu_{t}\) is the white noise; t is the time; ECT is the Error correction time

Estimation technique

Stationarity test

In testing for the stationarity and order of integration of the variables, the study employed the Kwiatkowski, Phillips, Schmidt, and Shin (KPSS) test. The choice of KPSS test is because it is more powerful unit root test when compared to the Augmented Dickey–Fuller (ADF) and Philip Peron test. The study also employed the use of Bai–Perron test to capture the structural break in the variable. Dummy variable will be included in the model if a structural break occurs especially in the dependent variable. The period before the structural break will be assigned 0, while the period after the structural break will be assigned 1.

Cointegration test

The study used the ARDL bound test in a bid to ascertain the cointegration of the variables. According to Nkoro and Uko [29], Bentzen and Engsted [9], Ghatak and Siddiki [18], the ARDL bound test has the following advantages over the Johansen and Juselius [22] co-integration technique.

  1. i.

    It is used when variables are integrated in a different order, 1(0), 1(1) or a mix of both.

  2. ii.

    It is used to analyze the short-run and long-run coefficient.

  3. iii.

    It is used for smaller sample size.

Employing the ARDL bound test, the null hypothesis of absence of long-run relationship is accepted provided the calculated F-statistic is less than the critical value of the lower bound 1(0), while the null hypothesis is rejected provided the calculated F-statistic is more than the critical value of the upper bound 1(1). In a situation when the calculated F-statistic falls between the critical value of the lower bound 1(0) and the upper bound 1(1), the result becomes inconclusive.

Results and discussion

Stationarity test

The result of the stationarity test is presented in Table 1. The outcome of the test result revealed that log (AO), log (PRCI), log (PUBCI) and log (L) are stationary at first difference, while log (K) EXR and log (REXR) are stationary at level. This implies that the variables are integrated at both 1(1) and 1(0). Hence, the use of ARDL technique becomes appropriate. The study also employed the use of Bai–Perron test to capture the structural break in the variable. The outcome of the Bai–Perron test revealed that a structural break occurs in the dependent variable (AO).

Table 1 Stationarity test

Estimation of the ARDL bound test

The ARDL bound test for model 1 and 2 is presented in Table 2. K shows the number of variables, computed as k + 1 = n, where n represents the number of variables employed in the study. For both model, k is computed as k + 1 = 6, hence, k = 5. The ARDL bound test showed that in both models, the calculated F-statistic is more than the critical value of the upper bound 1(1). This implies that the variables are cointegrated in each model.

Table 2 ARDL bound test

Short-run and long-run coefficient

The short-run and long-run ARDL estimates for model 1 are reported in Table 3. The outcome of the ARDL estimate showed that private capital inflows positively affect the country agricultural output in the short and long run. The implication of this is that government should attract more capital inflow to be directed to the agricultural sector. The result further indicates that real effective exchange rate negatively affects the nation agricultural output in the short and long run. This implies that exchange rate depreciation would cause a decline in agricultural output. In addition, the result revealed that domestic investment has positively influenced agricultural output in the short and long run. The research output also indicates that labor positively affects agricultural output in the country. This implies that government should take advantage of the abundant labor force in the country in enhancing agricultural output in the country. The coefficient of the ECT (− 0.2433) is negative and significant. This signifies that in the following year, the deviation in agricultural output is corrected by 24.3%, thus signifying that the whole system would be restored back to long-run equilibrium at the speed of 24.3%.

Table 3 ARDL short-run and long-run coefficient

From the model 2 results, it is revealed that public capital inflow (PUBCI) positively affects the nation agricultural output in the short and long run. The result also revealed that in the short and long run, exchange rate affects agricultural output negatively. In addition, the result showed that domestic investment has positively influenced agricultural output in the country. Moreover, the result indicates that labor force positively affects the country agricultural output. The coefficient of the ECT (− 0.5549) is negative and significant. This signifies that in the following year, the deviation in agricultural output is corrected by 55.49%, thus signifying that the whole system would be restored back to long-run equilibrium at the speed of 55.49%.

In summary, the ARDL estimate indicates that in the short and long run, both private capital inflow and public capital inflow have influenced the growth of agricultural output positively, while exchange rate depreciation would cause a decline in the country agricultural output in the short and long run.

Diagnostic test

Table 4a and b presents the result of the diagnostic test for model 1 and model 2. The outcome of the diagnostic test indicates that both models is free from serial correlation and heteroscedasticity given that the probability of the observed R square in each of the test is greater than 5%.

Table 4 Diagnostic test

Conclusion

Applying the ARDL technique, the study analyzed the effect of capital inflows and exchange rate on agricultural output in Nigeria between the periods 1981 and 2016. The study variables include agricultural output (AO), private capital inflow (PRCI), public capital inflow (PUBCI), investment (INV), labor (L) and real effective exchange rate. The result of the stationarity test showed that some variables are stationary at level and first difference, i.e., the variables are integrated at both 1(1) and 1(0), thus justifying the use of ARDL technique. The ARDL bound test result indicates that the variables are cointegrated.

Findings from the research revealed that in the short run and long run, private capital inflow and public capital inflow positively affect agricultural output. The study also indicates that exchange rate depreciation would cause agricultural output to decline in the short and long run.

The theoretical implication of the study is that capital inflows into the country can boost the country agricultural sector by increasing the agricultural output of the country, eradicate poverty among the populace, and provide employment opportunities to the teeming youth. Furthermore, through capital inflows, the farmers can import the needed technology to improve efficiency in the sector and operates in large scale.

Consequently, the government should create an enabling and conducive environment to attract more capital inflows into the country to boost the agricultural sector and increased its output. Also, monetary authority should ensure the stability of the country’s exchange rate (naira), since exchange rate depreciation affects agricultural output negatively. Furthermore, there is the need for the harmonization of foreign capital inflow policy and monetary policy by the government, taking into consideration the optimal level of capital inflow that will not have a detrimental effect on exchange rate so as to ensure sustainable growth in agricultural output.

Limitation and future directions

The study is a single-country study; future studies can focus on the effect of capital inflows and exchange rate on agricultural output by employing cross-country data. Also, the dynamic interaction between capital inflows, exchange rate, and agricultural output can also be examined.