Background

Cocoa (Theobroma cacao L.) contributes greatly to the economic development of Nigeria [1, 2]. The cash crop plays a crucial role in providing employment, foreign exchange earnings, and revenue to governments of cocoa-producing States [1]. Additionally, cocoa is an important source of raw material for many agro-industries [3] and it has high nutrient contents such as carbohydrate, protein, fat, and minerals that can be used for manufacturing beverages, wine, chocolate, cream, and livestock feed, among others [4]. However, cocoa productivity has declined significantly in recent years [5,6,7]. In the past 5 years, the productivity of cocoa plantations in Nigeria began to decline by 0.8 tons per hectare annually [6]. Currently, an average cocoa productivity in Nigeria does not exceed 0.5 tons per hectare; whereas, hybrid varieties developed by Cocoa Research Institutes have yielded potential of 1.5 to 2 tons per hectare. The productivity gap is attributed to a number of challenges. The major sources of these challenges are traced to declining soil fertility of cocoa farms, diseases and pest attacks, poor farming management practices, inadequate infrastructure, and limited use of farm resources.

Studies of [8, 9] propose several investment options to enhance farm productivity. These options include one or more of the following: the automation of farming processes, planting of high-seed varieties, application of fertilizers, irrigation in areas where rainfall is inadequate, and use of pesticides. It has, however, been noted that farmers could often not afford these investments [10]. The majority of the farmers, particularly smallholders, are not rightfully positioned to secure key inputs such as fertilizer, improved seed, pesticides, among others from their own sources due to lack of funds. Rigorous use of farm inputs requires funds at the disposal of farmers. The required funds either come from savings or through borrowings; however, since farmers' savings are quite meagre, they have to borrow for their productive activities. Farmers who manage to gain access to credit services tend to purchase the needed farm inputs to enhance productivity. Unfortunately, lack of access to credit is a major constraint faced by cocoa farmers in Nigeria. Most cocoa farmers rarely have access to credit, which makes it impossible to improve their productivity. Invariably, agricultural credit is essential to meet the required investment to increase Nigeria’s cocoa productivity [11].

Agricultural credit is well-thought-out as a strategic resource for pushing crop productivity to the frontier, hence, raises the standards of living of many poor farmers. Therefore, access to agricultural credit is anticipated to assist farmers to optimally combine resources at their disposal. Agricultural credit has two sources: formal and informal. Credit from formal sources in Nigeria has more baneful effects on the rural poor, and its access is abysmally low [11]. This is evident in the fact that the interest rate on formal credits is exorbitantly high in Nigeria [12]. Therefore, low access to formal credit is responsible for limiting farmers’ productivity [13] and reducing income and investment in Agriculture [14]. Consequently, this situation further aggravates rural poverty [15, 16]. The farmers are trapped in a vicious cycle of poverty without opportunities or avenues to improve their living standard. It therefore appears that rural farmers may never get out of their present predicament without external positive intervention. Therefore, access to credit and increased agricultural productivity are still critical factors in combating rural poverty [17, 18]. In a bid to encourage farmers’ access to credit, governmental and non-governmental organisations instituted many credit programmes. However, these programmes yielded little or no positive effect on cocoa productivity because of lack of trust in the government by the farmers due to their excessively complicated administrative procedure [11, 12, 19, 20]. A number of programmes introduced to improve agriculture in Nigeria, in most cases have not been able to meet up with the goals except agricultural programmes channeled and supported by agricultural cooperative societies. Under these circumstances, the farmers need strong institutions such as cooperative societies to break out of the vicious circle of devastating poverty.

Many farmers with a common interest come together to form cooperative societies which help them gather resources to meet their financial needs and improve their productivity [21]. Evidence showed that access to credit is one of the benefits of belonging to a cooperative society [10, 22,23,24,25]. Cooperative societies aggregate people, resources and capital into economic units to provide opportunities for farmers to raise their productivity and income [26]. Participation in a cooperative society improves productivity by influencing a household’s propensity to adopt newer farming practices and technologies via the exchange of ideas with other group members [10, 27,28,29]. Also, many studies, for instance, [30,31,32] agree that participation in cooperative societies improve the commercialisation behaviour of farmers. This behaviour enhances farm productivity which in turn, leads to improved farm income and food security. According to [33, 34], this is achieved through collective bargaining power, which increases the worth of their products and lowers input prices. However, scholars [35,36,37,38,39] argue that farmers join farmers’ cooperative societies primarily to gain access to credit service. Usually, farmers’ cooperative society membership provides the platform by which farmers gain access to credit. Therefore, cooperative society membership plays a mediating and hidden role in the relationship between access to credit and cocoa productivity. This implies that cooperative society membership and credit access are not mutually exclusive. However, empirical assessment of the impact of credit access and cooperative society membership on productivity is still very scanty. In fact, particularly in relation to cocoa productivity of which, to the best of the authors’ knowledge, none exists. The authors believe that this is the first study that fills that gap in the literature. Previous studies examined the impact of access to credit on cocoa productivity, but ignored the fact that cooperative society membership could also improve cocoa productivity.

Nevertheless, the few studies that had examined the role of cooperative society membership in improving productivity ignored the fact that access to credit influenced farmers’ decision to join cooperative societies [40, 41]. As earlier posited, cooperative society membership and credit access are not mutually exclusive and they are expected to simultaneously increase cocoa productivity. Thus, an important goal of this study is to clearly investigate the synergetic impact of access to credit and cooperative services on cocoa productivity. This attempt is made to ascertain the hidden and mediating role of cooperative society membership in the relationship between access to credit and cocoa productivity, and to ascertain their effects on cocoa productivity. The objectives of this study are in twofold: (1) to analyse the major determinants of access to credit and cooperative services; and (2) to determine the simultaneous impact of access to credit and cooperative services on cocoa productivity. This study contributes to the literature in two ways. Firstly, recent research conducted by [42] suggests that access to credit without simultaneous access to other institutional services may not adequately or substantially increase farm productivity. [12, 43] recommend that simultaneous provision of institutional services, such as formal agricultural credit and agricultural extension services, would substantially increase farm productivity. However, no empirical study has established whether simultaneous access to credit and cooperative services improve farm productivity to the best of our knowledge. Secondly, this study applies the endogenous switching regression model (ESRM), which removes endogeneity issues from the impact assessment. To validate the ESRM results, we use the inverse probability-weighted regression adjustment (IPWRA) approach for more robustness checks. The study makes use of cross-sectional data obtained from multistage sampling procedure. Therefore, we employed ESRM and IPWRA to evaluate the simultaneous impact of access to credit and cooperative services on cocoa productivity. Our empirical study shows that access to credit and cooperative services have significant impact on cocoa productivity in Nigeria. However, when the synergetic access to credit and cooperative services was examined, we found that the synergetic access to credit and cooperative services has a robust and more pronounced significant impact on cocoa productivity. We also found that synergetic access to credit and cooperative services is dependent on some key socioeconomic characteristics of the farmers such as education and size of household. However, the outcome of the research is limited to cocoa productivity in Nigeria. The same study should be encouraged in other crops and countries. Also, research should be conducted on synergetic impact of access to cooperative and credit service on other welfare indicators such as food security, poverty and asset acquisition. The rest of the study is organised as follows: in section two, we briefly discuss the review of literature relating to access to credit, cooperative societies and cocoa productivity in Nigeria. In section three, we present our methodology, data and outline our empirical strategy. Section four presents the main results, discussing the impact of credit access and cooperative society membership on cocoa productivity. Section five is our conclusion.

Literature review

The majority of cocoa consumers live in temperate nations. The crop flourishes in tropical climates, therefore cocoa production is dominated by countries in such regions. West Africa is a major cocoa producer, it makes up over 70% of global output, which varies annually due to climate change. Nigeria is one of the most important cocoa producers in West Africa, and it has grown to become a major exporter in recent years. Cocoa production in Nigeria is primarily small-scale and concentrated in Ekiti, Ondo, Osun, Oyo, and Ogun States, where farmers use either inherited fields or a share-cropping system in which the landowner receives two-thirds of the output and also contributes to the purchase of farm input. Their output is about 70% of the country's entire annual output [44, 45]. Unfortunately, Nigeria is currently suffering from low and declining cocoa productivity, with aged cocoa fields playing the lead role in the decreased productivity, particularly in the South-western States, which produce about 80% of the country's cocoa. Most cocoa farms in Nigeria are old and have low production, according to [46, 47]. This is seen as a stumbling block to the government's plans to triple cocoa production in the country. Though the figures on cocoa productivity are contradicting, annual cocoa productivity in Nigeria is typically considered to be between 300 and 400 kg/ha [48]. Production per hectare is also reported to be 0.8 tonnes, but this has dropped to less than 0.5 tonnes per hectare, owing to a number of factors. Figure 1 shows a decline in cocoa productivity between 2011 and 2014 followed by a consistent decline from 2015 to date in Nigeria. A lot of factors influence the quantity of cocoa produced, and these factors vary depending on the climate or weather conditions. When the weather is favourable, the output goes up, and when the weather is not so favourable, the output goes down. According to existing research, further problems with cocoa production include lack of market intelligence, distance to market, limited usage of agricultural input, lack of cash remittances, high levels of spoiling, low bean quality, and a very weak link between producers and processors/exporters among others. It is also commonly accepted that agriculture is underinvested, and studies such as [48, 49] have found a substantial link between cocoa productivity and access to funds.

Fig. 1
figure 1

Nigerian cocoa productivity trend from 2008 to 2018 (FAOSTAT, 2020)

Fig. 2
figure 2

Map of South-western Nigeria

The financial needs of agricultural sector have risen dramatically in recent decades as a result of greater usage of fertilizers, biocides, improved seeds, mechanisation, and other technologies. Credit in the hands of a peasant farmer, on the other hand, will enable him to make great profits, contentment, and increased well-being, as well as develop new and improved products to please an inclusive market. Credit can be defined as a bank or non-bank facility that allows money or goods to be borrowed now for a useful and constructive purpose, with the money or goods to be repaid with reasonable interest at a later period [15]. Credits accessibility refers to how easy or difficult it is for borrowers to obtain credit for productive purposes such as improving farm business. Access to credit is critical for improving the quality and quantity of farm products, as well as increasing farmer’s income and preventing rural migration. In support of this fact, some policymakers feel that providing low-interest credit to farmers will considerably increase their productivity. Scholars such as refs. [50,51,52,53,54] suggest that agricultural credit is an effective tool for capitalising farm households in order to spend more and introduce new agricultural technology to increase agricultural productivity. Furthermore, according to certain researchers such as [32, 55, 56], credit improves farmer’s living situations by increasing farm output, which boosts their self-confidence by increasing profits and well-being. Despite the importance of credit to agricultural development, many farmers still lack access to it [57]. Meanwhile, a number of researchers have submitted that agricultural cooperatives can secure access to credit, which is a major motivator for farmers to increase their output. Cooperatives boost farm productivity by providing crucial information, finance, and a higher market price for their members’ farm products [58, 59].

Cooperative societies, according to [60], are democratic organisations governed by its members, who actively participate in the organisations’ policy and decision-making. Men and women functioning as elected representatives are held accountable to the members. Members have equal voting rights and consequently contribute fairly to the cooperative society’s investment in this way. Cooperative societies assist smallholder farmers in increasing their negotiating power and becoming more competitive in the cocoa industry [61]. Based on the foregoing, it is reasonable to regard cooperative societies as social enterprises capable of assisting the disadvantaged in breaking free from the cycle of poverty [32, 62,63,64]. This is why [39] defines a cooperative society as an independent organisation of people who have come together voluntarily to achieve their common economic, social, and cultural needs and ambitions through a jointly owned and democratically run firm. Cooperative societies and their specific contribution to agricultural productivity have been the subject of extensive investigation [39, 65,66,67,68,69,70]. It is discovered that cooperative societies provide both economic and social benefits to their members, which promote smallholder farmers' commercialisation behaviour, increasing farm productivity and income. This could be critical for the survival of the majority of small-scale farmers. Several studies have found various factors that influence membership in different cooperative societies. Gender, education, farm size, output, and expenditure per hectare are all factors that influence farmers' decisions to join agricultural cooperative organisations in Nigeria [71]. Similarly, [72] finds that education, gender, and farm size are important drivers of farmers' decision to join farmer-based groups. According to [73], there are other motivations that inspire rural farmers to join agricultural cooperative societies apart from personal interests. Access to credit and training, among other things, are major predictors of farmers' willingness to join agricultural cooperative societies, according to the author. Furthermore, according to ref. [74], a household's resource endowment, such as access to off-farm income, education, and the number of adult members in a household, has a major impact on the likelihood of joining a farmer’s cooperative society. In conclusion, agricultural cooperative societies allow optimal utilisation of inputs through the provision of financial services which results in increased cocoa productivity.

Materials and methods

Description of the study area

This study was carried out in the Southwestern part of Nigeria (Fig. 2), which represents a geographical area covered between latitude 6° 21′ N and 8° 37′ N and longitude 2° 31′ E and 6° 00′E [75]. The region is bounded in the north by the Kogi and Kwara States, in the south by the Atlantic Ocean, in the west by the Republic of Benin, and east by the Edo and Delta States. The total population is about 27 581 992 [76]. It is majorly a Yoruba-speaking area, although there are different dialects even within the same state. It is characterised by two climatic seasons, the rainy season and the dry season. The rainy season extends from March to October and the shorter dry season from November to March. The temperature ranges from 21 to 34 °C, while the annual rainfall ranges from 1500 to 3000 mm. The area's favourable climatic and soil condition encourages about 70% of the inhabitants to engage in farming. They grow both permanent and food crops. The climate is ideal for cultivating crops like maize, yam, cassava, millet, rice, plantain, cashew, and cocoa. The region accounts for more than 155 000 tons of cocoa, representing 85% of Nigeria’s supplies.

Sampling technique and sample size

A multistage sampling procedure was employed to select respondents for this study. The first stage involved purposive selection of two (2) States from South-western Nigeria (Osun and Ondo States) based on the predominance of cocoa production in these States. The second stage involved purposive selection of three (3) local government areas (LGAs) from each selected State. In the Osun State, the Atakumosa East, Atakumosa West, and Ife North LGAs were selected, while the Ondo West, Idanre, and Ile Oluji/Okeigbo LGAs were selected in the Ondo State, based on the predominance of cocoa production in the LGAs. The third stage entailed the simple random selection of five (5) villages from the list of cocoa-growing villages in each of the LGAs. The fourth stage involved the simple random selection of ten (10) cocoa farmers from each village. In all, a total of 300 cocoa farmers were selected for the study.

Data analysis

This study investigated the simultaneous impact of access to credit and cooperative services on cocoa productivity. First, the data were analysed using descriptive statistics in order to gain an understanding of the socioeconomic characteristics of the farmers. Then, the study assumed that access to credit and cooperative services is endogenous to cocoa productivity. The source of endogeneity is self-selection into access to credit and cooperative services. The problem of endogeneity arises from the postulation that access to credit and cooperative services is voluntary. In addition, access to credit and cooperative services does not only depend on farmers’ observable characteristics alone, but is also on some unobservable characteristics which, if not controlled, one can either overestimate or underestimate their impact. To address this, the endogenous switching regression model (ESRM), the only model that explicitly accounts for selection bias and endogeneity simultaneously, was used, as posited by refs. [71, 77,78,79,80,81,82,83,84].

Consequently, this study exactly corrects for the possibilities of sample selection bias and endogeneity that may arise from other interventions that provide services to farmers in addition to credit and cooperative services. The ESRM allows for interaction between access to credit and cooperative services and other covariates [85, 86]. ESRM is an econometric model that specifies a decision process and the regression models associated with each decision option [85].

The model is divided into two stages: the first stage is correct for endogeneity attributable to self-selection through a probit selection model in which farmers are sorted into access and non-access to credit and cooperative services; the second stage addresses the outcome equations on factors influencing cocoa productivity.

The study first specifies the binary decision choice of cocoa farmers’ access to credit and cooperative services, which is conditional on observed covariates by using a probit model as follows:

$$\begin{gathered} Y_{i}^{*} = \beta x_{i} + \varepsilon_{i} , \hfill \\ Y_{i} = 1\,if\,_{i}^{*} > 0, \hfill \\ Y_{i} = 0\,\,if\,y_{i}^{*} \le 0, \hfill \\ \end{gathered}$$
(1)

where Y* is the unobservable variable for access to credit and cooperative services; Y is the observable counterpart (equal to one if the farmer had access to credit or participated in cooperative societies, and zero if otherwise); \({x}_{i}\) is a set of explanatory variables used in the model; and \({\varepsilon }_{i}\) represents the error term. In the second stage, the outcome equation of impact of access to credit and cooperative services on cocoa productivity is measured via a production function, expressed in Eq. 2:

$$P_{i} = \beta Y_{i} + \delta z_{i} + e_{i} ,$$
(2)

where \({P}_{i}\) is the natural log of cocoa productivity; \({Y}_{i}\) is credit access or cooperative society membership; \({z}_{i}\) is a set of explanatory variables used in the model; and \({e}_{i}\) represents the error term.

However, due to selection biases, farmers are expected to have two regimes. Therefore, separate regressions are performed in the second stage to demonstrate cocoa productivity, conditional on respective credit access/cooperative society membership status:

$${\text{Regime 1 }}\left( {{\text{access to credit}}/{\text{ cooperative services}}} \right):P_{1i} = \delta_{1} z_{1i} + e_{1i} ,$$
(3)
$${\text{Regime 2 }}\left( {{\text{no access to credit}}/{\text{ cooperative services}}} \right)P_{2i} = \delta_{2} z_{2i} + e_{2i} ,$$
(4)

where \({P}_{1i}\) and \({P}_{2i}\) are the natural log of productivities of cocoa farmers in regimes 1 and 2, respectively; \({Z}_{i}\) is the set of exogenous variables that are assumed to determine productivity of cocoa farmers; \({e}_{1i}\) and \({e}_{2i}\) are the error terms. But the error terms have a tri-variate normal distribution, with zero mean and non-singular covariance matrix, the covariance matrix of which is expressed as follows:

$${\text{cov}} (\varepsilon_{i} ,e_{1} ,e_{2} )\left( {\begin{array}{*{20}c} {\sigma_{1}^{2} } & {\sigma_{12} } & {\sigma_{1\varepsilon } } \\ {\sigma_{12} } & {\sigma_{2}^{2} } & {\sigma_{2\varepsilon } } \\ {\sigma_{1\varepsilon } } & {\sigma_{2\varepsilon } } & {\sigma^{2} } \\ \end{array} } \right),$$
(5)

where, \({\sigma }_{1}^{2}\)= (\({e}_{1}\)); var (\({e}_{2}\));var (\({\varepsilon }_{i}\)); \({\sigma }_{12}\)=\(cov\left({e}_{1},{e}_{2}\right); { \sigma }_{1\varepsilon }\)=\(c ov\left({e}_{1},{\varepsilon }_{i}\right); { \sigma }_{2\varepsilon }\)= \(ov\left({e}_{2},{\varepsilon }_{i}\right); {\sigma }^{2}\) is the variance of the error term in the selection equation; and \({\sigma }_{1}^{2}, {\sigma }_{2}^{2}\) are the variance of the error term in the outcome equation. Given that unobserved factors affecting the regime switching (selection equation) might also affect cocoa productivity, the error terms \({\varepsilon }_{i}\) and \({e}_{1}\) may be correlated and the application of ordinary least squares (OLS) may produce inconsistent estimates. Following [79], the existence of latent characteristics related to selection bias indicates that the error structure is based on the account that the error term (\({\varepsilon }_{i}\)) of the selection Eq. 1 is correlated with the error terms (\({e}_{1}, {e}_{2}\)) of the outcome Eqs. 3 and 4, and the expected values of (\({e}_{1i},{ e}_{2i}\)) conditional on the sample selection are non-zero, as shown in Eqs. 6 and 7:

$$E(e_{1i} |Y_{i} = 1) = E(e_{1i} |\varepsilon_{i} > - x_{i} \beta ) = \sigma_{1\varepsilon } \left[ {\frac{{\theta (x_{i} \beta /\sigma )}}{{\varphi (x_{i} \beta /\sigma )}}} \right] \equiv \beta_{1\varepsilon } \gamma_{1} ,$$
(6)
$$E(e_{2i} |Y_{i} = 0) = E(e_{2i} |\varepsilon_{i} \le - x_{i} \beta ) = \sigma_{2\varepsilon } \left[ {\frac{{ - \theta (x_{i} \beta /\sigma )}}{{1 - \varphi (x_{i} \beta /\sigma )}}} \right] \equiv \beta_{2\varepsilon } \gamma_{2} ,$$
(7)

where \(\theta\) and \(\varphi\) are the probability density and cumulative distribution functions of the standard normal distribution, respectively. The ratio of \(\theta\) and \(\varphi\), evaluated at \(\beta {x}_{i}\) and represented by \({\gamma }_{1}\) and \({\gamma }_{2}\) in Eqs. 6 and 7, is referred to as the inverse mills ratios (IMRs) which indicate selection bias terms. The IMRs show the correlation between access to credit/cooperative services and cocoa productivity. The IMRs predicted by the probit model in the first stage are added to the productivity equation in the second stage to give the following sets of equations:

$$P_{1i} = \vartheta_{1} z_{i} + \beta_{1\varepsilon } \gamma_{1} + \phi_{1} Y_{1i} + \eta_{1} ,$$
(8)
$$P_{2i} = \vartheta_{2} z_{i} + \beta_{2\varepsilon } \gamma_{2} + \phi_{2} Y_{2i} + \eta_{2} .$$
(9)

The coefficients of the variables \({\gamma }_{1}\) and \({\gamma }_{2}\) provide estimates of the covariance terms \({\beta }_{1\varepsilon } and {\beta }_{2\varepsilon }\), respectively. Since the variables \({\gamma }_{1}\) and \({\gamma }_{2}\) have been estimated, the residuals \({\eta }_{1} and {\eta }_{2}\) cannot be used to calculate the standard errors of the two-stage estimates. To address this issue of endogenous regime switching, the estimation of the selection and productivity equations are performed simultaneously by using the full information maximum likelihood (FIML) method [81]. The model is expressed asFootnote 1:

$$ \begin{aligned}\ln Y_{i} & = \sum\limits_{i = 1}^{N} {\left\{ {Y_{i} t_{i} \left[ {\ln F\left( {\frac{{\left( {x_{i} \beta + \alpha_{1\varepsilon } \left( {P_{1i} - Z_{1i} \lambda /\pi_{1} } \right)} \right)}}{{\sqrt {1 - \alpha_{1\varepsilon }^{2} } }}} \right) + \ln (P_{1i} - Z_{1i} \lambda /\pi } \right] }\right.}\\&\quad {\left. {+ \left( {1 - Y_{1} } \right)t_{i} \left[ {\frac{{\ln (1 - F\left( {x_{i} \beta + \alpha_{2\varepsilon } \left( {P_{2i} - Z_{2i} \lambda } \right)/\phi_{2} } \right)}}{{\sqrt {1 - \alpha_{2\varepsilon }^{2} } }} + \ln (f(P_{2i} - Z_{2i} \lambda )/\phi_{2} } \right]} \right\}} .\end{aligned} $$
(10)

Thus, the average treatment effect on the treated (ATT) of cocoa farmers can be calculated as follows:

$$ATT = E(P_{1i} - P_{2i} |Y_{i} = 1) = Z_{i} (\lambda_{1} - \lambda_{2} ) + (\sigma_{1\nu } - \sigma_{2\nu } )\gamma_{1} .$$
(11)

The empirical equation of the ESRM, which are access to credit/ cooperative services and the cocoa productivity function, are specified below.

The access to credit/cooperative services’ decision equation is specified as follows:

$${\text{Y }} = \beta_{0} + \beta_{{1}} {\rm X}_{{1}} + \, \beta_{{2}} {\rm X}_{{2}} + \, \beta_{{3}} {\rm X}_{{3}} + \, \beta_{{4}} {\rm X}_{{4}} + \, \beta_{{5}} {\rm X}_{{5}} \cdots \, \beta_{{8}} {\rm X}_{{8}} ,$$
(12)

where Y = access to credit/cooperative services (1 = yes, 0 = otherwise).

The explanatory variables are: X1 = age of farmers (years); X2 = age square of farmers (proxy for threshold age) (years); X3 = household size (actual number); X4 = education (years spent in formal education); X5 = farm experience (years); X6 = farm size (ha); X7 = gender of the farmer (male = 1, female = 0); X8 = own asset (1 = yes, 0 = otherwise).

Then, the separate productivity function for cocoa farmers with access to credit/cooperative services and those without access to credit/cooperative services:

$${\text{Y }} = \beta_{0} + \beta_{{1}} {\rm X}_{{1}} + \, \beta_{{2}} {\rm X}_{{2}} + \, \beta_{{3}} {\rm X}_{{3}} + \, \beta_{{4}} {\rm X}_{{4}} + \, \beta_{{5}} {\rm X}_{{5}} \cdots \, \beta_{{8}} {\rm X}_{{8}} ,$$
(13)

where Y = natural logarithm of productivity is the total output of cocoa per hectare.

The explanatory variables are: X1 = age of farmers (years); X2 = age square of farmers (proxy for threshold age) (years); X3 = household size (actual number); X4 = education (years spent in formal education); X5 = farm experience (years); X6 = farm size (ha); X7 = gender of the farmer (male = 1, female = 0); X8 = own asset (1 = yes, 0 = otherwise).

Description of variables

According to Table 1, age is measured in years. It is expected that the older farmers are more mature and responsible, which therefore, improves their farm productivity. It is expected that when farmers attain a certain age threshold, their productivity will decrease and therefore, age squared negatively relate to farm productivity. Household size is measured as the total number of people in the farmer’s household who are 18 years or above and able to work. It is used as a proxy to measure the labour force that is available for farm work. It is expected to be positively related to farm productivity since more labour would cultivate more expanse of land. Education is measured as the number of years spent in school. It is expected to positively relate to farm productivity because that education equips farmers with the necessary knowledge and skills to utilise improved technologies, improving their productivity. Farming experience is measured in the number of years a respondent has been working on his/her cocoa farm. This is used as a proxy to measure the experience which a respondent has on cocoa farming in order to make an informed decision on increase farm productivity. The farm size, measured in hectares, is used as a proxy to measure the potential income of respondents. Therefore, it is expected to be positively related to farm productivity. Gender is captured in the model as the sex of respondent and measured as a dummy, where a male respondent is (1) and female respondent is (0). It is expected to be positive because of the freedom of mobility among male farmers in term of participating in field days and other technology demonstrations, which invariably grants them more access to information to improve their productivity. Asset is measured as a dummy, where (1) is assigned to respondents who own physical asset and (0) otherwise, where respondents have no physical asset. This is used as a proxy to measure the net worth of respondents. It is expected to be positively related to farm productivity.

Table 1 Description of variables and their expected impact on access to credit/cooperative services and cocoa productivity

Inverse probability-weighted regression adjustment (IPWRA)

IPWRA is used to check for the robustness of ESRM. IPWRA provides an appropriate solution for ATTs that may arise in the presence of misspecification [87,88,89]. This is possible because IPWRA has a double robust characteristic, which provides consistent outcomes, and avoids misspecification bias by giving the response and treatment models to account for misspecification. In addition, if the treatment model is correctly specified, then IPWRA can provide consistent estimates, even when the outcome model is incorrectly specified. This is why IPWRA estimates are consistent with the presence of misspecification in the treatment or outcome model. To calculate the treatment effects by applying IPWRA, this study measures the treatment model parameters and obtains inverse probability weights. Then, the study fits the weighted regression outcome models for each treatment level and obtains the treatment-specific predicted results by employing the estimated inverse probability weights. Lastly, the means of the treatment-specific expected results are estimated. To this end, the study chose the estimator to check the robustness of the estimates obtained from the ESRM. According to [90], calculating ATT using IPWRA is a two-step method. Consider that outcome indicator, as usual, is Yi which can be represented by a linear function specified as:

$$Y_{i} = \delta_{i} + \varphi_{i} X_{i} + \varepsilon_{i} \,\,\,for\,i\, = \,[0,1].$$
(14)

The propensity score generated from the selection equation can be represented as:

$$ps\, = \,p\left( {X;\gamma } \right).$$
(15)

First, the propensity score is estimated as \(p\left( {X;\hat{\gamma }} \right)\). Second, it employs linear OLS to estimate \((\delta_{0} ,\varphi_{0} )\,\) and \((\delta_{1} ,\varphi_{1} )\) using inverse probability-weighted least square.

The inverse probability-weighted least squares can be specified as follows:

$$\mathop {\min }\limits_{{\delta_{0} ,\varphi_{0} }} \sum\limits_{{}}^{N} {(Y_{i} - } \,\delta_{0} - \,\varphi_{0} X_{i} )/\,p\left( {X;\hat{\gamma }} \right)\,\,\,\,if\,\,k_{i} \, = \,1.$$
(16)

The ATT can then be computed as the difference between Eqs. (15) and (16):

$$ATT = \frac{1}{{N_{w} }}\sum\limits_{i}^{{N_{w} }} {[(} \hat{\delta }_{1} - \hat{\delta }_{0} ) - (\,\hat{\varphi }_{1} - \,\hat{\varphi }_{0} )X_{i} ],$$
(17)

where \(\,(\hat{\delta }_{1} ,\hat{\varphi }_{1} )\) are the inverse probability-weighted estimates for the treated farmers and \((\hat{\delta }_{0} ,\hat{\varphi }_{0} )\,\,\) are the inverse probability-weighted estimates for the control households. Finally, Nw denotes the treated households [91].Footnote 2

Results and discussion

Access to credit and cooperative services

Access to credit and cooperative services and other essential credit variables are presented in Table 2. About 76% of the respondents have access to credit in the previous production season, while about 67% of the respondents are members of cooperative societies. Interestingly, about 67% of the respondents have simultaneous access to credit and cooperative society’s services. This implies that the farmers in the area have organised themselves into social capital networks in order to gain access to credit services. This study supports the general assumption that individuals are affiliated to these networks primarily because of their perceived economic benefit [92, 93]. The average amount of loan borrowed was ₦132,500 (Footnote 3$322.47). This implies that credit agencies or institutions in the study area provide short-term loans. This could further imply that the agencies lack sufficient capacity to provide high volume of loans. The result further reveals that households in the study area trekked an average distance of 0.46 km from their homestead to the designated credit agencies’ buildings. This implies that the credit agencies’ location is situated around the homestead of the households which could increase the chances of farmers’ access to credit [94].

Table 2 Access to credit and cooperative services

Socioeconomic characteristics of the respondents by access to credit services

The socioeconomic characteristics of the respondents by access to credit services are shown in Table 3. The independent sample t-test reveals that the socioeconomic characteristics of cocoa farmers with credit access differ entirely from those without credit access. This suggests that cocoa farmers with access to credit are relatively older, and they spent quality time in school rather than those without access to credit. The farmers with access to credit also achieve significantly higher productivity and farm size than those without access to credit. This result indicates the presence of selection bias and endogeneity in the selected sample. Similarly, descriptive statistics shows that farmers with access to credit have better access to assets compared to their counterparts without access to credit. Male farmers also have better access to credit than their female counterparts.

Table 3 Socioeconomic characteristics of the respondents by access to credit

Socioeconomic characteristics of the respondents by access to cooperative services

The socioeconomic characteristics of the respondents by access to cooperative services are shown in Table 4. The independent sample t-test reveals that the socioeconomic characteristics of cocoa farmers who have access to cooperative services differ entirely from those who lack access to cooperative services. This suggests that cocoa farmers who are members of cooperative societies are relatively older and spent quality time in school rather than those who are non-members. Members of cooperative societies also achieve significantly higher farm size, productivity, and larger households than those who are non-members. This result shows the presence of selection bias and endogeneity in the selected sample. In the same vein, descriptive statistics shows that cocoa farmers who are members of cooperative societies have better access to assets compared to their counterparts who are non-members. Male farmers are mostly members of cooperative societies.

Table 4 Socioeconomic characteristics of the respondents by access to cooperative services

Socioeconomic characteristics of the respondents by simultaneous access to credit and cooperative services

The socioeconomic characteristics of the respondents by simultaneous access to credit and cooperative services are shown in Table 5. The independent sample t-test reveals that the socioeconomic characteristics of cocoa farmers who have simultaneous access to credit and cooperative services differ entirely from those who lack access to the services. This suggests that cocoa farmers who have simultaneous access to credit and cooperative services are relatively older, experienced and spent quality time in school rather than those who did not. Farmers with simultaneous access to credit and cooperative services also achieve significantly higher farm size and productivity than those who are without simultaneous access. This result evidently shows the presence of selection bias and endogeneity in the selected sample. In the same vein, descriptive statistics shows that cocoa farmers with simultaneous access to credit and cooperative services have better access to assets as compared to their counterparts without simultaneous access. Male cocoa farmers mostly have simultaneous access to credit and cooperative services.

Table 5 Socioeconomic characteristics of the respondents by simultaneous access to credit and cooperative services

Test for multicollinearity and heteroscedasticity

Multicollinearity refers to the presence of linear relationships among the explanatory variable captured in the model. In the presence of multicollinearity, the model yields wrong signs of coefficients, high standard errors of coefficients and high R2 value even when the parameter estimates are not significant [95]. The variation inflation factor (VIF) for each variable was evaluated to check for multicollinearity. If the VIF exceeds 10, that variable is said to be highly collinear and can be excluded from the model. The result of the test is presented in Table 6. The result shows that the mean value is 1.24. The result further shows that none of the variables of the model has VIF greater than 10. This indicates that there is no problem of multicollinearity among the independent variables considered in the model. The result of heteroscedasticity test is also presented in Table 6. The Chi-square (0.02) is not statistically significant. This shows that the error terms across the observations have constant variance, and there is no problem of heteroscedasticity in the data set.

Table 6 Test for multicollinearity and heteroscedasticity

Impact of access to credit service on cocoa productivity

Table 7 reveals the impact of credit access on cocoa productivity. The likelihood ratio test (Chi2 (2) = 292.73, P > 0.000) of the joint independence is significant. This shows that the three equations in the models are not jointly independent and should not be estimated disjointedly. The result, therefore, supports the use of ESRM to control for the selection bias and the issue of endogeneity in the sample. The correlation coefficients rho_1 and rho_2 of the ESRM are both positive and statistically significant. This shows that the farmers with credit access achieve above-average productivity regardless of whether they actually have access to credit or not, however, they are better off when they have access to credit; whereas farmers without access to credit have below-average productivity in either case, but would be better off when they have access to credit.

Table 7 Impact of credit access on cocoa productivity

The impact of access to credit service on cocoa productivity is assessed in two stages, the first being the probit model. The model shows that age, age square, household size, and farm size significantly influence the probability of farmers’ access to credit services. The coefficients of age, age square, and farm size have positive implications in that an increase in any of these variables may increase the probability of farmers gaining access to credit services. A reasonable explanation for the positive effect of age and age square on credit access could be ascribed to the fact that older farmers are more responsible and secure than their younger counterparts. Older farmers have integrity and would not likely default in loan repayment or spoil their family’s reputation. Furthermore, the square of age, which is a representation for old age, is positive and significant. This implies that the probability of credit access will still increase, even after the farmers have reached a certain age threshold, probably into old age. This finding supports the result of studies conducted by refs. [96,97,98].

Moreover, the positive effect of farm size on credit access could be ascribed to the fact that financial institutions presume that farmers with large farm sizes would own the capacity to manage loans with their associated risks and uncertainties, especially when these farmers possess a prescribed title. This suggests that such farmers are credit-worthy, which is an important factor for seeking financial assistance in order to put their resources to optimum use. This result is consistent with the findings of refs. [99,100,101]. Conversely, the coefficient of household size has a negative sign, which implies that an increase in this variable may decrease the probability of farmers gaining access to credit. This can be attributed to the fact that farmers with large families may be forced to divert part of their loans to household activities to ease the consumption pressure imposed by a large family. Hence, they may default on loan repayment. It is also possible that the economic activities of large households are enough to bring a net economic benefit to a household without seeking external assistance. This could be ascribed to the communal nature of the African system, which allows several members of a given family to live together and take part in the economic activities of the household. However, this finding confirms the findings of ref. [102] that households with more adults are likely to participate more in formal credit as it increases confidence to repay credit.

The second stage of the access to credit service model is the switching regression model. The results of the switching regression model of productivity among cocoa farmers with credit access and those without credit access are presented in the third and fourth columns of Table 7, respectively. Age, household size, years of education, years of experience, asset, and farm size significantly influence the cocoa productivity of farmers with credit access. The coefficients of age, household size, years of education, years of experience, asset and farm size have positive signs. This implies that an increase in any of these variables increases the cocoa productivity of farmers with credit access. In the same vein, age, years of education, farm size, and gender also have positive coefficients and are statistically significant in influencing the variation of cocoa productivity among farmers without credit access.

The reasonable explanation for a positive relationship between age and productivity is the fact that older farmers have better access to labour, land and first-hand information on enhancing their productivity than their younger counterparts. Older farmers are expected to have gathered experience about skills and practices and become experts in different management practices, hence improving their productivity over the years. This result is consistent with the findings of refs. [103,104,105,106]. Years of education has a positive relationship with cocoa productivity. This could be traced to the fact that education enables farmers to gain the necessary knowledge and skills to utilise existing technologies and boost their productivity. This is premised on the fact that investment in knowledge improves resource utilisation and, consequently, higher productivity [107]. This study is in line with the finding of refs. [104, 105, 108, 109]. Moreover, this study also found that household size has a positive effect on cocoa productivity, which is traced to the fact that the household members contribute significantly to supplying labour needed for farm work. This is premised on the fact that farmers in developing countries use family labour to reduce production cost and, consequently, increase cocoa productivity. This is in consonance with the findings of refs. [110,111,112,113], who posit that farmers with increased household size obtain higher yields because of the contribution of family labour.

The reasonable explanation for a positive relationship between farm size and productivity is that big-sized farms, especially those with secured tenure, could encourage farmers to adopt improved technologies to increase their farm productivity. Big-sized farms are expected to be more efficient than small-sized farms because of the large amount of timely financial resources on larger farms and its advantage of economies of scale. This can be explained by the fact that a large farm size increases the timeliness of input used and the managing ability of farmers. This aligns with studies by refs. [110, 114,115,116,117] that crop productivity is positively influenced by farm size. Therefore, this study supports the notion that large farms achieve significantly higher productivity than small farms. Gender also has a positive and statistically significant effect on productivity. This study submits that male-headed households achieve significantly higher productivity than female-headed households. Because of some sociocultural values and norms of Africans, males have freedom of mobility and participation in different organisations or meetings, consequently, they have greater access to information [118]. Gender division of labour also exists in African settings. In Africa, non-economic activities such as child care, cooking, cleaning, fetching firewood and other activities performed by females in a household affect their productivity. This finding is in line with [119] that female-headed households generate lower productivity than male-headed households.

A plausible explanation for the positive relationship between farming experience and productivity could be attributed to the fact that a high number of years of experience enable farmers to make sound decisions regarding resource allocation and management of farm operations that are economically worthwhile and technically feasible. A farmer with more experience is expected to have acquired information and better knowledge in using available technologies and resources prudently in order to enhance his farm’s productivity. This finding is in line with studies of ref. [120, 121] which claim that years of farming experience increases agricultural productivity in Nigeria. The result further reveals that households’ social and wealth status in the form of access to assets has an important influence on productivity. This is premised on the fact that households with better access to assets can purchase any improved technology to enhance their productivity. This study agrees with the study of ref. [122], which states that social and wealth status of farmers is an important factor that drives the adoption of improved technologies. Accordingly, households with better access to assets are likely to be more productive.

Table 8 reveals that the mean ATT is 0.594. The t-test reveals that the ATT is statistically significant. This implies that farmers with access to credit achieve significantly higher cocoa productivity than those without access to credit. This could be based on the fact that credit availability may facilitate the timely acquisition of more production inputs or improved technologies like high-yielding seeds [123, 124]. Compared to the IPWRA (0.413), the results of the ESR model show a higher impact of credit access on cocoa productivity. The positive sign of rho means that unobservable variables that increase productivity correlate with unobservable variables that increase credit access. This study submits that the least productive farmers are more likely to secure access to credit services and invest the credit in cocoa production. In this case, failure to take endogeneity issues into account will result in underestimating the impact of access to credit service on cocoa productivity. Hence, the reason for obtaining a greater impact coefficient in the ESR model. Actually, cocoa farmers spend the accessed credit on intended purposes, such as the purchase of inputs for production, and consequently improve their productivity. This result corresponds with the finding of ref. [86, 125, 126] who conclude that farmers with access to credit contribute to improved farm productivity. However, the study contradicts the findings of [42] that access to credit has no significant contribution to farmers’ productivity.

Table 8 Results of impact models

Impact of access to cooperative service on cocoa productivity

Table 9 reveals the impact of access to cooperative service on cocoa productivity. The likelihood ratio test (Chi2 (2) = 441.90, P > 0.000) of the joint independence was significant. It shows that the three equations in the model are not jointly independent and should not be estimated disjointedly. The result therefore supports the use of ESRM to control the selection bias and the issue of endogeneity. The correlation coefficients rho_1 and rho_2 of the ESRM are both positive and statistically significant. This shows that farmers who have access to cooperative service achieve above-average productivity and are better off than farmers who do not and have below-average productivity. The model is assessed in two stages, the first stage being the probit model. This model reveals that age, age square, household size, years of education and farm size significantly influence the probability of farmers gaining access to cooperative service. The coefficients of age, age square, household size, years of education and farm size have positive signs which implies that an increase in any of these variables may increase the probability of farmers gaining access to cooperative service.

Table 9 Impact of access to cooperative services on cocoa productivity

A reasonable explanation for the positive effect of age and age square on the probability of farmers gaining access to cooperative service could be that older farmers are likely to join a cooperative society in order to secure a market for their increasing output or for old age reasons. Furthermore, some cooperative societies prefer older members because they seem to be more credible in group formations than their younger counterparts who tend to be more aggressive. On the other hand, older farmers may want to join cooperative societies to seek assistance because they may not be energetic enough to participate in other fund-generating activities. The study corroborates the studies of ref. [30, 36, 65, 127, 128] which state that the age of farmers positively and significantly relates to the decision to join cooperative societies. This study found that years of education positively affect the decision to join cooperative societies, which could be ascribed to the fact that education gives farmers the ability to understand the general benefits of joining a cooperative society. The finding concurs with the studies of ref. [58, 129, 130]. The study also finds that farm size has a positive influence on cooperative membership. The plausible explanation is that the production on large farms is significant enough to justify joining cooperative societies, and returns on membership of cooperative societies are greater than membership costs. In addition, farmers use large land assets as informal safeguards to join cooperative societies. The study is in agreement with [36, 37, 127, 130,131,132,133]. Household size also has a positive influence on membership of cooperative society. This can be explained by the fact that consumption pressure from household members may push farmers to join a cooperative society. The finding is in agreement with the studies of ref. [30, 130].

The second stage of the model for cocoa productivity is the switching regression model. The results of this model among farmers who have access to cooperative services and those who do not are presented in the third and fourth columns of Table 9, respectively. Age, age square, household size, years of education, years of experience, gender, and asset have positive coefficients and are statistically significant in influencing the cocoa productivity among farmers with access to cooperative services. This implies that an increase in any of these variables increases the cocoa productivity of farmers who are members of cooperative societies. However, age, age square, household size, years of education, farm size, and gender significantly influence the cocoa productivity among farmers who are not members of cooperative societies. The coefficients of age, age square, years of education, farm size and gender have positive signs. This implies that an increase in any of these variables increases the cocoa productivity among farmers who are not members of cooperative societies. However, the coefficient of household size has a negative sign, which implies that an increase in this variable decreases the cocoa productivity among farmers who are not members of cooperative societies. The plausible explanation for the relationship between these significant variables and cocoa productivity has been thoroughly stated in the previous section. However, the negative relationship between the household size and productivity could be ascribed to the fact that some parts of households’ labour force have been diverted to non-farm activities in an attempt to earn more income to ease the consumption pressure imposed by a large family. This finding concurs with the studies of ref. [134, 135]. Furthermore, the study shows difference in the sign of impact of household size on cocoa productivity of co-operators and non-co-operators. This could be traced to the fact that agricultural cooperative societies through access to credit, trainings and exchange of ideas among members have a positive influence on the adoption of productivity-enhancing technologies [10,11,12]; whereas, agricultural household members of non-cooperator engage in non-farm activities in an attempt to secure access to credit which may take their interest away from farming and this negatively affects their productivity. Cooperative societies give no opportunity to the farmers’ household members to engage in non-farm activities because the societies provide services to households to ease production constraints which has direct influence on availability of family labour supply to undertake farm operation on time. The finding is in line with the result of ref. [136]. It is important to point out that the results of the impact of access to cooperative services on cocoa productivity are almost similar to the impact of access to credit service on cocoa productivity. As explained earlier, this shows that access to cooperative and credit services are not mutually exclusive and cooperative membership plays a mediating and hidden role between credit access and cocoa productivity.

Table 10 reveals a mean ATT of 0.828. The t-test reveals that the ATT is statistically significant. This implies that farmers who have access to cooperative services achieve significantly higher production than those who do not. Compared to the IPWRA (0.736), the results of the ESR model show a higher impact of access to cooperative services on cocoa productivity. The positive sign of rho means that unobservable variables that increase yields correlate with unobservable variables that increase access to cooperative services. This means that the least productive farmers are more likely to be members of cooperative societies and invest the services in cocoa production. In this case, failure to consider it will lead to underestimating the impact of access to cooperative services on cocoa productivity. This explains why we obtain a greater effect in the ESR model. This could be ascribed to the fact that cooperative societies provide an avenue to diffuse information on new technologies and provide input subsidies and credit services to their members. Therefore, a farmer who is a member of a cooperative society is more likely to adopt improved agricultural technologies and obtain credit. Cooperative societies also support their members in providing training on the production of crops. These kinds of support could increase the productivity of cooperative farmers. This finding is in line with the studies of refs. [38, 39, 41].

Table 10 Results of impact models

Simultaneous impact of access to credit and cooperative service on cocoa productivity

Table 11 reveals the impact of access to credit and cooperative services on cocoa productivity. The likelihood ratio test (Chi2 (2) = 529.33, P > 0.000) of the joint independence is significant. It shows that the three equations in the model are not jointly independent and should not be estimated disjointedly. The result, therefore, supports the use of ESRM to control for the selection bias and the issue of endogeneity. The correlation coefficients rho_1 and rho_2 of the ESRM are both positive and statistically significant. This shows that farmers who have access to credit and cooperative services achieve above-average productivity and are better off than farmers who do not have access to credit and cooperative services and have below-average productivity. The model is assessed in two stages, the first stage being the probit model. This model reveals that age, household size, years of education, and gender significantly influence the probability of farmers gaining access to credit and cooperative services. The coefficients of age, household size, years of education, and gender have positive signs which implies that an increase in any of these variables may increase the probability of farmers gaining access to credit and cooperative services.

Table 11 Simultaneous impact of access to credit and cooperative membership on cocoa productivity

The reasonable explanation for a positive effect of age on simultaneous access to credit and cooperative services is that the ability to access credit and participate in cooperative society increases as the household head grows older. This is because older farmers may source external funds to invest in agricultural-related activities and secure a market for their increasing output. Also, they could understand the importance of cooperative societies and actively engage in the commitments and activities shared in the societies. This result contradicts the findings of [137, 138] that age had a significant but negative effect on accessing credits. The finding supports other studies such as [30, 36, 65, 130, 139,140,141]. The positive effect of gender on simultaneous access to credit and cooperative services suggests that the male farmers are very much endowed with resources which serve as collateral security in accessing the formal credit and participating in cooperative societies. Thus, male respondents gain better access to credit, and they are likely to join a cooperative society since men generally undertake less reproductive functions. This finding corroborates the findings of [132, 142]. The formal education of respondents has a positive and significant influence on access to credit and cooperative services. This is ascribed to the fact that farmers who attain the high level of education are more able to accumulate and have better knowledge on access to the credit [143, 144], as well as ability to cope with the procedure to participate in cooperative society and understand the benefits of cooperative societies [129, 130]. The possible explanation for a positive effect of household size on simultaneous access to credit and cooperative services is that as farmers’ household size increases, the consumption requirements also increase, and as a result of this, there is pressure on limited resources. Therefore, households with more household members have high credit demand and chances of being members of cooperative societies in order to enlarge their limited resources and meet their households’ consumption requirements. This finding concurs with the studies of [30, 130, 145]. The finding also contradicts that of [133].

The second stage of the model for cocoa productivity is the switching regression model. The results of this model among farmers who have simultaneous access to credit and cooperative services and those who do not have access to credit and cooperative services are presented in the third and fourth columns of Table 11, respectively. Age, household size, years of education, and years of experience have positive coefficients and are statistically significant in influencing cocoa productivity among farmers who have access to credit and cooperative services. This implies that an increase in these variables increase the cocoa productivity of farmers who have access to credit and cooperative services. However, age, household size, farm size, and asset significantly influence the cocoa productivity among farmers who do not have simultaneous access to credit and cooperative services. The coefficients of age, farm size and asset have positive signs. This implies that an increase in any of these variables increases cocoa productivity among farmers who do not have simultaneous access to credit and cooperative services. However, the coefficient of household size has a negative sign, which implies that an increase in this variable decreases the cocoa productivity among farmers who do not have simultaneous access to credit and cooperative services. The previous section has thoroughly stated the plausible explanation for the relationship between these significant variables and cocoa productivity. As explained earlier, this shows that access to credit and cooperative services is not mutually exclusive and both services simultaneously have a significant impact on cocoa productivity.

The farmers who simultaneously accessed both credit and cooperative services have higher productivity than the other categories of farmers considered in this study (Table 12). ESRM results reveal a mean ATT of 0.978. The t-test reveals that the ATT is statistically significant. This implies that farmers who have access to credit and cooperative services achieve significantly higher productivity than those who do not have access to credit and cooperative services. Compared to the IPWRA (0.915), the results of the ESR model show a higher impact of access to credit and cooperative services on cocoa productivity. The result further shows that the farmers who simultaneously accessed both services obtain much higher productivity than those who accessed the services separately or farmers who do not have access to both services at all. The higher productivity in all estimations was highly significant. Therefore, simultaneous access to credit and cooperative services has increased and this has a far much higher impact on cocoa farmers’ productivity.

Table 12 Results of Impact models

This study investigates the simultaneous impact of access to credit and cooperative services on cocoa productivity in South-western Nigeria. A multistage sampling procedure is used to obtain data for the study. Data are analysed by using descriptive statistics, IPWRA and the ESRM. This paper uses IPWRA and ESRM approaches to provide causally interpretable results. Descriptive statistics reveals the statistical difference between cocoa farmers with access to credit and cooperative services and those without such access, in terms of the variables such as age, age square, years of formal education, farm size and productivity. This is an indication of selection bias in the sample. In terms of access to credit service model, the results of the first stage of the ESRM (probit model) shows that age, age square, household size and farm size significantly influence the probability of farmers’ access to credit. The results of the second stage of the ESRM shows that age, household size, years of education, years of experience, asset and farm size significantly influence the cocoa productivity of farmers with access to credit. Similarly, age, years of education, farm size, and gender have positive coefficients and are statistically significant in influencing the variation of cocoa productivity among the farmers without access to credit. The t-test of ATT reveals that farmers with access to credit achieve significantly higher cocoa productivity than those without access to credit. In terms of access to cooperative service model, the results of the first stage of the ESRM (probit model) shows that age, age square, household size, years of education and farm size significantly influence the probability of farmers being members of cooperative societies. The results of the second stage of the ESRM shows that age, age square, household size, years of education, years of experience, gender and asset have positive coefficients and are statistically significant in influencing the variation of cocoa productivity among the farmers who are members of cooperative societies. Conversely, age, age square, household size, years of education, farm size and gender significantly influence the cocoa productivity of farmers who are not members of cooperative societies. The t-test of ATT reveals that farmers who are members of cooperative societies achieve significantly higher cocoa productivity than those who are not members. This study has further shed light on simultaneous effect of access of cooperative and credit services on cocoa productivity. In terms of simultaneous access to credit and cooperative service model, age, education, gender and household size significantly influence the probability of farmers simultaneously having access to credit and cooperative services. The results of the second stage of the ESRM showed that age, household size, years of education, and years of experience significantly influence cocoa productivity among farmers who have access to credit and cooperative services. However, age, household size, farm size and asset significantly influence the productivity of farmers who do not have access to credit and cooperative services. ATT reveals that farmers who have access to credit and cooperative services achieve far more productivity than farmers who are cooperative members and have access to credit separately; and the set of farmers who do not have access to credit and cooperative services. This result implies that simultaneous access to credit and cooperative services has a stronger and far more significant impact on cocoa productivity. Our findings are consistent with previous studies such as [16, 55, 56, 146], which report significant impact of access to credit and cooperative services on the livelihood of farmers in developing countries. However, the impact is more pronounced in the case of simultaneous access to credit and cooperative services. Therefore, to have a greater impact, credit services should be bundled with cooperative services. The study recommends that simultaneous access to credit and cooperative services to cocoa farmers should be reinforced, for instance, a microcredit scheme through rural cooperative societies should be launched to support cocoa farmers in Nigeria. Owing to the fact that credit access stimulates both productivity and production [146], cocoa farmers should be encouraged to join cooperative societies of their choice in order to access credit and improve their productivity. Accordingly, future development policies should seek to simultaneously address cooperative and credit services to enhance the livelihood of farmers. These polices should aim at expanding cooperative institutions’ credit portfolio to embrace cocoa farmers. In addition, financial institutions should supply agricultural credit to small-scale farmers at low interest rate and the terms and conditions should be made easy and flexible. However, the study primarily focuses on the simultaneous impact of access to credit and cooperative services on cocoa productivity in the study area. The same study should be encouraged in other zones of the country. A study should be conducted on the simultaneous impact of access to credit and cooperative services on food security, poverty and assets acquisition in the area.