1 Introduction

Smallholder farms in East and Southern Africa provide food, income, and employment to millions of rural families. For this reason, the deployment of affordable best practices and innovative arrangements to enhance income and food security through reduced wastage and prevention of food quality loss among this group of farmers is crucial. Following the renewed interest in agriculture during the last decade, governments and development agencies focused on scaling-up of investments in post-harvest food loss (PHL) reduction as a critical action point for improving food security and welfare objectives while reducing pressure on natural resources as envisioned in the sustainable development goals (UN, 2015). PHLs are exceptionally high in developing countries due to inadequate harvesting, handling, processing, and storage techniques and practices (Ali et al., 2021). Therefore, the deployment of affordable best practices and innovative arrangements to reduce PHLs is crucial. In particular, the critical points where the most significant losses occur must be addressed with proven technologies, taking into account the objectives of the various food system actors (Cattaneo et al., 2021).

PHLs deny farmers opportunities to increase returns on investment, weakening the capacity to secure improved livelihoods. They involve opportunity cost, resource misallocation, and wastage (Tesfaye & Tirivayi, 2018). The losses decrease food supplies and diminish the market value, nutritional content, and safety (Affognon et al., 2015). The causes of food losses at various stages of the post-production chain are varied but generally involve a complex interaction of biological, physical, and socio-economic factors. Post-harvest operations exacerbate these interactions by their tedious, labor-intensive, and time-consuming nature. In Tanzania, drying, threshing, and storage are critical points where economically significant grain PHLs occur (Abass et al., 2014).

Proper drying ensures that the grain will endure threshing and storage without spoilage. Drying is also part of the grain trading system (De Groote et al., 2021). The shelled grain should be dried to ≤ 13.5% moisture under safe conditions to avoid contaminations with fungi. Many smallholder farmers dry grain directly on the ground, which also contaminates it with soil-borne residues. The process is slow and encourages spillage and pest attacks. Grain losses equivalent to 2–9.5% occur in various African countries during drying (Hodges et al., 2014). The Africa RISING (Research in Sustainable Intensification for the Next Generation)Footnote 1 program validated and promoted the GrainPro Collapsible Dryer Case™ (CDC), a plastic sheet envelope designed for quicker and protected sun-drying. In use, the reinforced polyvinyl chloride sheet (optimized for solar energy absorption) is spread out, and the produce (cobs, pods, or the threshed grains) is placed on top. In bad weather (rains), the tarpaulin is folded to enclose the produce in a zipped envelope. This action saves labor and time needed to gather and move the produce away; the drying is continued after the rain by simply opening the envelope again. Farmers adapt the technology in several ways; some use damp-proof coating sheets available from local hardware shops, while others use canvas or stitched woven polypropylene sheets that ably protect the produce from direct contact with soil. The use of the CDC® decreased maize grain drying time by 28%, avoided loss of 32 kg/ton of grain, and reduced impurities (30%) and moldy grain (42%) (IITA, 2019). In Kenya, simple plastic sheets for grain drying lowered aflatoxin contamination by about 50% compared to direct drying on bare ground (Pretari et al., 2019).

Threshing operations facilitate grain handling, storage, and marketing. As commonly practiced in Tanzania, manual grain threshing is labor-intensive, tiresome, time-consuming, and delays processing for storage (Abass et al., 2014). Significant post-harvest losses also occur through mechanical damage and spillage. In Zimbabwe, up to 3.5% losses occurred during maize shelling, while rice threshing and winnowing operations in Madagascar and Ethiopia were associated with 8.5% and 11% losses, respectively (Hodges et al., 2014). To overcome threshing inefficiencies among smallholder maize producers, Africa RISING validated and promoted a low-cost motorized sheller (4 horsepower, capital cost $630) that completes shelling and grain winnowing work all at once. Using the sheller reduced shelling losses from 6.8% to 2.0%. Farmers who switched to this technology reduced drudgery by 58 – 74% (Mutungi et al., 2022) and improved labor efficiency by 77 – 90%, saving costs and freeing time to undertake other farm and household activities.

Adequate storage enables households to have a consistent supply of food and increases farmer incomes by enabling them to engage in temporal arbitrage, taking advantage of seasonal price fluctuations (Kotu et al., 2019). Many rural farmers still use traditional storage techniques (Edoh Ognakossan et al., 2016). While easily accessible and cheap, the traditional techniques can fail to protect the stored produce affecting safe food provisioning in the lean season. Africa RISING validated and promoted chemical-free grain storage in hermetic containers (metal silo/plastic silo/hermetic bags). The technologies decreased storage losses by more than 85% (Abass et al., 2018; Mutungi et al., 2020), hence proved to be a valuable tool for addressing food security and income objectives among rural households (Kotu et al., 2019). Furthermore, the technology reduced the likelihood of aflatoxin accumulation 5–eightfold in Kenya (Ng'ang'a et al., 2016).

Farmers adopt new technologies when they are convinced beyond doubt that using them would better address household objectives such as food security and decent livelihoods (Kotu et al., 2019). To date, evidence on the impacts of post-harvest technologies on various sustainable intensification domains is still needed in sub-Saharan Africa (Affognon et al., 2015; Sheahan & Barrett, 2017). Thus far, the few studies available limit the scope to storage (Brander et al., 2021; Gitonga et al., 2013; Omotilewa et al., 2018; Tesfaye & Tirivayi, 2018). To the extent that economically significant PHLs occur at multiple farm-level stages, extending the grasp of farmers' decision-making processes to other post-harvest technologies is important. Broadly, mechanized shelling (MS) addresses a labor issue, while drying tarpaulins (DT) and airtight storage (AS) address product quality and quantity issues that characterize PHLs. Overlaps, however, do exist.

This study aimed to investigate the differences in farmers' adoption decision behavior for MS, DT, and AS, and assess the potential contribution of the three technologies to rural households' food security and welfare in Tanzania. The study contributes to the literature in the following ways: First, we generate knowledge of farmers' decisions to adopt a suite of post-harvest technologies for losses mitigation at the most critical farm-level steps. To our knowledge, not many studies have compared the adoption of multiple post-harvest technologies. Second, we estimate the technologies' food security and welfare benefits and elucidate the factors influencing the outcomes among households. Unlike previous studies, e.g., Gitonga et al. (2013) that established causality between the adoption of post-harvest technologies and welfare outcomes at the household level using methods that only correct for observed characteristics, we employ the endogenous switching regression model (ESRM) to control for both observed and unobserved characteristics. By estimating separate outcome regressions for adopters and non-adopters of each of the three post-harvest technologies using the ESRM, we explore the structural differences between the two groups. We organize the rest of the article as follows: Section 2 describes the data, sampling strategy, and outcome indicators, Section 3 the conceptual and empirical frameworks, Section 4 presents the results and discussion, whereas the last section draws conclusions and policy recommendations.

2 Data, sampling strategy and specification of variables

2.1 Data and sampling strategy

This study uses household survey data collected from 579 households across Tanzania's four regions of Manyara, Dodoma, Iringa, and Songwe, where Africa RISING program validated and promoted the three improved post-harvest technologies (IPHTs) namely: drying tarpaulins (DT), motorized maize shellers (MS), and air-tight storage containers (AS) in 2013—2020. The survey covered 10 out of 64 intervention wards in four purposively selected districts: Babati (Manyara), Kilolo (Iringa), Kongwa (Dodoma), and Mbozi (Songwe). The wards were selected using probability proportional to size sampling (PPS) and 14 villages were selected randomly. Survey households were selected randomly from village household lists, and one adult member was interviewed using a structured questionnaire prepared for this purpose. In half of the cases, we interviewed male household members (mostly the head), and in the remaining cases, female household members (mostly the spouse or a female head) based on a prior random assignment. Enumerators received training on the theoretical and practical aspects of the IPHTs, and the use of the computer-assisted personal interviewing software (Surveybe®, EDI Global, United Kingdom) deployed for the survey. All participants received a clear explanation of the survey objectives and were requested to give verbal consent; we interviewed only those who consented.

Apart from post-harvest related data (e.g., awareness, adoption, and cost of IPHTs) the survey collected rich household data such as age, education, and marital status of the household head, size of the household, and assets owned. The survey also collected comprehensive data on crop production, yields and marketing, and household expenditures.

2.2 Outcome variables

Food security is a state in which "all people at all times have the physical, social, and economic access to sufficient, safe, and nutritious food to meet dietary needs and food preferences for productive and healthy life (CFS, 2012). This definition reflects different dimensions, including food availability, access, utilization, and stability. Availability connotes the physical existence of food from own production, held stocks, or market. Food access requires that households have enough economic or physical resources to obtain or produce food in sufficient quantity, quality, and diversity, and concerns household resources, incomes, expenditure, markets, and food prices. Utilization in the socio-economic sense concerns aspects determined by knowledge and habits that shape decisions on what food to produce or purchase and how to prepare, allocate and consume it within the household. Stability concerns the temporal dimension of food security and visualizes a relative constancy in food availability, access, and utilization. Welfare relates to living standards or the economic and social conditions of households and is proxied by measures of consumption or income (Moratti & Natali, 2012). In measuring welfare, consumption is favored over income as individuals derive material well-being from the actual consumption of goods and services rather than receiving income per se (Citro & Michael, 1995).

For the present study, we considered four indicators—months of food insecurity (MFI), household food insecurity access scale (HFIAS), and per capita monthly food consumption expenditure (FCE) as measures of food security. As indicator of household welfare, per capita monthly total consumption expenditure (TCE) was used. We constructed these indicators as follows:

  • MFI gave the frequency of household food insecurity in the past year reflecting the availability and stability components. We computed MFI as the average number of months households spent an entire day without three meals due to inadequate food supplies the year preceding the survey.

  • HFIAS measured the degree of food insecurity by evaluating responses to a set of standard questions representative of three universal domains of food access in terms of a household’s anxiety and uncertainty about (i) inadequate food supply; (ii) insufficient quality; and (iii) insufficient food intake within a 30-day recall period during the lean period (Coates et al., 2007). HFIAS captures the behavior of being worried about access to quality, quantity, and acceptability of food (Carletto et al., 2013). We calculated the HFIAS (which takes the value of a whole number between 0 and 27) by summing up the codes for each frequency-of-occurrence of nine key food security questions in the three domains as detailed elsewhere (Coates et al., 2007). The higher the score, the more food insecurity (access) the household experienced.

  • FCE measured the monthly value of the food consumed by household members at home or away from home and captured improvements in household food access. The FCE was the average value of food consumed per household member from own production, purchase from the market, gifts, in-kind payments, and other sources, including restaurants, canteens, food courts, and street food. All food acquired that was not purchased was valued using the corresponding market prices.

  • TCE proxied income improvements and reflected households’ living standards by capturing asset ownership and other non-consumption expenditures such as contributions to health, education, taxes, social security transfers, or gifts and donations. We estimated the TCE by summing up the food and non-food consumption expenditures divided by household size.

2.3 Explanatory variables

The factors that are likely to affect the adoption of IPHTs include age, education, household size, landholding, and asset ownership representing the capital strength of households. The effect of age could go either way; older farmers may adopt IPHTs more readily because they have more dependents, capital, and preferential access to financial resources (Sall et al., 2000), while younger households might have longer planning horizons and therefore more willing to take risks (Adegbola & Gardebroek, 2007). Good education increases adoption through a better ability to interpret technical knowledge and allocate resources. Household size is a proxy for labor availability — studies show larger households are more likely to adopt improved agricultural technologies (Abdulai & Huffman, 2014). Gender influences adoption decisions through differential access to resources and information (Fischer et al., 2021). Other farm and system-level factors, including experience of production shocks, contact with extension, membership to a group, nearness to market, access credit, and agroclimatic conditions, also contribute to farmers decisions to adopt new technologies (Abdulai & Huffman, 2014; Alene & Manyong, 2007; Tesfaye & Tirivayi, 2018). We hypothesized that households confronted more with production shocks, e.g., crop failure will look for information on IPHTs. We considered contact with extension and social networks (i.e., group membership, and neighborhood effects) as indicators of exposure to information. At the same time, nearness to market, access to credit, and bank and mobile money ownership would encourage IPHTs adoption by providing an incentive to produce for the market and easing liquidity barriers. More wealth and off-farm income facilitate IPHTs adoption (Sall et al., 2000).

3 Conceptual and empirical frameworks

3.1 Conceptual framework

Post-harvest losses shrink harvest volumes and degrade the quality of harvested products. As a result, households experience a direct reduction of the safe and nutritious food available to them. In the market space, the losses connote higher food prices or lost market opportunity for households who produce and sell to earn income. Improved post-harvest technologies can yield food security and welfare gains through several pathways. Direct benefits result from reduced losses in quantity and quality that can contribute to more food availability. Thus, technologies such as improved storage increase the available food stocks, stabilize the supply, and raise the marketable surpluses, contributing directly to food access and ability of households to settle financial obligations. The storage technologies allow farmers to choose the best time to sell their product and tap into higher prices during the lean season as grain prices are always lower at harvest than later. Technologies that reduce time and labor requirements in tedious and labor-intensive operations, e.g., mechanized shelling, potentially impact food security through positive time and labor adjustments enabling households to generate more food and income from additional on-farm or off-farm activities. Such adjustments can raise household welfare through increased and diversified expenditures while enhancing ability to cope with food supply and income disruptions.

3.2 Empirical framework

Given that we use cross-sectional data, estimating the impact of IPHTs on food security and welfare is not trivial. Some previous studies e.g., Becerril and Abdulai, (2010) and Gitonga et al. (2013) used propensity score-based methods such as propensity score matching (PSM) to estimate impacts of improved agricultural technologies on smallholder farmers’ welfare. However, PSM only controls for observed characteristics and therefore may result in biased estimates if unobserved characteristics such as motivation, managerial capacity, and technical abilities of the farmers in understanding and using new technologies are not controlled for (Abdulai & Huffman, 2014).

To account for observed and unobserved characteristics, we use the ESRM (Lee, 1978). By modeling both selection and outcome equations, ESRM controls for factors that affect the treatment (adoption/non-adoption) while disentangling the factors influencing the outcomes between the adopters and non-adopters (Besley & Case, 2000). Previous empirical studies have employed this framework to study the impacts of agricultural technologies’ adoption (Abdulai & Huffman, 2014; Asfaw et al., 2012; Khonje et al., 2018; Manda et al., 2019; Shiferaw et al., 2014; Tesfaye & Tirivayi, 2018; Tufa et al., 2019; Wossen et al., 2017).

3.3 Empirical specification

  1. (a)

    Technology adoption decision

A household’s decision to adopt an IPHT is a case of constrained optimization. The household decides to adopt the IPHT when there is a positive difference between the marginal net benefits of adopting and not adopting the technology. Let \({P}^{*}\) denote this difference so that \({P}^{*}\) > 0 corresponds to the net benefit of adopting the technology exceeding that of not adopting, and it is under this condition, the farmer decides to adopt the technology. However, \({P}^{*}\) is not observable; what is observed is P, which represents the observed behavior of the farmer regarding the adoption of the technology. Let \({P}_{i}\) be a binary variable representing a farm household’s adoption status for IPHT (MS or DT or AS), which take the value of 1 for households who decide to adopt and 0 otherwise. A household’s decision to adopt the stated IPHT is represented by the latent variable framework below:

$${P}_{i}^{*}=\alpha {Z}_{i}+{\varepsilon }_{i}$$
(1)

with

$${P}_{i}=\left\{\begin{array}{c}1,if\, {P}_{i}^{*}>0\\ 0,if\, {P}_{i}^{*}\le 0\end{array}\right.$$
(2)

where Eq. 1 represents a probit model of adoption of IPHT, α is a vector of parameters to be estimated, Z is a vector that represents characteristics (household, farm-level, system-level, and agroclimatic) that comprise decision determinants to adopt or not adopt the IPHT, and ε is the random error term with mean zero and variance \({\sigma }_{\varepsilon }^{2}\). The error term includes measurement error and factors not observed by the researcher but known to the farmer (Alene & Manyong, 2007).

  1. (b)

    Impact evaluation

Conditional on the IPHT adoption decision, we can observe the actual outcomes, which are a function of improved technology use alongside observed variables such as household characteristics, farm-level factors, system-level factors, agroclimatic conditions, and unobserved variables such as innate abilities and managerial capacity. The outcomes are represented by a switching regime as:

$$Regime \ 1\!: {y}_{1i}={\beta }_{1}{x}_{1i}+{w}_{1i} \ if \ {P}_{i}=1$$
(3a)
$$Regime \ 2{:} \ {y}_{2i}={\beta }_{2}{x}_{2i}+{\sigma }_{\varepsilon 2}{\lambda }_{2i} \ if \ {P}_{i}=0$$
(3b)

where \({y}_{1i}\) and \({y}_{2i}\) are the outcome variables for adopters and non-adopters of IPHT, respectively; \({x}_{1i}\) and \({x}_{2i}\) are vectors of explanatory variables assumed to be weakly exogenous; \({\beta }_{1}\) and \({\beta }_{2}\) are parameters to be estimated and \({w}_{1i}\) and \({w}_{2i}\) are error terms. The error terms in the selection Eq. (1) and outcome Eqs. (3a, 3b) are assumed to have a trivariate normal distribution with zero mean and covariance matrix such that:

$$cov \left(\varepsilon , {w}_{1}, {w}_{2}\right)= \left[\begin{array}{ccc}{\sigma }_{\varepsilon }^{2}& {\sigma }_{\varepsilon 1}& {\sigma }_{\varepsilon 2}\\ {\sigma }_{\varepsilon 1}& {\sigma }_{w1}^{2}& .\\ {\sigma }_{\varepsilon 2}& .& {\sigma }_{w2}^{2}\end{array}\right]$$
(4)

where \({\sigma }_{\varepsilon }^{2}\)= variance (ε), \({\sigma }_{w1}^{2}\)= variance (w1), \({\sigma }_{w2}^{2}\)= variance (w2), \({\sigma }_{\varepsilon 1}\)= covariance (ε, w1), and \({\sigma }_{\varepsilon 2}\)= covariance (ε, w2). Since \({y}_{1}\) and \({y}_{2}\) are not observable simultaneously, the covariance between \({w}_{1}\) and \({w}_{2}\) is not defined (Maddala, 1983). Also, since the error term of the selection function (Eq. 1) is correlated with the error terms of the outcome functions (Eqs. 3a and 3b), the expected values of \({w}_{1}\) and \({w}_{2}\) conditional on the sample selection are non-zero and can be defined as:

$$E\left({w}_{1i}| P=1\right)= {\sigma }_{\varepsilon 1}\frac{\theta \left({Z}_{i}\alpha \right)}{\phi \left({Z}_{i}\alpha \right)} \equiv {\sigma }_{\varepsilon 1}{\lambda }_{1}$$
(5)
$$E\left({w}_{2i}| P=0\right)= {\sigma }_{\varepsilon 2}\frac{\theta \left({Z}_{i}\alpha \right)}{1-\phi \left({Z}_{i}\alpha \right)} \equiv {\sigma }_{\varepsilon 2}{\lambda }_{2}$$
(6)

where θ is the standard normal probability density function, ϕ is the standard normal cumulative density function. Equations (5) and (6) simplify to: \({\lambda }_{1i}= \frac{\theta \left({Z}_{i}\alpha \right)}{\phi \left({Z}_{i}\alpha \right)}\) and \({\lambda }_{2i}= \frac{\theta \left({Z}_{i}\alpha \right)}{1-\phi \left({Z}_{i}\alpha \right)}\), respectively, where \({\lambda }_{1}\) and \({\lambda }_{2}\) are the inverse mills ratio (selectivity terms) calculated from the selection equation and are included in the outcome equations to correct for selection bias in the endogenous (regime) switching regression model by substituting Eq. (5) and (6) in (3a) and (3b) as follows:

$$Regime \ 1{:}\ {y}_{1i}={\beta }_{1}{x}_{1i}+{\sigma }_{\varepsilon 1}{\lambda }_{1i} \ if \ {P}_{i}=1$$
(7a)
$$Regime \ 2: {y}_{2i}={\beta }_{2}{x}_{2i}+{\sigma }_{\varepsilon 2}{\lambda }_{2i} \ if \ {P}_{i}=0$$
(7b)

For the ERSM to be identified, there is a need to include at least one instrumental variable (IV) in the selection model (Eq. 1). An IV should significantly affect the adoption of IPHT conditional on other covariates (relevance condition) and affect the outcome variables (MFI, HFIAS, FCE, TCE) only through adoption, but not directly (exclusion restriction). We used farmer’s neighbor adoption decision (1 if neighbor adopted a particular IPHT and 0 otherwise) as an IV. While the selection of instrumental variables is empirically challenging, others, e.g., Adegbola and Gardebroek (2007), have stated that source of information is a vital element influencing the adoption of agricultural technologies. Such information may be transmitted through spatial relationships, especially when farmers closely rely on their friends and neighbors for improved farm practices (Tessema et al., 2016). A neighbor’s adoption of IPHT is likely to be correlated with a household’s adoption decision but not with food security and welfare outcomes. We checked whether our instrument correlated with the adoption status (relevance condition), and the reported results in Table 2 show that the instrument is relevant. Several previous studies used similar instruments, e.g., Abdulai and Huffman (2014) and Wossen et al. (2019).Footnote 2

The outcome equations for adopters and non-adopters of the IPHTs were estimated using ordinary least squares (OLS) regression with selectivity correction. To estimate the impacts, we compared the observed and counterfactual scenarios of expected values of the outcomes for adopters. For an adopter of a named IPHT, the expected value of the outcome variable is expressed as:

$$E\left\{{y}_{1i}|P=1;x\right\}={\beta }_{1}{x}_{1i}+{\sigma }_{\varepsilon 1}{\lambda }_{1i}$$
(8a)

The expected values for the same farmer had he/she decided not to adopt the IPHT (counterfactual) is given as:

$$E\left\{{y}_{2i}|P=1;x\right\}={\beta }_{2}{x}_{1i}+{\sigma }_{\varepsilon 2}{\lambda }_{1i}$$
(8b)

Therefore, the impact of adoption on the outcome variables for those who adopted IPHT, i.e., the average treatment effect on the treated (ATT), is calculated as the difference between Eqs. (8a) and (8b):

$$\begin{array}{l}ATT=E\left\{{y}_{1i}|P=1; x\right\}-E\left\{{y}_{2i}|P=1,x\right\}\\ ={(\beta }_{1}{-{\beta }_{2})x}_{1i}+({\sigma }_{\varepsilon 1}-{\sigma }_{\varepsilon 2}){\lambda }_{1i}\end{array}$$
(9)

4 Results and discussion

4.1 Descriptive statistics

Table 1 presents the means of the primary treatment variable, i.e., IPHTs (DT, MS and AS) adoption disaggregated by districts. The variable took a value of 1 if the household reported having used the IPHTs in the season preceding the survey, otherwise, 0. On average, about 60% and 57% of the survey respondents adopted DT and MS, respectively. The adoption of DT and MS superseded AS, possibly because the former have been promoted longer than the latter in Tanzania. Mbozi district had the highest DT adoption rate (80%) while Babati district recorded the highest MS adoption (82%). Overall, Kongwa district had the lowest adoption rates across the three IPHTs.

Table 1 Adoption of IPHTs by district

Descriptive statistics of the outcome and explanatory variables are presented in Appendix Table 4 (see Appendix). Adopters of the IPHTs had significantly fewer days of food insecurity and lower food insecurity (access) scores. They also had significantly higher food and total consumption expenditures. The adopters and non-adopters of the three technologies were distinguishable by household heads’ education, ownership of bank/mobile money account, group membership, and neighbors’ technology use status. Additionally, a higher proportion of the male-headed households used DT and MS than the female-headed ones. MS adopter households were also likely to be larger than the non-adopter households, possibly due to higher production linked to the availability of farm labor. Adopters of AS were more likely to have access to credit than non-adopters. In contrast, MS and DT adopters and non-adopters did not differ on credit access. DT and AS adopters were more likely to have contacted government extension than non-adopters. Contrastingly, the likelihood for such contact among MS adopters and non-adopters did not differ, suggesting a weaker public extension engagement on mechanization. Adopters of DT were likely to be located further away from the market than the non-adopters; a need for improved storability to ensure sufficient stocks and less reliance on market purchases could motivate distantly located households to use the technology. Finally, non-adopters of MS were more likely to receive private transfers than the adopters, a distinction not seen with DT and AS—this could be linked to lower agricultural production of these households as they also were distinguishable as having less farmland.

4.2 Empirical results

4.2.1 Determinants of the adoption of improved post-harvest technologies

First stage ESRM results (Table 2) show that households with larger farms were more likely to adopt all three technologies. Farm size is related to production scale. High production is more profitable due to economies of scale and is likely to incentivize demand for IPHTs. The results are consistent with other studies (Abdulai & Huffman, 2014; Gitonga et al., 2013; Manda et al., 2016).

Table 2 Endogenous switching regression estimates of the determinants of IPHTs’ adoption

Off-farm income and access to credit increased the probability of AS adoption but not MS and DT. This observation might suggest that households accessed DT and MS more affordably; the two technologies were accessed mainly through local service providers. With this option, households could negotiate payment terms (e.g., payment-in-kind) and access the technology more easily than AS (hermetic bags and silos) that required prior settlement before acquisition. In addition, having a bank account or mobile money facility increased the likelihood of adopting the three technologies. These facilities bridged farmers with credit sources hence relaxing liquidity constraints. Mobile banking is particularly attractive for its convenience as a source of soft credit and reduces transaction costs (Nan et al., 2021). In recent years, mobile telephone messaging has also become a mode of extension, enabling farmers to receive technical information and basic financial services, which might have encouraged IPHT adoption.

Membership to a group increased the probability of adopting DT and AS. Group membership increases social networking and information flow regarding the benefits of new technologies (Abdulai & Huffman, 2014; Kassie et al., 2011). In Tanzania, farmer groups are important sources of credit and technology access. Some groups organize around the village-based community banking model. Others operate informal rotating savings and credit accounts and are platforms for farmer learning and consolidated inputs acquisition, which might encourage the adoption of technologies on a case-to-case basis (Sseguya et al., 2021).

Households that received private transfers were less likely to adopt the technologies, particularly MS. Private transfers are a component of the total household income. Households with elderly members or meagre farm resources (e.g., land) are more likely to receive such support from their next-of-kin working away from home. The elderly and poorly endowed households are less likely to engage in productive farming; hence, the transfers could only increase the budget allocation for necessities such as food (Maitra & Ray, 2003). Receiving transfers could also discourage technologies’ adoption because of assured alternative food sources.

Neighbors’ decision to adopt IPHTs correlated positively with households' use of the three IPHTs, suggesting vital signals regarding the technologies emanated from acquaintances. Abdulai and Huffman (2014) have termed neighbors as social network nodes that help clarify aspects of modern technologies; hence doubts diminish as farmers get to know more farmers in their vicinity who have adopted. Furthermore, farmers living near each other may emulate one another due to shared experiences and space-specific characteristics, including bio-physical and socio-economic conditions (Muthoni et al., 2017).

District dummies show that households in Kilolo and Kongwa were less likely to adopt the IPHTs than those in Babati. Production potentials of the different agricultural environments may explain this observation. Babati is a relatively higher crop production zone where humid/sub-humid conditions support maize production and various crops ranging from rice and cotton in the lower-lying plains to wheat and potatoes in the higher elevations. Farmers also keep livestock on a semi-intensive scale. Fairly similar (humid) agroclimatic conditions characterize Mbozi district. In contrast, Kongwa and parts of Kilolo are semi-arid zones with lower production potential — the maize-based systems in these districts integrate with lower-value crops, including drought-tolerant sorghum, millet, pigeon peas, groundnuts, and livestock on a pastoral scale. Our data also revealed wealth, dependency, and information access differences across the districts. The households in Babati were wealthier and less likely to receive transfers than those in Kilolo and Kongwa. Household members in Babati were also more likely to belong to farmer groups and receive extension services from development agencies.

4.2.2 Determinants of food security and welfare

Second stage ESRM results (Eqs. 7a and 7b) are presented in Table 3 (as well as Appendix Tables 5 and 6). Due to space limitations, only the ESRM estimates for DT (Table 3) are discussed. The significant positive coefficients on the sex of household head and value of assets among DT non-adopters show that female-headed and poorer households were likely to have lower consumption expenditures (TCE and FCE) than male-headed and wealthier households. Likewise, among the non-adopters, being older and more educated contributed positively to food access (proxied by HFIAS). Households whose heads were more educated also had higher food consumption expenditures. Conversely, household wealth, age, sex, and education of household heads were not key factors in explaining food security and welfare impacts among the adopters. This observation might suggest that using the technology produced social balancing effects. In the same vein, among the adopters and non-adopters alike, larger households were likelier to experience more days of food insecurity (proxied by MFI). However, the non-adopters were further likely to experience diminished food access and lower food consumption expenditures, thus severer food insecurity.

Table 3 DT endogenous switching regression estimates for the determinants of food security and welfare

Having a large farm contributed positively to food availability and total consumption expenditure among DT adopters. The marginal impact of DT use on food security and welfare was thus greater among the larger producers, potentially due to economies of scale. Kotu et al. (2019) reported similar scale-dependency of farm-level technology benefits, specifically the profitability of AS bags and metal silos. On the contrary, having off-farm income decreased food access and total consumption expenditure among the non-adopters. According to Wozniak (1984), involvement in off-farm activities may restrict decision-making in farm activities leading to low farm productivity. Moreover, farmers engaging in off-farm income-generating activities may simply be doing so to shield against the effects of low farm production (Abdulai & Huffman, 2014). This explanation is sound considering that the non-adopters owned averagely smaller farms and were more likely to have liquidity constraints (see Fig. 1). The bank account and mobile money coefficients indicate that the two variables enhanced food availability, food access, and consumption expenditures among DT adopters and non-adopters. Among the non-adopters, these facilities might have encouraged remittances that smoothen income flows hence food availability and access through purchases in times of shortage (Nan et al., 2021). Bank/mobile money facilities potentially relaxed liquidity constraints and reduced transaction costs among the adopters, enhancing the technology's contribution to food availability and access.

Fig. 1
figure 1

Endogenous switching regression treatment effects on adopters of improved post-harvest technologies. MFI: months of food insecurity; HFIAS: household food insecurity access scale; FCE: monthly food consumption expenditure per capita; TCE: monthly total consumption expenditure per capita. *** p < 0.01

Belonging to a group contributed positively to food security and welfare among DT adopters. The negative coefficients on MFI and HFIAS suggest that this factor improved food availability and access. These impacts are attributable to network effects that simplify technology access and use. The positive coefficient of group membership on the adopters' TCE further implies that social networks expanded incomes. Other authors averred that social networks reduced costs associated with adopting new technologies and enabled farmers to market their products (Abdulai & Huffman, 2014). Longer distances to the market generally diminished food access among households. Furthermore, DT adopters located further away had lower food consumption expenditures signaling reduced purchases potentially due to better storability of their food stocks.

Private transfers correlated negatively with food access among DT adopters and non-adopters. This observation is intriguing, although others (Lentz et al., 2005) have argued that receiving aid can adversely affect the recipient's behavior and discourage self-assurance investments as alternative food/income sources exist. Contact with public extension services appeared to dampen the food access impact among DT adopters, which might mirror the scope of the extension services provided. Location fixed effects were significant determinants of food security and incomes among DT non-adopters; those in Kongwa, Kilolo, and Mbozi were more food insecure than the non-adopters in Babati. Additionally, DT non-adopters in Kilolo had significantly lower TCE. These differences across locations with different farming potentials did not occur among the adopter households. Results in Appendix Tables 5 and 6 (ESRM estimates for MS and AS) can be interpreted similarly.

An interesting finding in Table 3, Appendix Tables 5, and 6 is the significance level of the coefficient estimates on the variables Mills1 and Mills2. These are the inverse mills ratios used to correct for selection bias as indicated in Eq. 5 and Eq. 6. We reject the null hypothesis of no sample selection as some of the coefficient estimates for the inverse Mills are significant, implying that there is a selectivity problem, and one should not rely on OLS which ignores this problem.

4.3 Impacts of adoption on food security and welfare of households

Figure 1 shows the average effects of IPHT adoption on the various outcome variables. Unlike the mean outcome differences presented in Appendix Table 4, which may confound the impact of adoption with the influence of other characteristics, the ESR estimates reveal causal effects. The results show that DT use had significant causal effects on all outcome indicators. The technology decreased MFI by 0.31 months, representing an 18% increase in the duration of food availability. On average, adopters of DT would have spent about ten full days per year without three meals had they not used such technologies. The technology also decreased HFIAS by 0.7 units, representing a 26% gain on the food access scale. DT also significantly increased consumption: adopter households would have forfeited US$ 7.82 and US$35.96 on food and total consumption expenditures, respectively, had they chosen not to use the technology.Footnote 3 These consumption expenditure gains (food: 26%, total: 112%) could be attributable to improved grain storability and better marketable quality. More food expenditure might mean that households can access diverse foods, including commodities they did not produce.

The adoption of MS had causal effects on consumption expenditures. The monthly food consumption expenditure per capita among adopters of MS increased by TZS 30,297 (US$ 13.17), and the total consumption expenditure increased by TZS 71,367 (US$ 30.03), representing 49% and 68% gains compared to the counterfactual situation. The increase in consumption expenditures is potentially the result of savings on labor costs and income generation from productive utilization of freed time. Contrary to expectation, MS had statistically insignificant impacts on MFI and HFIAS. It is important to note that the main impact pathway through which MS is expected to affect the food security and welfare outcomes is freeing up labor and labor cost savings. This collaborates the positive and significant MS impacts on food consumption and total consumption expenditure. Our results agree with Daum et al. (2020), who reported a perceived increase in financial security and income as farm mechanization's main positive socio-economic effect. With MS, households would have had more time for off-farm activities to generate extra income to buy more food and pay for various non-food expenditures.

AS use had significant causal effects on all four indicators. Food insecurity (MFI) decreased by at least 11 days representing a 27% gain in the duration of food availability, while food access (HFIAS) improved by 24%. The results agree closely with others. Using propensity score matching, Gitonga et al. (2013) reported that metal silo adopters in Kenya reduced the duration of food insecurity by at least one month, Chegere et al. (2020) observed a 31% reduction in HFIAS among hermetic bag adopters in Tanzania. Our results further show significant increases in food (24%) and total (115%) consumption expenditures; the AS adopters would have lost US$ 8.26, and US$ 49.40 in food and total consumption expenditures per capita had they decided not to use the technology. Thus, AS enabled households to have a stable supply of own-produced food and higher incomes from temporal arbitrage, avoided losses, and possibly lower storage costs. Earlier investigations in the study area found the mean per capita economic impact of using AS bags to be US$ 5–14 from both arbitrage (82%) and loss abatement effects (18%) (Kotu et al., 2019). Other authors (e.g. Omotilewa et al., 2018; Ricker-Gilbert & Jones, 2015) reported that effective reduction of storage losses improved productivity by incentivizing farmers to invest in yield-increasing technologies that could contribute to the increased incomes and welfare of households.

Increasing incomes can change consumption patterns. Our results suggest that with the adoption of the technologies, the incomes of households increased, which likewise increased the expenditure on food while expenditure on other items increased even more. The share of household expenditure on food (FCE: TCE ratio) declined by 40%, 11%, and 51% (from 0.92 to 0.55; 0.59 to 0.52; 1.07 to 0.52) among DT, MS, and AS adopters, respectively compared to the counterfactual situation. These declines signaled reduction in households' vulnerability. Smith and Subandoro (2007) categorized households spending > 75% of their total incomes on food as being highly vulnerable and food insecure, and those spending < 50% as having low food insecurity.

5 Conclusions and policy implications

Tanzania’s Agricultural Sector Development Program II: 2017/18–2027/28 (GoT, 2017) prioritizes post-harvest management through promotion and dissemination technologies that encourage better handling and storage of food to achieve food security and improved livelihoods in line with the United Nations Sustainable Development Goals (UN, 2015). This study examined the factors that influence the adoption of farm-level post-harvest technologies and their impacts on households’ food security and welfare in Tanzania. The findings revealed marked differences in the adoption determinants of IPHTs. Generally, large farms, locations in higher potential zones, and neighbor’s use are universal adoption drivers. These observations have implications for policy guidelines leaning towards increased productivity in farms and learning among farmers to increase adoption of the technologies for the targeted benefits. Farm size and potential are related to production scale. Since expanding farmland for food production is unsustainable, options that involve the use of more efficient technologies and management practices should be encouraged. The fact that neighbor’s use encouraged the adoption of the three technologies underscores the importance of neighborhood effects. To this end, stronger integration of progressive farmers to lead promotional programs can speed up the adoption of the IPHTs. The positive influence of group membership on the adoption of DT and AS further points to the importance of strengthening farmer associations as avenues for enhancing adoption.

Limited access to capital and financing options remain significant challenges to agricultural technologies’ adoption among rural farmers (Balana et al., 2020). Access to credit and off-farm income were especially unique determinants for AS adoption because, unlike MS and DT, the acquisition was not open to negotiated arrangements. Engaging in off-farm employment is a strategy for stabilizing household income and supporting agricultural investments (Anang et al., 2020). Other studies have observed that policies to promote the adoption of rural technologies should include mechanisms for breaking barriers to financial services’ access. Concerning formal credit, the traditional focus has been addressing supply-side factors, e.g., improving proximity to credit sources and reducing the cost of borrowing. Balana et al. (2020) have found that demand-side factors such as financial illiteracy and fear of risk (e.g., due to market failure — economic benefits are particularly key as borrowers need enhanced returns to repay) are equally responsible for low agricultural credit use in Tanzania hence polices should focus addressing demand-side constraints as well. Opportunities to increase off-farm income in the rural areas include service provision, value addition, and trade. The decision to engage in off-farm labor market is subject to individual and household characteristics such as the ability to supply off-farm labor. Given the low education levels of farmers in the present study areas, relevant policies would include human capacity development (education) for off-farm labor market participation. However, as already discussed, off-farm engagements can adversely affect decision-making in farm activities, and hence the appropriate models should be found.

The three technologies positively impacted households’ food security and welfare. A synthesis of the associations between the impacts and various household- and farm-level variables shows distinctive trends across adopter and non-adopter households, pointing to potential system-level impacts. With MS, impacts among adopters are driven more by productive factors: production scale (farm size) and investment support factors (access to credit and off-farm incomes). However, among the non-adopters, impacts appear to be driven by factors that simplify social support, including bank account/mobile money ownership and group membership that also expedite social transfers. The impacts of DT and AS among the adopters, unlike the non-adopters, were not driven by socio-demographic (sex, age, education, household size) and locational factors. Therefore, adopting the technologies could enhance social equity and reduce spatial disparities brought about by agroclimatic factors. Further studies should investigate system-level impacts in detail. These include the general equilibrium impacts such as how the interventions affect non-adopting farm households or the welfare of value chain actors downstream, including consumers who are not producers. Moreover, there is a need to unravel the intrahousehold distribution of the benefits, which we did not achieve in this study due to data constraints.