1 Introduction

The rapid global increase in population, urbanization and climate change have major consequences for global food production and food security (FAO 2009). The world’s population is expected to reach over 9 billion by 2050, whereas existing statistics indicate that over 600 million people globally have inadequate access to quality food (Sasson 2012). In South Africa, hunger and food insecurity is more acute among rural households (Van Zyl and Kirsten 2010). Consequently, the South African government and stakeholders in the agricultural sector have implemented HFG programmes to address food insecurity and hunger (Du Toit et al. 2011; Pienaar and Fintel 2013). The HFG programme is one of the strategies under the South Africa and Integrated Food Security Strategy (SAIFSS) (DAFF 2014).

HFG is defined as a farming system, which combines different physical, social and economic functions on an area of land around the family home to produce food commodities such as vegetables (Galhena et al. 2013). The HFG programme in the Gauteng province of South Africa came into existence in 1997 and was one of the projects identified as the government’s response to food insecurity, poverty, hunger and malnutrition. It also seeks to increase the income of households through sales of surplus production. The main aim of the programme is to ensure food security for everyone in Gauteng province. The HFG programme targets the most vulnerable groups, namely elderly, women, youths, people living with disabilities and HIV/AIDS, the unemployed and military veterans in Gauteng’s urban and peri-urban areas. Participation in the programme is therefore not randomised and consequently an impact evaluation of such a programme requires methodology that accounts for selection bias. The programme offers training in vegetable production and provides beneficiaries with production packages that enable them to produce food to feed their families and sell surplus production in order to generate an income (Rudolph 2012).

Specifically, beneficiaries receive some training in the practice of HFG as well as starter packs according to the Gauteng Food Security Standard of Operation Programme (SOP). Training lasts 3 working days. After successful participation in the training part of the programme, starter packages are given to the participants (DACE 2002). Packages include a spade, fork, rake, hand hoe, two 30 dcm3 bags of compost, a 10-l watering can and six types of seeds (spinach 10 g, beetroot 10 g, onion 7 g, carrot 8 g, beans 15 g, and tomato 2.5 g) (GADS 2006). Only one starter pack per household is given, even if more than one person from a household participates in the training programme. Beneficiaries of the programme attend meetings with the local leadership (ward councillors, ward committees, etc.) and the programme implementers in order to discuss the sustainability of the programme. Public meetings are also held to explain the benefits of the programme to community members and to motivate people to participate in the programme.

Advocates of HFG argue that the system is well adapted to local agronomic and resource conditions, and to cultural and food preferences. Thus HFG is regarded as a sustainable agricultural practice for improving food security and nutrition in rural areas, and enhancing economic growth (Galhena et al. 2013). Moskow (1996) has further argued that a food production system, which is controlled by households is more reliable and sustainable than nutrition interventions, which primarily rely on government goodwill and financial support. Some studies in South Africa have revealed that HFGs contribute to vitamin A intake among children and supplement household food and income (Faber et al. 2002; Nkosi et al. 2014), as well as boosting nutritional security (Faber et al. 2011). From a global perspective, participation in HFGs have a significant impact on nutrition and food security (Bushamuka et al. 2005; Schreinemachers et al. 2016). Bushamuka et al. (2005) and Schreinemachers et al. (2016) showed that participation in a homestead gardening programme in Bangladesh helped to control vitamin A deficiency and also addressed micronutrient undernutrition. Galhena (2012) investigated the role of home gardens in enhancing food security in Sri Lanka and found that home gardens offer households a diversity of fresh and nutritionally rich food products which increased their food security status. Nonetheless, the participatory decision of households, the determinants of households’ participation in HFGs and their impact on households food insecurity status have not been rigorously explored, particularly in South Africa. Therefore, existing information on the determinants and impacts of an HFG programme is not sufficient to guide policy decisions in achieving rural household food security. Although some authors have related HFG interventions to food security, they principally employed descriptive analysis, which is less rigorous in providing relevant and in-depth policy information (Maroyi 2009; Talukder et al. 2000; Tho Seeth et al. 1998; Trefry et al. 2014).

Hence, the objective of this study was to rigorously determine the factors that influenced rural households’ decisions to participate in an HFG programme. The impact of an HFG programme on food insecurity among rural households in the Gauteng province of South Africa was assessed and the determinants of food insecurity among participating and non-participating households was explored. Two parametric impact-modelling techniques (endogenous switching regression and propensity score matching) that accounted for selection bias were employed. Overall, the study provided relevant information required for policy decision makers to make efficient modifications to existing policies. Subsequently, the sustainable dimension of HFGs (e.g. poverty alleviation and food security improvement) was increased and is complicit with the post-2015 development agenda for sustainable development goals, which seeks to end poverty and hunger. To the best of our knowledge, this is one of the first studies to examine the impact of HFGs on food insecurity, accounting for the selectivity effect arising from both observed and unobserved factors.

2 Material and methods

2.1 Conceptual framework

Figure 1 provides a conceptual framework that summarises the causality effects of participation in HFGs on food security. As depicted, individuals’ decisions to participate in the HFG programme were influenced by a number of factors such as socioeconomic, institutional, asset endowments, and the individual’s perception of the benefits associated with the programme. Participation in an HFG programme together with socioeconomic, institutional and asset endowments determined the food security of an individual household. Participation in HFGs was expected to increase food production of the participants, and hence, increase their food security (Faber et al. 2011; Galhena et al. 2013; Nkosi et al. 2014). The socioeconomic variables included in the empirical models were age, education, household size, gender, income, land size, labour and participation in off-farm activities (Abdulai and Huffman 2014; De Cock et al. 2013; Huffman 2001; Koundouri et al. 2006; UNWFP 2006). The institutional variables hypothesized to influence participation in an HFG programme encompassed access to extension, credit, support, social network, distance to nearest market and access to market (Abdoulaye and Sanders 2005; Alam et al. 2012; Bandiera and Rasul 2006; Kassie et al. 2011). Household asset endowments such as livestock and farm implements can be used as proxies for household wealth (Abdulai and Huffman 2014). Two main impact evaluation methods, namely endogenous switching regression and propensity score matching were employed to quantify the impact of participation in HFG programmes on food security. Additionally, the framework showed that perception of the HFG programme by households had a direct impact on their participation, which in turn influenced their household food security status. It is worth noting that perception did not directly influence the food security status of households (Abdulai and Huffman 2014; Ntow et al. 2006).

Fig. 1
figure 1

Conceptual framework for causality of HFG programme on food security

2.2 Empirical strategy

Before an individual participated in the HFG programme, he or she first gathered background information about the programme by consulting extension officers and learning from other farmers, as well as after participation (Genius et al. 2014). We denoted the production function of the HFG as:

$$ {y}_i=f\left({K}_i^v,{l}_i^w,{G}_i\right) $$
(1)

where y i represented crop production; \( {K}_i^v \) was a vector of farm inputs such as weedicide, seed, fertiliser, and pesticides; \( {l}_i^w \) denoted irrigation water, given that South Africa is one the driest countries in world (Department of Water Affairs 2013) and G i represented an irrigation farming technology index. Crop production (y i ) contributed significantly to households’ food production and income, which in turn reduced food insecurity. However, non-participants or individuals participating in the HFG programme for the first time may not have been able to precisely quantify the actual benefits they obtained from participating in the programme. In this paper, we assumed that individuals reduced their uncertainty about the HFG programme by consulting extension officers and other participating farmers. Therefore, in our theoretical framework, we assumed that individuals’ decisions whether or not to participate in the HFG programme were informed by their expectations about the contribution of the programme to their food production and security.

Based on this assumption, we denoted the net benefit that an individual i derived from participating in the HFG programme by ϖ H and the net benefit from non-participation as ϖ NH . An individual was expected to participate in the HFG programme if the utility derived from it in terms of reduction in food insecurity exceeded that of non-participation (ϖ H  > ϖ NH ). This translated into a binary choice, which was examined using a binary choice model. The two choice scenarios are represented as:

$$ {\varpi}_H=X{\beta}_{H_i}+{\varepsilon}_{H_i} $$
(2)
$$ {\varpi}_{iNH}=X{\beta}_{iNH}+{\varepsilon}_{iNH} $$
(3)

where X i was a vector of socioeconomic, institutional and programme characteristics; β H and β NH were parameters to be estimated; and ε Hi and ε NHi were random disturbance terms. The actual contribution of the programme to food security was not known to the researcher. However, the characteristics of participants and the programme itself were known during the survey. We represented the contribution of the HFG programme to food security by a binary dependent variable \( {Y}_i^{\ast } \). \( {Y}_i^{\ast } \) was expressed as a function of the observed characteristics vector X i . The observed characteristics were represented by Z. The latent model was specified as:

$$ {Y}_i^{\ast }={\delta}^{\hbox{'}}{Z}_i+{\mu}_i,\kern0.5em {Y}_i=1\left[{Y}_i^{\ast }>0\right] $$
(4)

where Y i was a binary dependent variable that equaled 1 for individuals who participated in the HFG programme, and zero otherwise. δ was a vector of parameters to be estimated. μ was the error term with zero mean and constant variance. Z consisted of factors such as an individual’s age, educational level, gender, extension, market access and perception. However, Koundouri et al. (2006), and Abdulai and Huffman (2014) stated that there are endogeneity problems associated with explanatory variables such as extension visits and non-farm work. Hence, we addressed the potential endogeneity problem by expressing extension visits and non-farm work as functions of all other exogenous variables in the participation eq. (4), plus a set of instruments (Koundouri et al. 2006). This was specified as:

$$ {Pe}_i={\lambda}^{\hbox{'}}{X}_i+\tau {K}_i+{\xi}_i $$
(5)

where Pe i was a vector of extension contacts and non-farm work, X is as defined above, and K i represents the set of instruments that is correlated with the endogenous variables. It is worth noting that the vector of instruments should not be correlated with the error term (μ) in eq. (4) and was not included in the estimation of the participation eq. (4). The participation equation was then specified as:

$$ {Y}_i^{\ast }={\beta}^{\prime }{X}_i+\mathrm{\hslash}{Pe}_i+{T}_i+{v}_i $$
(6)

where X i was as defined above, Pe i was a vector of observed extension contacts and non-farm work and T i denoted a vector of residual terms obtained from the first-stage estimation of eq. (5).

Since individuals take into consideration the expected outcome of their choice of participation in an HFG programme, their choice of programme should be considered when analysing the impact of the programme on food security in order to avoid a selectivity effect (Pitt 1983). The selectivity effect will cause individuals, whose food security statuses are below average, to stop participating in the HFG programme, given the characteristics of the programme and fixed factors. This will lead to truncation of the distribution of observed benefits arising from the HFG programme. Theoretically, this occurs when the error terms of the participation (μ) and outcome equation (ε) are correlated (corr(μ, ε) = ρ). This is usually caused by unobserved factors. When the unobserved factors are determined, policy interventions can be implemented to deal with them, while promoting individuals’ participation in the programme with the aim of improving the food security status of the people.

According to Abdulai and Huffman (2014), when the unobserved factors are not captured in estimations, ordinary least estimation procedure will yield biased estimates. Attributing food insecurity among participants to participation in the HFG programme is difficult in cross-sectional surveys since there is no information on counterfactual effects (Dehejia and Wahba 2002). Nonetheless, methods such as the Heckman two-stage estimation and instrumental variable approach have been used to address selection bias, particularly when the correlation between the error terms is greater than zero. However, this approach depends on the restrictive assumption of normally distributed errors, whereas there is also difficulty in finding and identifying instruments in the approach (Jalan and Ravallion 2003; Donkor et al. 2016a).

Based on the above limitations, a propensity score matching approach is regarded as one of the methods for assessing the impact of technology adoption or development intervention in situations where self-selection bias is a problem (Amare et al. 2012). The propensity score estimation procedure stabilises the observed distributions of covariates across the group of participants and non-participants. However, it does not account for selection bias that results from unobservable factors. Therefore, an endogenous switching regression model is appropriate, since it addresses the weakness of the propensity score matching (PSM) technique (Lee 1982).

2.2.1 The endogenous switching regression (ESR) model

The endogenous switching regression model accounts for unobserved variables by considering selectivity as an omitted variable problem (Heckman 1979). Since the food security status in our study was observed for both participants and non-participants, the switching regression model categorised individuals into HFG programme participants and non-participants in order to capture the differential response of the two sub-samples. If an individual chose to participate in the HFG programme, the observed contribution to food security took the form:

$$ {\psi}_{H_i}={X}_i^{\hbox{'}}{\beta}_H+{\varepsilon}_{NHi},\mathrm{if}\ {\mathrm{Y}}_i=1 $$
(7)
$$ {\Psi}_{NH}={X}_i^{\hbox{'}}{\beta}_{NH}+{\varepsilon}_{NH},\mathrm{if}\ {\mathrm{Y}}_i=0 $$
(8)

where Ψ H and Ψ NH were the outcome variables for the HFG programme participants and non-participants, respectively. The vectors β in eqs. (7 & 8) and δ in eq. (4) were associated parameters to be estimated. However, it must be emphasised that variables in vectors X in eqs. (7 & 8) and Z in eq. (4) may have overlapped, and that proper identification required that at least one variable in Z did not appear in X. In such instances, self-selection into the participant or non-participant categories may have resulted in nonzero covariance between the error terms of the participation decision equation and the outcome equation. Therefore, the error terms μ, ε Hi and ε NHi were assumed to have a trivariate normal distribution with mean vector zero and the following covariance matrix:

$$ \operatorname{cov}\left({\varepsilon}_H,{\varepsilon}_{NH},\mu \right)=\sum =\left[\begin{array}{c}{\sigma}_{\varepsilon_H}^2\kern0.5em {\sigma}_{\varepsilon H\varepsilon NH}\kern0.5em {\sigma}_{\varepsilon H\mu}\\ {}\begin{array}{ccc}{\sigma}_{\varepsilon H\varepsilon NH}& {\sigma}_{\varepsilon_{NH}}^2& {\sigma}_{\varepsilon NH\mu}\end{array}\\ {}\begin{array}{ccc}{\sigma}_{\varepsilon H\mu}& {\varepsilon}_{\varepsilon NH\mu}& {\sigma}_{\mu}^2\end{array}\end{array}\right] $$
(9)

where \( \operatorname{var}\left({\varepsilon}_H\right)={\sigma}_{\varepsilon_H}^2 \); \( \operatorname{var}\left({\varepsilon}_{NH}\right)={\sigma}_{\varepsilon_{NH}}^2 \), \( \operatorname{var}\left(\mu \right)={\sigma}_{\mu}^2 \); cov(ε H , ε NH ) = σ εHεNH ; cov(ε H , μ) = σ εHμ and cov(ε NHμ ) = σ εNHμ . Under this condition, the ε Hi and ε NHi in eq. (4) had non-zero expected values, which were conditional on the sample selection criterion. Hence, Ordinary least square (OLS) estimates of β H and β NH were affected by sample selection bias (Lee 1982). As a result of that, Johnson and Kotz (1970) argued that the error terms should be truncated and these are given as:

$$ E\left({\varepsilon}_{NH}/Y=0\right)=E\left({\varepsilon}_{NH}/\mu \le -{x}^{\hbox{'}}\lambda \right)={\sigma}_{\varepsilon NH\mu}\frac{-\phi \left({x}^{\hbox{'}}\lambda /\theta \right)}{1-\vartheta \left({x}^{\hbox{'}}\lambda /\theta \right)}={\sigma}_{\varepsilon NH\mu}{\gamma}_{NH} $$
(10)
$$ E\left({\varepsilon}_H/Y=1\right)=E\left({\varepsilon}_H/\mu >-{x}^{\hbox{'}}\lambda \right)={\sigma}_{\varepsilon H\mu}\frac{-\phi \left({x}^{\hbox{'}}\lambda /\theta \right)}{\vartheta \left({x}^{\hbox{'}}\lambda /\theta \right)}={\sigma}_{\varepsilon H\mu}{\gamma}_H $$
(11)

where ϕ and ϑ denote the probability density and cumulative distribution functions, respectively; γ H and γ NH were inverse Mills ratios of ϕ and ϑ evaluated at x'λ. Inverse Mills ratios were added to eq. (4) to cater for bias in selection.

The endogenous switching regression model was estimated in two stages simultaneously to use a full information maximum likelihood estimation procedure in order to avoid a heteroskedasticity problem (Lokshin and Sajaia 2004). Thus, participation in the HFG programme and outcome (food security) equations were estimated simultaneously. A probit model was first estimated to determine the selectivity terms (γ H , γ NH ). The signs and significance of the correlation coefficients (ρ) from the simultaneous estimations were very relevant. Endogenous switching is observed when either ρ (σ εHμ /σ εH σ μ ) or ρ NHμ (σ εNHμ /σ εNH σ μ ) is statistically significant. Negative selection bias occurs when ρ > 0, implying that individuals whose food security statuses are below average are more likely to participate in the HFG programme. If ρ < 0, then there is positive selection bias, indicating that individuals whose food security statuses are above average will be more likely to participate in the HFG programme. The endogenous switching regression allowed the comparison of the actual expected outcomes of participants (12) and non-participants (13), and to examine the counterfactual imaginary scenarios that the non-participants did participate (13) and that the participants did not participate (15) as follows:

$$ E\left({\psi}_H/y=1\right)={X}_1{\beta}_h+{\sigma}_{\varepsilon H\mu}{\gamma}_H $$
(12)
$$ E\left({\psi}_{NH}/y=0\right)={X}_0{\beta}_{NH}+{\sigma}_{\varepsilon NH\mu}{\gamma}_{NH} $$
(13)
$$ E\left({\Psi}_{NH}/y=1\right)={X}_1{\beta}_{NH}+{\sigma}_{\varepsilon NH\mu}{\gamma}_H $$
(14)
$$ E\left({\Psi}_H/y=0\right)={X}_0{\beta}_H+{\sigma}_{\varepsilon NH\mu}{\gamma}_H $$
(15)

The difference between eqs. (11) and (14) gives the average treatment effect on the treated (ATT) whereas the difference between eqs. (12) and (13) is the average treatment effect on the non-participants of HFG programmes (Donkor et al. 2016b). Note that the propensity score matching was used as a robust check to complement the endogenous switching regression. Mare and Winship (1978) and Lokshin and Sajaia (2004) posit that endogenous switching regression account for both observable and unobservable factors, while PSM addresses only observable factors. Moreover, Ma and Abdulai (2016) indicated that if at least one of the selectivity correction terms (γ H  & γ NH )is statistically significant, it implies there is selection bias that results from unobservable factors. In such a situation, the ESR model is appropriate for quantifying the causal effect of participation in HFG programmes. In contrast, when none of the selectivity correction terms is significant, it signifies the absence of selection bias from unobservable factors, and therefore, the PSM method is used to determine the causal effect related to the participation decision.

2.2.2 The propensity score matching (PSM) technique

The PSM matching technique compares the outcomes of HFG programme participants (treated) and non-participants (control). Observed characteristics of the treated and control groups were similar in order to minimise bias, which may have occurred if the two groups were entirely dissimilar (Dehejia and Wahba 2002). We first generated the propensity score of those participating in the HFG programme using a probit model. Second, the average treatment effect on the treated (ATT), based on the predicted propensity scores (Pr(X)), was estimated. The propensity score matching was specified as:

$$ \Pr \left({X}_1\right)=\Pr \left({Y}_1=1|{Z}_1\right)=E\left({Y}_1|{Z}_1\right) $$
(16)

where Y1 = {0, 1} gives an indication whether the individual participated in the HFG programme and Z1 represented the characteristics of the programme. The average treatment effect of the treated (ATT), \( {\psi}_{ATT}^{PSM} \), was specified as:

$$ {\psi}_{ATT}^{PSM}=E\left[{\psi}_{H_i}|Y=1,\Pr (X)\right]-E\left[{\psi}_{NH_i}|Y=0,\Pr (X)|Y=1\right] $$
(17)

Average treatment effect on the treated in this study was estimated using propensity score matching (PSM). The nearest neighbour matching (NNM), kernel-based matching (KBM) and Radius methods of the PSM were employed to estimate the average treatment effect on the treated (ATT), because these methods were commonly used in the recent literature (Donkor et al. 2016b; Ma and Abdulai 2016). The endogenous switching regression (ESR) and propensity score matching (PSM) modelling approaches have been employed in recent literature to evaluate determinants and impacts of marketing contracts on net returns of apple farmers in China (Ma and Abdulai 2016). Amare et al. (2012) employed these methods to assess the welfare impacts of a maize-pigeonpea intensification programme in Tanzania. An endogenous switching regression was applied to assess the adoption and impact of soil and water conservation technology on yield and net returns. Similarly, these methods were employed by Donkor et al. (2016a, 2016b) to assess the impact of agricultural extension service on adoption of chemical fertilizer and its implications for rice productivity and development in Ghana as well as the impact of row-planting adoption on productivity of rice farming in Northern Ghana.

2.3 Data description

A multi-stage sampling technique was employed in this study. In the first stage, Gauteng province was chosen, because it was among the provinces that had benefited from the HFG programme. The second stage involved random selection of five municipalities in the province using balloting. The selected municipalities included Johannesburg, Tshwane, Ekurhuleni, West Rand and Sedibeng. Seventy-seven households were randomly chosen from Johannesburg, 78 from Tshwane, 103 from West Rand, 131 from Ekurhuleni, and 111 from Sedibeng, based on rural household populations in each municipality. In total, 500 rural farmers were selected, comprising 234 participants of the HFG programme and 266 non-participants. The survey data were collected in 2015 from the rural households using a structured questionnaire. The first part of the questionnaire solicited information regarding yield, revenue, costs, the HFG programme, asset endowments, and institutional, farm and socioeconomic characteristics related to the households. The second part captured information on household food security.

The Household Food Insecurity Access Scale (HFIAS), developed by the Food and Nutrition Technical Assistance Project (FANTA), was employed (Coates et al. 2007). This scale was used, because it is a simple and user-friendly method for assessing the impacts of developmental programmes on the access component of household food insecurity (Coates et al. 2007). The HFIAS was also employed because we wanted to measure the degree of food insecurity as a continuous variable for analytical purposes. An HFIAS score was calculated for each household based on answers to nine ‘frequency of occurrence’ questions. The higher the score, the more food insecure the household was. The resulting data were analysed using SPSS 21 and Stata 13. Prior to the empirical estimations, we estimated mean differences between the summary characteristics for participants and non-participants for policy purposes. Hence, the results are presented for both participants and non-participants.

3 Results and discussion

3.1 Descriptive and summary characteristics of HFG programme participants and non-participants

Table 1 presents the summary characteristics of variables used in the analysis. Additionally, we estimated mean differences between HFG programme participants and non-participants. This was done to ascertain the difference in characteristics among the two categories of respondents. Mean Household Food Insecurity Access Scale (HFIAS) for participants was 0.99 with a minimum of 0.30 and maximum of 1.49, relative to non-participants whose mean HFIAS index was 1.66 with a minimum of 0.45 and a maximum of 3. The mean ages of HFG programme participants and non-participants were about 47 and 41, respectively. This finding concurs with that of Malope and Molapisane (2006) who found that the youth hardly participated in policy interventions (the homestead garden programme) and pursued different interests, because they did not see agriculture as a business in which one can survive. HFG programme participants on the average received 11 years of formal education, compared with non-participants with 14 years of formal education, with a significant mean difference of −3 at the 1% level, showing that educated people were less likely to participate in the programme. In South Africa, high educational level is correlated with lucrative jobs and therefore these educated people might have devoted their time to jobs rather than establishing a homestead garden. Msaki (2006) found that the level of education attained by the household related to human capital as well as the ability to cope with the processes of modern farm decision-making. Non-participants had significantly smaller household sizes compared with participants; participants, on average, had a household size of 5, whereas non-participants had 3, resulting in a significant mean difference of about 2 at the 1% level. Household size influenced adoption of the policy intervention programme and had important practical implications for labour availability, which acted as the basis for a household to decide whether or not to take part in the homestead garden programme (Nziane 2009). There were no significant mean differences between gender among participants and non-participants, as males constituted 66% and 62% of participants and non-participants, respectively. About 65% of participants participated in off-farm activity, compared with 70% of non-participants. The mean monthly income of programme participants and non-participants were significantly different at about ZAR 2872.56 and ZAR 6815.17, respectively (ZAR = South African Currency, Rand: 1 ZAR = about 0.073 US dollars),

Table 1 Summary statistics of variables included in the analysis

HFG programme participants had about 0.15 ha of land more than non-participants. The average distance from home to market was 3.49 and 4.06 km, for participants and non-participants, respectively. About 56% of participants had access to markets, compared with 48% of non-participants. Sixty-nine percent of the participants used hired labour, compared with 58% of non-participants. Mothupi (2014) found it significant to provide homestead garden participants with the most current market information, procedures and rules. On average, 40% of participants had access to irrigation, relative to 8% for non-participants, giving a highly significant mean difference of 0.32 at the 1% level. Home gardening and access to irrigation are crucial components of agriculture. Access to irrigation allows homestead garden participants to increase their production and income, enhances opportunities for diversifying their income base and reduces vulnerability caused by the seasonality of agricultural production as well as external shocks (Hussain and Hanjra 2004).

We found that 61% of HFG programme participants used nitrogen fertilisers, relative to 32% of non-participants. This concurs with Galhena (2012) who found that fertilizer was commonly used by home gardeners. About 77% of HFG programme participants had access to extension services, relative to 33% of non-participants, with a significant mean difference of 0.43. On average, 52% of the participants had access to credit, relative to 69% of the non-participants, giving a significant mean difference of −0.17, suggesting that non-participants had greater access to formal credit. About 89% of the HFG programme participants had access to alternative government support in the form of social grants, relative to 23% of non-participants.

Most (85%) participants belonged to farmer associations, compared with 50% of non-participants. The significant mean difference indicated that HFG programme participation facilitated a farmer’s social capital. There was no significant mean difference relating to livestock ownership. The results showed that 61% of participants and 69% of non-participants owned livestock. HFG programme participants and non-participants owned livestock valued at ZAR 28,172 and ZAR 27,815, respectively. In terms of value for farm implements, non-participants had ZAR 8255 more implements than participants.

The perception index for HFG programme participation was high (2.89) among participants, compared with non-participants (1.23). This suggested that participants had more positive attitudes towards the benefits of HFG programmes compared with non-participants. Swanepoel (2007) highlighted that policy intervention programmes (homestead garden programmes) and implementation thereof should take into account perceptions of the participants and their involvement. The household food insecurity access score for HFG programme participants was 0.99, compared with 1.66 for non-participants. The significant mean difference of −0.66 meant that food insecurity among participants was lower, compared with non-participants. Faber et al. (2011) and Khanyile (2012) found that a homestead garden as a livelihood strategy was able to lessen people’s vulnerability and insecurity. As a policy intervention, homestead gardens are recognised as a means of addressing food insecurity and alleviating poverty in developing countries.

3.2 Food security status among HFG programme participants and non-participants

The food security status among participants and non-participants of the HFG programme is presented in Table 2. The results showed that 50.6% (253) of the respondents were food secure, compared with 49.4% (247) who were not food secure. This differs somewhat from the findings of Rudolph (2012) who showed that only 44% of households in Johannesburg were food secure. Among the food-secure respondents, 62.5% of them were participants in the HFG programme, while the remaining respondents were non-participants. However, 32.5% of the participants were food insecure, while 64.3% of non-participants were also food insecure.

Table 2 Food security status among participant and non-participant of homestead garden programme

The extent of food insecurity results showed that 38.9% of all respondents were moderately food insecure, 37.7% were severely food insecure, and 23.5% were mildly food insecure. However, only 9.8% of the HFG programme participants were severely food insecure, 10.7% moderately food insecure and 12.0% were mildly food insecure. About 11.3%, 26.7% and 26.3% of non-participants were mildly, moderately and severely food insecure, respectively. The high proportion of moderately and severely food insecure respondents among non-participants is a major issue of concern and needs to be given much attention by policy makers in the Gauteng province. These results were consistent with those of May and Carter (2009) who found that more than 20% of South African households had severely inadequate access to food.

The summary statistics of the household food insecurity access score (HFIAS) are presented in Table 3. The overall average HFIAS score for the respondents was 1.54, which confirmed the occurrence of food insecurity among rural households in the Gauteng province. The overall HFIAS score was estimated by summing the scores for the individual HFIAS questions over the total number of questions. An HFIAS score was calculated for each household, based on answers to the nine ‘frequency of occurrence’ questions in Table 3. The higher the score, the more food insecure the household was. Specifically, the results indicated that 67.60% of the respondents worried about inadequate food in their households, while the remaining 32.4% did not worry about it. Among those who worried about inadequate food, 38.2% indicated that they often worried about inadequate food in the household.

Table 3 Indicators of Household Food Insecurity Access Score (HFIAS)

The majority of the respondents (67.2%) were unable to eat their preferred foods, and this occurred often, as indicated by 223 (66.4%) out of the 336 respondents who were unable to eat their preferred foods. About 61.8% of the respondents indicated that they only ate a few kinds of foods and that this happened often. Also 77.0% of the respondents indicated that they ate foods they really did not want to eat and this occurred often. Similarly 59.8% of the respondents ate smaller meals and this also occurred often. Again, 62.8% of the respondents indicated that they ate fewer meals in a day, whereas 55.0% indicated that they had no food of any kind in the household. Furthermore, 46.6% of the respondents indicated that they went to sleep without food, and 44.0% went the whole day and night without food. This provided detailed information on the occurrence of food insecurity in the study area and hence the need for food security interventions such as HFGs. However, it must be emphasised that the HFG was not the only source of food for respondents in the study area. Respondents relied on any other sources of food available to them and their food choices were not limited to what was harvested from the garden. In order not to decrease agro-biodiversity, participants in the programme were allowed to grow different crops of their choice in addition to what was provided in the programme package.

3.3 Determinants of households’ participation in the HFG programme

The empirical results for the two-stage endogenous switching regression model estimated for HFG programme participation and its impact on household food insecurity are presented in Table 4. The results for the selection equation (column 2) represents the determinants of households’ participation in the HFG programme and the estimates were interpreted as normal probit coefficients. Education was significantly different from zero and negative in the selection equation. This meant that as the education of the respondents increased, their willingness to participate in the HFG programme reduced, suggesting that less-educated households were more likely to participate in the programme. This is contrary to the findings of Huffman (2001) who stated that education promotes participation by farmers in new and sustainable programmes.

Table 4 Endogenous switching regression estimates for homestead food garden programme participation and its impact on food insecurity (HFIAS score)

The gender variable was found to be significant and positive, implying that males were more likely to participate in HFG programmes compared to females. This suggested that female farmers’ participation in the programme needs to be given greater attention. We found that respondents who engaged in off-farm activities were less likely to participate in the HFG programme, as indicated by the significantly negative coefficient at the 5% level. This may be attributable to the fact that non-farm activities restricted the allocation of labour and time to work in the HFG. Income of households was significantly different from zero and positive. This means that as the incomes of households increased, their willingness to participate in the programme also increased, all things being equal.

Households with extensive land were more likely to participate in the HFG programme. This was indicated by the significant coefficient for the land size variable. Distance to market impacted positively on households’ decisions to participate in the HFG programme, as shown by the significantly positive coefficient of the distance variable. Households that had access to irrigation facilities were also more likely to participate in the HFG programme, all things being equal. This might have been because vegetable production in HFGs requires water, especially given the current changes in rainfall patterns attributable to climate variability. The adoption of chemical fertiliser positively influenced households’ participation in the HFG programme. This was indicated by the significantly positive coefficient estimate for the fertiliser use variable, a result consistent with that of Abdoulaye and Sanders (2005).

Access to extension services was significantly different from zero, with a positive coefficient estimate. This suggested that farmers with extension contacts had a higher probability of participating in the HFG programme. This finding provides the rationale for improvement in the extension agent-to-farmer ratio, which is considered poor in Africa (Alam et al. 2012). Access to credit was statistically significant and positive, indicating that farmers who were not credit constrained were more likely to participate in HFG programmes, a result in accordance with those of Kassie et al. (2011). This emphasises the relevance of credit access in facilitating farmers’ participation in livelihood improvement interventions. Households that received other support from the government besides the HFG programme, were more likely to participate in the programme, as shown by the highly significant coefficient for the support variable. Households in social networks with other farming households were more likely to participate in the HFG programme, as shown by the highly significant and positive coefficient for the social network variable. This supports the idea that farmers’ social capital enhances information sharing, which tends to facilitate participation in sustainable farming practices and interventions (Bandiera and Rasul 2006).

Households who owned livestock were more likely to participate in the HFG programme. This might be attributable to the fact that these households had access to manure from the animals, which could be used to fertilise the vegetables and hence enhance their participation in vegetable production. In terms of location, we found that staying in the Johannesburg and Ekurhuleni districts reduced the probability of participating in the programme, as shown by the significantly negative coefficients. This might have been due to the more urbanised nature of the area, which limited land availability for homestead food gardening. However, staying in the West Rand and Sedibeng districts increased the likelihood of participating in the HFG programme, relative to the Tshwane district.

Farmers’ decisions to participate in the HFG programme were highly dependent on their perceptions of the benefits associated with the programme. This was shown by the highly significant and positive estimate for the perception variable, a finding consonant with that of Ntow et al. (2006). This meant that management and authorities of the HFG programmes can influence farmers’ participation by creating a positive mental attitude among farmers concerning the programme.

3.4 Determinants of households’ food insecurity among HFG programme participants and non-participants

The results of the determinants of food insecurity are presented in the third and fourth columns of Table 4. Among the personal and household characteristics, education had a significantly negative influence on the food insecurity status of both participants and non-participants of the HFG programme, reducing this by 0.191 and 0.310, respectively. This finding concurs with that of De Cock et al. (2013) who found that food insecurity was higher among uneducated households. The off-farm activity variable was highly significant and negative for both participants and non-participants. Household income was significantly different from zero and negative for both participants and non-participants. This suggested that an increase in a household’s income reduced food insecurity by the respective coefficients for participants and non-participants, a result consistent with the report of UNWFP (2006), which indicated that income generation and production improved food security among households.

The distance to market variable was significant and positive for participants at the 5% level, the further the distance was from a participant’s household to market, the higher that household’s food insecurity was. Similarly, access to market significantly reduced food insecurity among participants and non-participants. The access to irrigation variable was significantly different from zero and negative for both participants and non-participants, indicating that access to irrigation facilities would have reduced household food insecurity by their respective coefficients, all things being equal. Access to extension services reduced food insecurity of both participating and non-participating households and was significant at the 5% level. Extension agents provide farmers with information regarding improved production and postharvest technologies, marketing and financing, which enhances their production and income, improving their food security status (Alam et al. 2012).

Access to credit had a significantly negative influence on the food insecurity of both participating and non-participating households. Access to government support in the form of a social grant significantly reduced the household food insecurity of both participants and non-participants. The social network variable was significantly different from zero and negative for participating households at the 1% level, showing that participating households with social networks with other farmers were more likely to be food secure than those who did not have social networks. Households with more livestock were more likely to be food secure, as indicated by the significant and negative coefficient estimates for value of livestock for both participating and non-participating households at 5% level.

In terms of location, we found that staying in the Johannesburg district reduced food insecurity among non-participating households, whereas residing in the West Rand district reduced food insecurity among participating households, relative to the reference district of Tshwane. Similarly, residing in the Ekurhuleni district reduced food insecurity of both participating and non-participating households, while residing in the Sedibeng district only reduced food insecurity among non-participating households, relative to the Tshwane district. This implied that one’s location significantly influenced his or her food security status, suggesting that food insecurity should be tackled from a district-specific viewpoint.

Moreover, the results indicated that the residuals of access to extension services and engagement in off-farm activities were statistically insignificant, suggesting that our estimations were consistent. Based on the significant chi-square statistic (53.70) for testing over-identification restriction, we did not reject the exclusion restriction that the instrumental variable (perception of HFG programme) affected participation only through extension access and off-farm activity variables. This concurs with the findings of Ma and Abdulai (2016). The significant covariance term for the participants (ρ H ) indicated that self-selection took place in households’ participation in the HFG programme. This implies that participation in the HFG programme may have impacted differently on non-participants, had they decided to participate in the programme (Liu et al. 2002). The positive sign of (ρ H ) revealed the existence of negative selection bias, showing that households whose food security statuses were below average were more likely to participate in the HFG programme. This was not surprising, given that the programme aimed at reducing extreme poverty and food insecurity among households. Also, the insignificant statistic ρ NH showed that both participating and non-participating households, on average, faced similar food insecurity challenges without participating in the HFG programme.

3.5 Impact of the HFG programme on food insecurity: Endogenous switching regression and propensity score matching estimations

The significant covariance term (ρ H ) for HFG programme participants revealed the presence of selection bias, arising from unobserved factors. Therefore, there was the need to account for both observable and unobservable factors in order to attain unbiased treatment effects. Hence, we estimated the average effect on the treated (ATT) from the endogenous switching regression (ESR), which accounted for selection bias emanating from observed and unobserved factors (Table 5). Participation in the HFG programme reduced household food insecurity by 41.5%, when non-participants of the programme were treated as the control group, showing that promoting households’ participation in the HFG programme reduces food insecurity.

Table 5 Average treatment effect of homestead food garden programme participation on food insecurity: Endogenous switching regression estimation

The propensity score matching (PSM) technique was also employed to estimate the average treatment effect of HFG programme participation on food insecurity, given that there was no selection bias arising from unobservable factors, and the results are presented in Table 6. The results generally indicated that participation in the HFG programme exerted negative and a statistically significant impact on household food insecurity. Specifically, participation in the HFG programme significantly reduced household food insecurity by 11.02–40.2%, using the nearest neighbour, kernel-based and radius matching methods. The estimated propensity score presented in Appendix revealed that 86.1% of the sample observations were correctly predicted. The intuition drawn from the average treatment on the treated from the ESR and the PSM estimates demonstrated that without accounting for selection bias resulting from both observable and unobservable factors, HFG programme implementers and stakeholders underestimated the real impact of HFG programme participation on household food insecurity.

Table 6 Average treatment effect of homestead food garden programme participation on food insecurity: Propensity score matching estimation

The study was not without limitations. It has to be noted that our sampled households were from the Gauteng province only and did not include respondents from other provinces where the programme had been implemented (Eastern Cape, North West and KwaZulu-Natal). Hence, the external validity of our findings was limited given that the participation decision and impacts of the programme on households could differ from province to province. It is suggested that future research should consider similar impact assessments in other provinces where the HFG programme has been implemented in order to ascertain if the contribution of the programme to food security, as reported in this paper, is robust compared to the findings from the other provinces. This study focused only on food insecurity. Therefore, we suggest that future research examines the impact of the programme on household income since excess supply from the homestead garden is sold to generate income. Also, the HFG programme has not been implemented in all provinces, despite its potential benefits in reducing food insecurity, malnutrition and hunger. Therefore, stakeholders and implementers of the HFG programme should consider extending the programme to other provinces.

4 Conclusions

In line with the first objective of the study, we conclude that socioeconomic factors such as household income and being a male enhanced participation in the HFG programme, whereas education and engagement in off-farm activities impacted negatively on participation in the programme. Among farm or HFG characteristics, we conclude that factors such as land size, distance to market, access to irrigation facilities and adoption of fertiliser facilitated households’ participation in the HFG programme. Regarding institutional factors, we conclude that access to extension services and credit, government support and farmers’ association membership positively influenced households’ participation in the HFG programme. Ownership of livestock enhanced participation in the programme. We also conclude that the locations of households, as well as their perception of the programme, influenced their participation.

In terms of impact of the programme on food insecurity among rural households, we conclude that participation in the HFG programme significantly reduced food insecurity in the Gauteng province. The majority of the food-secure households in the study area were participants of the HFG programme. This emphasises the need to encourage more households to participate in the programme and we recommend that government and policy makers should encourage rural households’ participation. The empirical findings from the impact assessment demonstrated the existence of selection bias in households’ participation in the HFG programme and that without accounting for selection bias, the real impact of the programme on food security will be incorrectly estimated. Therefore, we recommend that current and future impact evaluations of food security policy interventions should take into account selectivity effects arising from both observed and unobserved factors in order to attain unbiased and consistent estimates. This can be done by employing empirical approaches such as endogenous switching regression, which accounts for selectivity effects.

In terms of determinants of food insecurity among participating and non-participating households, it was concluded that food insecurity among participating and non-participating households was significantly reduced by factors such as education, household income, participation in off-farm activities, access to market, irrigation, extension, and credit, adoption of fertiliser, and government support, as well as the value of livestock and farm implements. Precisely, policies that enhance households’ access to credit, extension services, and irrigation facilities, as well as the promotion of fertiliser use and ownership of livestock, should be promoted by policy makers and programme implementers since these facilitate households’ participation in the HFG programme, which in turn improves household food security status.