1 Introduction

Research has shown that more than two billion people currently suffer from different forms of micronutrient deficiencies, because they do not have access to healthy and diverse diets (Food and Agriculture Organization [FAO] et al., 2021). This figure is likely to increase due to the COVID-19 pandemic. Micronutrient deficiencies can have severe health impacts with long-term consequences on the well-being of children exposed to unhealthy diets in early life (Bailey et al., 2018; FAO et al., 2021). A large share of the malnourished population is smallholder farmers as reported by the International Federation of Red Cross and Red Crescent Societies (2011). For a long time, the following has been the narrative in the economics literature in the Smithsonian spirit: agricultural specialization and commercialization promote growth and lead to welfare and nutrition improvement. However, this view has been challenged, at least as the axiomatic principle (Carletto et al., 2017; Poole et al., 2013). In addition, it was replaced by a more nuanced perspective that considers the theory of agricultural commercialization and nutrition conceptualizing the household decision to move from subsistence to market production (Barrett, 2008; Pingali, 1997; von Braun, 1995). The view also includes the implications for nutrition through changes in income, the availability of home-produced foods, and gender roles within the household (von Braun & Kennedy, 1994). For instance, given the market risks related to specialized agricultural production (mono-cropping), several studies show that off-farm and on-farm diversification are associated with higher dietary diversity and better nutrition outcomes (Zanello et al., 2019; Di Falco & Chavas, 2009; Jones et al., 2014; Islam et al., 2018; Sibhatu et al., 2018; Muthini et al., 2020). As a result, agricultural commercialization and subsistence farming must not always be considered competing concepts; however, they can, in combination, contribute to achieving the Sustainable Development Goals 2 (SDG 2), which is aimed at achieving zero hunger.

To address market risks and to strengthen the local food production, we have identified home-gardens (small home-adjunct plots primarily for vegetable production) as complementary subsistence agriculture to be an effective strategy to increase the availability of nutritious foods (Galhena et al., 2013; Ruel & Alderman, 2013; Weinberger, 2013; Rybak et al., 2018; Schreinemachers et al., 2016; Bahta et al., 2018; Rahmmohan et al., 2019; Castaneda-Navarrero 2021). Studies on home-gardening are often based on case studies looking at home garden interventions coupled with training programs (Marek et al., 1990; Olney et al., 2009; Schreinemachers et al., 2016; Bahta et al., 2018; Baliki et al., 2019; Depenbusch et al., 2021). Except the works of Bahta et al. (2018) and Depenbusch et al. (2021), few studies provide causal relationship between home-gardening and food security. In addition, the study by Bahta et al. (2018) indicates that participation in home-gardening program significantly reduced food insecurity among rural households in South Africa. However, the study by Depenbusch et al. (2021) did not find any causal relationship between home-gardening and food security, suggesting the need for further empirical investigation into this subject. Furthermore, the nature and size of land acquisition and use are issues that affect agriculture in general and therefore, understanding the heterogeneous effects of participating in home-gardening based on land size might influence agricultural policy as well.

The main objective of this study is to examine the heterogeneous impacts of home-gardening on food security among households in Rwanda. Specifically, the study addresses the following objectives as contributions to the empirical literature. First, the study links the home-gardening literature to the theory of agricultural commercialization, which is often overlooked as a driver of home-gardening participation. Second, we examine, how market access, resource endowment, and market risks relate to the food security benefits of home-gardening. In addition, we consider the interaction between home-gardening and agricultural commercialization, and how this affects household food and nutrition security. For instance, the study by Abdoellah et al. (2020) shows a strong and positive correlation between home-gardening and commercialization among farm households in Indonesia. They however, opine that as markets and policies drive the commercialization of food and farming systems, it becomes more difficult for smallholder farmers to maintain home-garden plots. In this study, we define commercialization as the proportion of harvested crops sold. The study tries to examine the food and nutrition security effect of home-gardening participation regarding different levels of commercialization. The study employs an endogenous switching regression (ESR) model (Bahta et al., 2018; Lokshin & Sajaia, 2004) to assess the drivers of home-gardening participation decisions, and their related impacts on food and nutrition security in Rwanda. The ESR model accounts for selection bias from observable and unobservable farm and household factors.

This study uses three rounds of nationally representative household survey data from Rwanda collected by the World Food Program (WFP) and the National Institute of Statistics of Rwanda (NISR) between March and May, a period in which food purchases are high, in 2012, 2015, and 2018. The survey encompasses all 30 districts of Rwanda with data from several indicators of dietary quality and nutrition at the household and individual levels, and with district-level food prices from WFP’s Vulnerability, Analysis, and Mapping (VAM) database. This study tests the following hypothesis: \({H}_{o}:\) Participation in home-gardening has no significant effect on food and nutrition security; \({H}_{1}:\) Participation in home-gardening exerts significant effect on food and nutrition security. Failure to reject the null hypothesis implies that home-gardening does not impact farm households’ food and nutrition security in Rwanda.

The remainder of the article is structured as follows. Section 2 presents a conceptual framework and literature review. Section 3 discusses the study context. Section 4 presents the empirical strategy and analytical framework. Section 5 presents and discusses the empirical results. Section 6 provides the implications of our results for food security and nutrition policies and programs for developing countries. Finally, Sect. 7 concludes the paper.

2 Conceptual framework and literature review

Home-gardening has a century-long tradition under both moderate climatic conditions and in tropical and sub-tropical areas. The agricultural literature describes several farming systems – home-gardens, homestead farms, kitchen gardens, urban agriculture, etc. – that overlap and relate to home-gardening. Kumar and Nair (2004) describe home-gardening as the oldest land use activity together with shifting cultivation and provide a general definition of home-gardens as “intimate, multi-story combinations of various trees and crops, sometimes in association with domestic animals, around homesteads” (p. 135). This study closely follows a more restrictive definition by Michelle and Hanstad (2004). We define home-gardens as a small plot area located close to the household’s premises containing a high plant diversity, fully or partially committed for vegetables (Kumar & Nair, 2004) and mainly cultivated using family labor (Ferdous et al., 2016). Home-garden production is primarily for auto-consumption and only supplementary to other sources of family consumption.

Previous studies, except for Depenbusch et al. (2021), have shown a positive association between home-gardening and dietary diversity of all household members, particularly women and children (Galhena et al., 2013; Schreinemachers et al., 2015, 2016; Bahta et al., 2018; Baliki et al., 2019; Rammohan et al., 2019; Castaneda-Navarrero, 2021). Yet, the empirical evidence on the associations with nutritional status remains limited (Masset et al., 2012; Ruel and Alderman, 2013). These results have been documented for various contexts in Africa, South Asia, and Latin America. Moreover, these studies emphasize the role of home-gardening in improving the food environment by increasing availability and access to nutrient-rich foods, particularly vegetables. In addition, home-gardening increases food sovereignty by providing stable access to fresh and nutritious food, particularly in times of scarcity in the market (Abdoelllah et al., 2020). Galhena et al. (2013) emphasize that resource-poor families could benefit more from home-gardening than households that have access to land and capital, particularly if they cannot afford expensive nutritious foods (e.g., animal products) to fulfill their nutritional needs. In line with this, Rammohan et al. (2019) observe that home-gardening improves food security and dietary diversity among the landless households in Myanmar.

Figure 1 presents the conceptual relationships between home-gardening and nutrition, and health outcomes mediated by the food environment. Specifically, we aim to understand how local food systems’ characteristics affect the decision to engage in home-gardening and how that could positively affect the food and nutrition security outcomes. The potentially endogenous relationships outlined need to be addressed by the econometric approach that allows sufficient identification of the associations between home-gardening and nutrition outcomes. Besides these direct impacts on diets and nutrition, home-gardening could also positively affect environmental quality, preservation of biodiversity, and ecosystem services (Lal, 2020; Galhena et al., 2013). Notably, from a policy perspective, food system disruptions always have strong negative effects on the food environment. Therefore, in some instances, home-gardening could contribute to food system resilience by buffering market shocks to the local food environment. For instance, Galhena et al. (2013) emphasize that home-gardening is a viable option in post-conflict situations, when food systems are dysfunctional and must be rebuilt. Moreover, Seeth et al. (1998) show that home-gardens provide access to nutritious foods in the face of transformation risks when labor is not yet efficiently allocated. Meanwhile, Lal (2020) argued that the COVID-19 pandemic has created widespread disruptions in food supply chains and home gardens, particularly in urban areas. Home-gardening can overcome such short-term supply shortages.

Fig. 1
figure 1

Food system framework for the relationship between home-gardening and nutrition

This study focuses on home-gardens’ effects on diets, and nutrition because of the potential effects of home-gardening production diversity (Sibhatu et al., 2015; Sibhatu & Qaim, 2018; Islam et al., 2018). For instance, Baliki et al. (2019) examined an integrated home-garden intervention in Bangladesh and ascertained an increase in the supply of the following important micronutrients including iron, zinc, folate, and pro-vitamin A. Given these findings, several countries, including Ethiopia (Hirvonen & Headey, 2018), Cambodia (Schreinemachers et al., 2018), Bangladesh (Baliki et al., 2019; Schreinemachers et al., 2015), and South Africa (Bahta et al., 2018), have implemented large-scale home-garden promotion programs.

Despite the multiple benefits of home-gardens, it is neither economic nor efficient if all households, irrespective of the characteristics of the food system and the food environment, practice home-gardening to produce their own food. For instance, Castaneda-Navarrero (2021) finds that the association between the participation in home-gardening practices and food security indicators varied across the communities in the Yucatán region in Mexico. Meanwhile, Hirvonen and Headey (2018) emphasize the importance of climatic conditions, such as water availability, and the suitability of home-gardening. The household’s own small-scale food production is less beneficial if food systems function well and provide healthy food in a healthy environment at affordable prices. In such situations, rural consumers can rely on the market to obtain nutritious foods, such as vegetables and fruits (Koppmair et al., 2017; Sibhatu & Qaim, 2017). Meanwhile, if market access is limited, generally or during some part of the year, households might lack the opportunity to offer their products or labor to market and access nutritious diets (Bonuedi et al., 2021).

With few exceptions (e.g., Abdoelllah et al., 2020), the existing literature considers household theory and the determinant of smallholder commercialization only implicitly. We follow the analytical framework developed by von Braun et al. (1991) for rural Rwanda to understand the transition of households toward commercialization. Specifically, we emphasize the driving forces behind resource allocation to market versus subsistence production as important factors governing the adoption and potential socio-economic benefits of home-gardening. The model involves a distinction between subsistence farming, market production, and wage earning at resource use. It also considers “determinants, such as risk aversion, tasks, and habits that may motivate a household to maintain a certain degree of self-sufficiency even at the cost of market income forgone” (von Braun et al., 1991, p. 31). The home production, both for subsistence and the market, increases in on-farm productivity and decreases in the market wage rate. Meanwhile, the family composition and associated demand for food and non-food goods can have ambiguous effects on resource allocation between subsistence and market production. In the presence of risks, households may have specific preferences for subsistence and market production. Precisely, risk-averse households will focus on subsistence farming and accept (expected) income losses from market sales. Moreover, lower transactions and a reduction in risks associated with marketing, for instance, through cooperative membership, could reduce the preference for subsistence farming. Finally, improved access to resources, land, labor, and other inputs is expected to increase subsistence and market production, while decreasing the share of subsistence farming. This framework accounts for the endogeneity of farmers’ decision to participate in home-gardening as a means of subsistence farming. It also illustrates under which circumstances home-gardening could have greater benefits, namely, if markets are imperfect (i.e., high market risk, limited market access, and input resources).

Smallholders in Eastern and Southern Africa participate in market sales only to a limited extent; instead, food markets are dominated by larger and wealthier farmers who have access to land, livestock, capital, and improved technologies (Barrett, 2008; Carletto et al., 2017). The empirical literature provides ample evidence for the predictions of the theory of commercialization and the importance of asset ownership, resources, and transaction costs for market participation (Bellemare & Barrett, 2006). Generally, agricultural commercialization and nutrition outcomes are positively correlated (Bolarinwa et al., 2020; Carletto et al., 2017). However, studies also indicate the need to correct market imperfections to enable all farmers to participate and benefit from commercialized agriculture (Shiferaw et al., 2008; Pingali et al., 2019; Weatherspoon et al., 2021).

3 Data and descriptive statistics

We use the Comprehensive Food Security and Vulnerability Analysis (CFSVA) surveys conducted by the WFP and NISR. The CFSVA is a repeated cross-sectional survey collected every three years since 2006 to measure and assess Rwanda’s current state of food and nutrition insecurity (see WFP, 2018).Footnote 1 The regular assessment based on nationally representative data allows us to observe trends in food consumption and anthropometric status of women and children over time. It also allows us to identify demographic determinants of food insecurity and enable socio-economic analysis. For the present analysis, we use the survey waves from 2012 (sample size—10,213), 2015 (11,959), and 2018 (11,378).

A two-stage random sampling procedure was employed in all 30 Rwanda’s districts. First, 30 communities were drawn from each district. Second, 10 households per community were randomly selected. The samples of the CFSVA rounds were drawn to be nationally representative. To achieve the representativeness of the nutrition indicators at the district level, the survey captured the number of children between 5–59 months old in a household as this group accounts for about 15% of the Rwandan population (WFP, 2018). The 2012 and 2018 surveys were conducted in March and April, whereas the 2015 survey data were collected in April and May.

We use the CFSVA data sets because of their comprehensive nutrition module that includes detailed questions on dietary composition and frequency of consumption. It also includes food expenditures at the household level and food group consumption of women and children below five years old. In addition, anthropometric measures of children (e.g., height-for-age, weight-for-age, and weight-for-height) and women (e.g., body mass index [BMI]) are reported. The other questionnaire modules cover all important aspects of household demographics, livelihood activities, farm size, production diversity, market access, and consumption patterns. However, the agricultural module is not as detailed as in agricultural surveys, such as Rwanda’s Integrated Household Living Conditions Survey. For instance, only sales data but no production data are available, and inputs are measured only by dichotomous variables. However, we believe this is tolerable because we do not examine agricultural returns or yields, but we only use these indicators as control variables.

Table 1 presents detailed descriptive statistics of the variables used in the present analysis. In the whole sample, about 62% of the households (composed of about 51% and 65% of urban and rural households, respectively) participate in home-gardening. Noteworthily, the participation rate of home-gardening has slightly increased from 59% in 2012 to 64% in 2018. The mean values of the variables for households that participate and do not participate in home-gardening were provided separately. Moreover, we present the differences in means of home-gardening participants and non-participants and the respective t-value for the mean difference t-test. We utilize the standard nutrition indicators proposed in the literature (FAO, 2010). The Household Dietary Diversity Index (DDS) is measured as the number of food groups consumed by the household within the last seven days out of eight food groups: cereals and tubers, beans, vegetables, fruits, meat and fish, milk, sugar, and oil. The food consumption score (FCS) multiplies the consumption frequency over a week (maximum 7) times the nutritional value weight of the food groups and creates an aggregate. Households with a value above 35 (below 21.5) are considered having an acceptable diet (poor diet) (WFP, 2008). The child DDS score (CDDS) measures the number of food group intake (out of eight food groups) of children within the last 24 h (WHO, 2008). To measure the anthropometric status of children, we examine the height-for-age z-scores (HAZ) using the 2006 WHO Child Growth Standards (i.e., “the WHO standards”) (WHO, 2006). For women’s anthropometric status, we employ the BMI.

Table 1 Mean differences in variables among participants and non-participants in home-gardening

We use the standard socio-economic household and demographic controls based on extensive literature review related to food security and nutrition, home-gardening, and agricultural technology adoption (Table 1). Off-farm is measured as a dummy equals 1 if the household had at least one non-farm livelihood activity. The major control variables include distance to the market, time to water source, and land size, which were measured as categorical variables. Distance to the market and time to water use ranges 1–4 and 1–3, respectively, with 1 indicating the market or water source is in the village. Land size is measured by seven categories; if the household does not own agricultural land, it is denoted by 0.Footnote 2 The commercialization rate is measured as the the share of gross value of crop sales in total gross value of production (Carletto et al., 2017).Footnote 3 The distance to the market has improved since 2012, hence, the majority of households travel less than 60 min only. In line with this, the average commercialization rate has increased from 13.4% in 2012 to 17.3% in 2018. Meanwhile, land sizes substantially reduced over this period. We also combine household-level data with district-level real food prices for beans, cassava, maize, meat, rice, and sorghum obtained from the VAM database. The variable food price index is constructed as the average of these prices.

Home-gardening participants exhibit significantly better nutrition security outcomes and higher child nutrition outcomes than non-participating households. However, the women’s BMI was higher among non-participating versus participating households. Moreover, non-participants exhibited a higher share of food expenditures than participants. A higher household food expenditure share of total household expenditure is an indicator of low welfare status (Engel’s Law); to this extent, participants still perform better in food expenditure share. Although these comparisons give anecdotal information about the differences between households engaging in home-gardening and those not doing so, such comparisons do not consider the effect of confounding factors that could influence households’ decisions to participate in home-gardening. Therefore, we employ the ESR model that controls for both observable and unobservable factors.

Table 1A also shows home-gardening participants and non-participants have group mean differences among several observed variables. For example, gender composition of the home-gardening participants is significantly more male dominated than non-participants. Home-gardening participants are also more likely to be educated, aged, located in urban areas and near the market, engage in off-farm activities, use chemical fertilizers and pesticides, diversified and commercialized, and possess more/less livestock. Furthermore, household and landholding size and likelihood of accessing irrigation, cooperative membership is larger among home-gardening participants. Interestingly, the share of expenditure on vegetables is comparatively lower among the home-gardening participants. It is also evident that diffusions of home-gardening at the community level and among the same age group are significantly higher among the home-gardening participants, which imply the cluster or peer effects of home-gardening participation. The food price index is significantly higher among non-participants than for participants. We relate this observation to the fact that the food price index is much higher for urban households that are less likely to farm a home garden. Therefore, this difference might actually originate from cross-correlations.

4 Analytical framework and empirical strategy

4.1 Home-gardening participation

This section presents the analytical framework and the empirical strategy, describing the decisions of the households to participate in home-gardening, and how participation impacts food and nutrition security outcomes. We begin by modelling the decision to participate in home-gardening under the assumption that farmers are risk-averse and decide to either participate or not to participate in order to maximize expected net benefits (Di Falco et al., 2011). In addition, we assume that the households consist of farmers who may work in their own home-gardens rather than other plots of the households or supply labor to the market. Farmers have limitations in their ability to process new information, based on differences in human, physical, and social capital. That is, they are heterogeneous in their management abilities. In particular, farmers may differ in land availability and land productivity/suitability, financial resources, family size and age of the household head, participation in social gathering, and short-/long-term home-gardening participation. Under this assumption, let the expected net benefits household i derived from the participation in home-gardening be denoted by \({H}_{i}^{*}\). The expected net benefits cannot be observed but can be expressed as a function of observed characteristics represented by a vector \({{\varvec{X}}}_{i}\). We specify the home-gardening participation decision problem in a latent variable model as

$${H}_{i}^{*}={\alpha X}_{i}+ {\varepsilon }_{i},\ H_i=1\ if\ [{H}_{i}^{*}>0],\ {H}_{i}=0,\mathrm{ otherwise}$$
(1)

where \({H}_{i}\) is an observable binary variable representing the decision to participate (\({H}_{i}=1\)) or not to participate in (\({H}_{i}=0\)) home-gardening; \(\alpha\) is a vector of parameters to be estimated. \({{\varvec{X}}}_{i}\) is a vector of farm-level and household characteristics, access to land, household expenditure share on food, asset holdings, and engagement in off-farm activities. The error term \({\varepsilon }_{i}\) is assumed to be normally distributed and uncorrelated with \({{\varvec{X}}}_{i}\). The probability that a farmer participates home-gardening can be expressed as

$$Pr({H}_{i}=1) = Pr({H}_{i}^{*}>0) =pr\ ({\varepsilon }_{i}>-{\alpha X}_{i} =1-F(-{\alpha X}_{i})$$
(2)

4.2 Impact of home-gardening

Given that this study examines the drivers of participating in home-gardening and the impact of participation on food and nutrition security, we represent the outcome equation as

$${Q}_{i}=\gamma {\mathrm{\rm K}}_{i}+\delta {H}_{i}+{\mu }_{i}$$
(3)

where \({{\varvec{Q}}}_{i}\) refers to the vector of food and nutrition security outcomes captured here as DDS, CDDS, FCS, HAZ, BMI, and household expenditure share on food (FES). \({H}_{i}\) is as defined earlier, and \({\mathbf{K}}_{i}\) is a vector of explanatory variables that include household-level characteristics and location (district) fixed effects. Moreover, \(\gamma\) is a vector of parameters to be estimated, whereas \({\mu }_{i}\) is the error term assumed to be uncorrelated with both \({\mathbf{K}}_{{\varvec{i}}}\) and \({H}_{i}\). The parameter \(\delta\) captures the impact of participation on household food and nutrition security outcomes. However, estimating the impact of home-gardening using Eq. 3 could result in biased estimates, because it assumes that farmers’ decision to participate is exogenous, but it is endogenous because the decision to participate is self-determined (Heckman, 1979). Households that decide to participate in home-gardening may also be systematically different from those that do not participate. In addition, unobservable factors influencing the participation decision may also affect the food and nutrition security outcomes, resulting in inconsistent estimates of the parameters \(\gamma\) and \(\delta\).

To account for the selectivity bias due to observable and unobservable factors, we employ a simultaneous equation model with endogenous switching, where the food and nutrition security outcomes of households (i.e., DDS, FCS, WDDS, HAZ, and FES) are specified in two regimes:

$$\mathrm{Regime\ 1}:\ {Q}_{i1}={\gamma }_{1}{\mathrm{K}}_{i}+{\mu }_{i1}\qquad{if}\ \qquad{H_i=1}$$
(4)
$$\mathrm{Regime\ 2:}\ {Q}_{i0}={\gamma }_{0}{\mathrm{K}}_{i}+{\mu }_{i0}\qquad{if}\qquad{H_i=0}$$
(5)

where \({{\varvec{Q}}}_{i1}\) and \({{\varvec{Q}}}_{{\varvec{i}}0}\) are the food and nutrition security outcome variables for participants and non-participants, respectively. Meanwhile, \({\mathbf{K}}_{i}\) is a vector of the aforementioned farm and household-level characteristics.

Because farmers self-select into participant and non-participant categories, the covariances between the error terms of the participation decision (Eq. 1) and the outcome (Eqs. 4 and 5) may be non-zero (i.e., corr(\({\mu }_{ij}{\varepsilon }_{i})=\rho\)). We subsequently estimate selectivityFootnote 4 corrected model of food and nutrition security outcomes, given the home-gardening participation:

$$E({Q}_{i1}|{H}_{i}=1)={\gamma }_{1i}{\mathrm{K}}_{i}+{\sigma }_{1\varepsilon }{\lambda }_{1i}$$
(6)

The expected \({\varvec{Q}}\) value of farmer \(i\) if he had chosen not to adopt (counterfactual case) is

$${E(Q}_{i0}\left|{H}_{i}=1\right)={\gamma }_{0i}{\mathrm{K}}_{i}+{\sigma }_{0\varepsilon }{\lambda }_{1i}$$
(7)

where \({\lambda }_{1i}\) and \({\lambda }_{0i}\) refer to the inverse Mills’ ratios (selectivity terms), and \({Q}_{i}\) and \({H}_{i}\) are as defined already. Meanwhile, \({\sigma }_{1\varepsilon }\) and \({\sigma }_{0\varepsilon }\) represent the covariances of the error term \({{\varvec{\varepsilon}}}_{i}\) in the participation equation and that of \({u}_{1i}\) and \({u}_{0i}\) in Eqs. (4) and (5), respectively. A change in the outcome due to participation, which is termed the average treatment effect on the treated (ATT), is expressed as the difference in the expected outcomes between Eqs. (6) and (7) (Lokshin & Sajaia, 2004):

$$\mathrm{ATT}=E({Q}_{1i}| {H}_{i}=1)-E({Q}_{0i}\left| {H}_{i}=1\right)=({\gamma }_{1i}-{\gamma }_{0i}){K}_{i}+{\lambda }_{1i}({{\sigma }_{1}}_{\varepsilon }-{{\sigma }_{0}}_{\varepsilon })$$
(8)

An additional concern in estimating the participation equation is the potential endogeneity of the off-farm work participation variable. This is because income earned from off-farm work can be invested in technologies or yield enhancing inputs that make home-gardening more attractive. However, engaging in off-farm work may lead to reduced time allocation to on-farm practices (labor-loss effect). In addressing this potential endogeneity, we use the control function (CF) approach outlined by Wooldridge (2015) to address this problem. The approach involves the specification of the potential endogenous variable (i.e., off-farm work participation) as a function of other explanatory variables in the home-gardening participation equation (Eq. 1), with a set of instrument(s) in a first-stage regression. In the second stage, the observed values of off-farm work participation variable and the residuals from the first-stage probit regression are included as covariates in Eq. (112571). The inclusion of the residuals serves as a CF, enabling consistent estimation of the potentially endogenous variable and serving as a robust test of exogeneity of the off-farm work participation variable (Wooldridge, 2015).

In estimating the ESR count data model, finding a set of suitable exogenous variables during the simultaneous estimation of the treatment (home-gardening participation) and outcome equations is necessary in identifying Eqs. (4) and (5). A suitable identification strategy is to employ a variable that significantly influences the decision to participate but does not directly influence food and nutrition security outcomes. The variables we used as instruments are cooperative membership, the diffusion of home-gardening at the community level, and the diffusion of home-gardening among the age group of the household heads at the district level. Cooperative membership has been observed to affect farmers’ participation decisions directly (e.g., Abebaw & Haile, 2013; Ma & Abdulai, 2016). Furthermore, the diffusion of home-gardening among age cohorts at the household level might influence the spread of participation among households. We conducted a placebo regression to confirm the admissibility of these instruments.

Although cooperative membership appears to meet the exclusion restriction in the model, some real-life situations may affect its suitability as an instrument. For instance, one might argue that, in some real situations, the variable could influence the farm household probability of increasing production and thus food and nutrition security. In addition, farmers who have access to nutrition information through cooperative membership or age cohorts may adjust input levels and techniques throughout the season to deal with the weather, which would affect farm revenue or dietary choices. These possibilities were however, absent in our case, as confirmed by the falsification tests of these instruments (See Table 9 in appendix). The instruments were sufficient for identification and were therefore excluded. In the CF approach, we used distance to market as an instrument in the first-stage regression of off-farm work participation. This variable was therefore excluded from the selection and outcome equations during the estimation.

5 Results and discussion

5.1 Drivers of home-gardening participation

Table 2 presents the drivers of a household’s decision to participate in home gardening. These results are obtained from the probit component (first-stage) of the ESR model. The Wald statistics indicate an acceptable model fit. Moreover, the model’s potential endogeneity of off-farm work participation is confirmed as indicated by the moderately significant (at 10% margin of error) residual (Off_farmresid).Footnote 5

Table 2 Drivers of home-gardening participation

From the results, household socio-economic variables, such as household size and the head’s level of education, were positively and significantly associated with the household’s decision to participate in home-gardening. In addition, female household heads were significantly more likely to participate in home-gardening than male household heads. The significant correlation between household size and home-gardening participation is also consistent with the findings of Mufeeth et al. (2021), who observed family labor as a critical source of labor supply for cultivating home gardens. In addition, Gbedomon et al. (2015) observe a strong correlation between education and the gender of the household head and the probability of owning a home garden in Benin. Educated farmers may have better access to information and a more profound understanding of the nutritional and other benefits of home gardening; they can also transform new information more quickly and effectively (Foster & Rosenzweig, 2010). Galhena et al. (2013) find that the gender dimension of home-gardening is culture-specific and varies across countries. In line with several other studies (e.g., Kabir & Webb, 2009; Gbedomon et al., 2017; Rybak et al., 2018), we observe that female-headed households are more likely to participate in home-gardening in Rwanda. Specifically, female-headed households are 8.5% less likely to cultivate home gardens. The effect is relatively moderate, which may be due to the equal split of vegetable farming between male and female members of the household in Rwanda. This result is also in line with the adoption of nutrition-sensitive agriculture, which claims that women are the drivers of nutrition-sensitive agriculture change (Rukmani et al., 2019). Among the input variables, only access to fertilizers was positively and significantly associated with home-gardening participation. Interestingly, livestock ownership, expressed in tropical livestock units (TLU) (a proxy for household wealth), positively and significantly influenced household decisions to practice home gardening, a finding that is consistent with Bahta et al. (2018). This association could be related to wealth represented by livestock ownership, but complementarity also exists between livestock rearing and home-gardening, as manure is often used to fertilize home-gardens.

We also ascertain a significant correlation between land ownership and home-gardening participation. Specifically, households in all land ownership categories are more likely to participate in home-gardening than landless households with households who own more than 0.5 ha of land, showing more likelihood. The distance to market was not significantly related to home-gardening participation, which corroborates the finding of Bahta et al. (2018) but not that of Hirvonen and Headey (2018), who observe that better market access encouraged home-gardening participation in Ethiopia. Similarly, we do not find a significant relationship between the commercialization rate and home gardening participation. The absence of a negative correlation between commercialization and home-gardening emphasizes that subsistence farming and commercialization are not contradictory. Our result on the effect of commercialization is different from that of Abdoellah et al. (2020), who observed a high level of commercialization of home-gardens in Indonesia. However, in our sample, 98% of the households reported using the home-garden produce for home consumption. We also find that households that had an off-farm livelihood activity are more likely, although not statistically significant, to participate in home-gardening. The coefficient of the variable number of crops is positive and statistically significant, implying that crop diversification also drives home-gardening participation, all things being equal. This finding is consistent with that of Gbedomon et al. (2017), who noted that production diversity is among the important functions of home-gardening in Africa.

Furthermore, we find a positive correlation between home-gardening participation and the food price index. This implies that higher market prices for staple crops could also influence farmers’ decisions to minimize market risks and use available land around the household to produce nutritious foods. Last but not the least, most of our findings on drivers of home-gardening participation (e.g., family size, education, farm size, access to market, and livestock ownership) also corroborate with the broader agricultural technology adoption determinants (Feder et al., 1985; Feder and Umali, 1993). In summary, we find evidence for the hypothesis that home-gardening fulfills a risk management strategy, particularly for households with limited access to land.

The results also show that all instruments are statistically significant in the home-gardening participation model, suggesting the relevance of these instruments. Specifically, cooperative membership positively and significantly influences households’ decisions to participate in home-gardening, implying that belonging to a cooperative, especially farmers’ cooperative, could serve as a major source of information that could influence household decisions about home-gardening, as shown by several other studies (e.g., Di Falco et al., 2011; Ma & Abdulai, 2016). Furthermore, diffusion of home-gardening among cohorts at the village level (mean_garden) and among age groups (mean_age) significantly drives home-gardening participation. Intuitively, these instruments are less likely to influence home-gardening participation through the extent of diffusion directly and thus farmers’ knowledge about the benefits of home-gardening among the households. We believe that these variables do not directly affect household or child nutrition outcomes. Therefore, the instruments were excluded from the outcome equations in the ESR model. Specifically, the variable cooperative positively and significantly influences household decision to own a home-garden, implying that belonging to a cooperative, especially farmers’ cooperative group could serve as a major source of information that could influence households decisions about home-gardening. Furthermore, diffusion of home-gardening among cohorts at the village level (mean_garden) and among age groups (mean_age) significantly drive home-gardening participation. Intuitively, this instrument likely influences participation in home-gardening directly, but not household or child nutrition outcomes.

5.2 Impact of home-gardening on food security and child nutrition

This section discusses the results of the impacts of home-gardening on food and nutrition security. This is obtained by the treatment effects on the treated (ATT), measured as the mean difference between the expected outcome of participants of home-gardening and what they would have obtained if they had not participated. We focus on discussing these ATTs in the interest of brevity. The results are presented in Tables 36. However, the drivers of the food and nutrition security outcomes are presented in Tables 7 and 8 in the appendix, but are not discussed. The results reveal significant correlation coefficients (rho) associated with CDDS, WBMI, and FES for the participant category, which indicates the presence of selectivity bias, and justifies the use of the ESR approach in this study.

Table 3 ATT of home-gardening participation: pooled data and by location

Table 3 presents the impact (ATTs) of home-gardening on DDS, CDDS, FCS, women’s BMI (WBMI), HAZ, and FES. As shown, participation in home-gardening exerts a positive and significant impact on all the food and nutrition security outcome variables at least at the 1% level except FES. In particular, participation in home-gardening significantly contributes about 4.6% and 5.4% increase in FCS and DDS, respectively, compared to non-participation. The gain in CDDS associated with participation is even much higher (12.7%), relative to non-participation. The results also reveal similar effects for the anthropometric outcomes: WBMI and HAZ. We find that children living in households that cultivate home gardens gain about 0.07 standard deviations in height for their age, whereas WBMI was averagely 0.28 points higher than households without home gardens. Lastly, in line with our expectations, participation in home-gardening significantly reduces FES by about 2.8% as compared to non-participation.

These findings are consistent with the general view that home-gardening is positively associated with improved dietary diversity reported in previous nutrition-sensitive studies (e.g., Ruel & Alderman, 2013), and home-gardening studies in Mexico (e.g., Castañeda-Navarrete, 2021), in South Africa (e.g., Bahta et al., 2018), in Maynmar (e.g., Rammohan et al., 2019), and in Bangladesh (e.g., Bushamuka et al., 2005; Schreinemachers et al., 2016). Moreover, our findings imply that home-gardening holds great potential for improving household and child nutrition outcomes, such as WBMI and HAZ. However, these findings are contrary to that of Depenbusch et al. (2021), who observed no statistically significant effect of home-gardening on diets in Kenya, Uganda, and Tanzania.

Conversely, results also show a decrease in the share of household food expenditure (FES) by up to 2.8% among participants in Rwanda, which is in line the theory that an increase in household income (expenditure) decreases the percentage share on food, all other factors remaining constant (Grigg, 1994). This is also consistent with the findings of Schupp and Sharp (2012) and Brown and Kulcsar (2001), who observe that participation in home-gardening may be largely motivated by economic necessity and an adaptive strategy, particularly among low-income households.

5.3 Heterogeneous impacts of home-gardening on food and nutrition security

As aforementioned, the estimation of ATT assumes common treatment effects. However, treatment effects can vary in terms of socio-economic groups, including, income, poverty, geographical location, and access to resources, within the same treatment group (Ali and Abdulai, 2010; Tambo et al., 2021). Here, we identify whether the treatment effect on food and nutrition security, varies by location (rural/urban), land size/plot ownership, the extent of commercialization (proportion of the harvest sold), and price levels. In Table 2, we show that land/plot ownership, the extent of commercialization, and price levels have differential effects on home-gardening participation. Therefore, we disaggregated the ATT based on these variables to determine whether all these categories of participants achieve similar or differential benefits from home-gardening. The results are presented and discussed in the following subsections.

5.3.1 Heterogeneous impact of home-gardening by location (Rural/Urban)

Table 3 shows the ATT disaggregated by rural–urban dichotomy. The results show that home-gardening participation is significantly associated with improved food and nutrition security outcomes for all households regardless of their location. However, the magnitudes of the ATTs generally point to a greater impact of home-gardening participation among rural households, suggesting a higher likelihood of home-gardening participants in rural areas benefiting more from improved household and child dietary quality and FCS. Specifically, although participation has resulted in 5% increase in FCS among the ATT in rural households, the increase in FCS among urban households is about 3%. In the case of DDS, the change is 6.6% for rural households, whereas that of urban households is about 3.8%. Conversely, child HAZ score and women BMI are better for home-gardening participants in urban areas than those in rural areas. Furthermore, the FES associated with participating households in rural areas declined by 3.5%, whereas those in urban households increased marginally (< 1%). These findings are consistent with that of Bahta et al. (2018) in rural South Africa where home-gardening led to about 45% decline in food insecurity.

5.3.2 Heterogeneous impacts of home-gardening by land sizes/land ownership

Table 4 presents the results of the impacts of home-gardening on food and nutrition security based on land sizes. This is necessary because land ownership is assumed to be a key determinant of households’ decision to participate in home-gardening as indicated by its positive and significant effect on the probability of participating in home-gardening (Table 2). Interestingly, concerning DDS and FCS, irrespective of landholding categories, all households benefited from the participation in home-gardening.

Table 4 Impacts of home-gardening participation on food and nutrition security by land sizes

Even participating households that do not own land significantly obtained improved nutrition compared to non-participants. This observation is important and signifies the essential role of home-gardening in minimizing food and nutrition insecurity even among the landless. Similarly, results reported from Maynmar indicated significant effect of home-gardening on improve food security and dietary diversity among the rural landless households (e.g., Rammohan et al., 2019). Furthermore, the impact of home-gardening on child HAZ score varies over land size, with the landless and near landless (0–0.1 ha) households experiencing higher HAZ scores. These results imply that home-gardening is a potential intervention for reducing child stunting among the resource poor and vulnerable households in developing countries. WBMI shows an inverted U-shaped relationship with landholding among the home-gardening participants. Food expenditure share (FES) shows a significant decrease among participants of different land holding categories. This implies that home-gardening can be used to achieve enhanced welfare through a decrease in household consumption expenditure share on food.

5.3.3 Home gardening, food and nutrition security, and extent of commercialization

Table 5 presents the results on the impact of home-gardening disaggregated by the extent/level of commercialization (i.e., 0%, 1–25%, 25–50%, and more than 50% level of commercialization) on food and nutrition security.

Table 5 Impact of home-gardening on food and nutrition security by extent of commercialization

The results show that although participation impacts on most food and nutrition security indicators (DDS, CDDS, and FCS) consistently increase with increasing level of commercialization, the effect of home-gardening participation on the FES decreased. This finding is consistent with a priori expectation, suggesting that participation in home-gardening combined with an effective level of commercialization (e.g., efficient markets) could enhance various dimensions of household and child nutrition. This result is consistent with agricultural commercialization literature that emphasizes enhancing market access to make smallholders more nutrition-sensitive (Carletto et al., 2017; Ogutu et al., 2020; von Braun & Kennedy, 1994). Therefore, rather than substituting commercialization, home-gardening impacts on food and nutrition security increases with increasing level of commercialization, confirming the complementarity hypothesis.

5.3.4 Home gardening, food and nutrition security, and proximity to markets

The results in Table 6 show the impact of home-gardening on food and nutrition security and its nexus with market proximity (minutes in walking to the nearest market). At different market proximity levels (farmgate/village level) to distant markets, it takes > 120 min to the market. Specifically, although participants’ FCS and DDS increased in different markets (nearby or distant markets), their FES decreased, suggesting the potential of home-gardening to enhance market participation and improve food and nutrition security. Therefore, in developing countries, where food access can be a problem due to poor market access, home-gardening can supplement food supply and hence, improve food and nutrition security. This finding is consistent with that of Abdoellah et al. (2020), who indicated that during periods of income shortfall, home-gardens that produce for markets could provide a stable source of fresh and nutritious food for households in Rwanda.

Table 6 Impact of home-gardening on food and nutrition security by market distances

6 Conclusions and policy implications

The level of food and nutrition insecurity in sub-Saharan Africa is a major concern, and remains an important development challenge for African policymakers and the international development community. In this study, we provide results on the impact of home-gardening on food and nutrition security in different market settings and for different household types. We used Rwanda as a case study to understand how home-gardening could influence food and nutrition security. We employ an ESR model to a nationally representative dataset with diverse food and nutrition security information from Rwanda. The results show that households that cultivate home-gardens have more diverse diets and better nutritional outcomes than those who do not cultivate home-gardens. These benefits are greater even if households have limited access to land and live further away from markets. By contrast, we ascertain that the benefits of home-gardening are positive irrespective of the level of participation in commercial agriculture. This implies that all categories of commercial farmers could successfully practice home-gardening as a risk management tool against market imperfections. Meanwhile, the results revealed that variables such as education, farm size, access to irrigation, livestock ownership, agricultural diversification, cooperative membership, and price positively and significantly influence the participation in home-gardening in Rwanda. The policy implication is that enhancing access to small-scale irrigation and facilitating access to markets and education are essential to the establishment of home-gardens in Rwanda.

From a food system’s perspective, both urban and rural participants in home-gardens could achieve food and nutrition security. This implies that promotion of domestic food sovereignty and sustainable system in the context of limited land could be achieved through home-gardening. In addition, this study contributes to the wider literature on the agricultural commercialization of smallholder farmers in sub-Saharan Africa. Specifically, we observe that home-gardening and agricultural commercialization could be complementary even with limited market access. Last, we add to the policy debate in Rwanda that has focused on promoting agricultural commercialization through its agricultural policies, particularly the Crop Intensification Program,Footnote 6 in showing that subsistence farming alongside smallholder commercialization can achieve progress in reducing malnutrition in the country.

The findings have important policy implications for food and nutrition security in developing countries. First, policymakers need to pay more attention to home-gardening as it enhances the availability of nutritious foods, particularly where markets are imperfect. Second, existing agricultural programs must consider smallholders’ desire to maintain a certain level of subsistence farming such as home-gardening as a strategy to ensure food sovereignty and cultural independence regarding indigenous foods. For instance, input subsidy and distribution programs could be expanded to include vegetable crops and agricultural extension services, including agricultural training for home-gardening food production. Furthermore, in the medium to long term, supporting homestead vegetable production could create incentives among farmers to engage in commercial production that offers great potential to the agricultural sector in Rwanda. The positive impact of home-gardening on nutritional outcomes supports Masset et al.’s (2012) argument that households that grow their own food enjoy better food security and nutrition security. The positive impact of home gardening on food and nutrition security calls for both participating and non-participating households in Rwanda to embrace home gardening as a way of augmenting their food and nutrition security needs. This study is limited in revealing information on how smallholder farmers’ resource allocation between subsistence and market production, as well as the role of subsistence farming in risk management in the presence of market imperfections. In this context, home-gardening interventions in different contexts and in combination with agricultural commercialization programs could be rolled out to understand the interactions and to utilize synergies and complementarities of subsistence farming and commercialization.