Competitiveness of Namibia’s Agri-Food Commodities: Implications for Food Security

: The global literature widely uses Revealed Comparative Advantage (RCA), Lafay Index (LFI), Export Diversiﬁcation (EDI), Hirschman (HI), and Major Export Category (MEC) to analyze international trade ﬂows, though agricultural trade, speciﬁcally agri-food commodities consisting of food and feed commodities, is neglected in empirical works. Furthermore, the determinants of Revealed Comparative Advantages and the Lafay Index have received little attention, with little focus on the relationships between food insecurity as measured by the Household Food Insecurity Access Scale (HFIAS) and the aforementioned factors, including the RCA and LFI indices as explanatory variables with other macroeconomic variables. The purpose of this study was to ascertain the competitiveness of Namibia’s agri-food products, the factors that inﬂuence it, and their implication for food security. This study attempts to answer which factors affect agri-food comparative advantage, which agri-food commodities have a comparative advantage and disadvantage, and what the implications are to food security. The study employed regression analysis, the Household Food Insecurity Access Scale, and various indices. Revealed Comparative Advantage and Lafay Index indicated a mixed result during the study period. Export Diversiﬁcation and Hirschman indices indicated a less concentrated trade structure throughout the study period. The results of the market structure of the international agri-food market estimated by the Major Export Category revealed that Namibia was unduly dependent on agri-food commodities incorporated in this study. The regression result showed a signiﬁcant negative inﬂuence of labor and land productivity on the aggregated RCA and LFI for agri-food commodities. Land productivity and GDP per capita impact the degree of food insecurity in Namibia. The study concludes that Namibia was not dependent on international trade of agri-food commodities and had little bearing on food security. These analyses enlighten policymakers about the competitiveness of the agri-food business and its implications for food security through evidence-based policy development.


Introduction
The competitiveness of an economy and its industries determines how well a country integrates into global markets, performs in trade, and creates value in supply chains [1].In response to global integration, market liberalization has shaped agricultural markets, which have imposed competitiveness for survival.Consequently, sustainable growth depends on the competitiveness of agriculture and its impact on food security.
The African Union recognized in the Malabo Declaration, signed in 2014 that agrifood can play a critical role in food system transformation, poverty reduction increased opportunities for women and youth in agribusiness, increased intra-African agricultural trade, and reduced food insecurity and hunger.Despite the significant opportunities for economic growth, poverty reduction, and food security presented by agri-food in Africa, the sector's growth and modernization continue to lag.Some of the challenges include a lack of technical training and human resources, limited access to land and financing, varying access to raw materials, high operational costs, and poor infrastructure.Smaller businesses suffer from such challenges because they find it difficult to expand or produce higher-quality goods [2].
Even when faced with challenges, increased competitiveness can help agribusiness, agriculture, and agri-enterprises increase their income levels and reduce food insecurity in the long run [3].Technical, environmental, social, economic, and political changes are among the challenges [4].As a result, strategies, programs, and policies at the farm and industry levels are required to overcome challenges.
Agriculture is one of Namibia's most important industries, employing roughly 70% of the country's population directly or indirectly, primarily in the subsistence sector.It contributed more than 4% slightly to GDP from 2014 to 2018 and 6.6% in 2019.The Republic of Namibia's government is guided by long-term development objectives outlined in National Development Plans (NDPs) and the Vision 2030 strategy.As a result, the government's goal is to ensure agricultural productivity and food security in accordance with Vision 2030.In Namibia's fifth National Development Plan (NDP5), the agricultural sector and food security goal is to reduce the proportion of food-insecure people from 25% in 2016 to 12% and increase food production by 30% cumulatively between 2017 and 2022 [5].
Food systems encompass a wide range of activities in the production, processing, distribution, marketing, preparation, consumption, and disposal of agricultural goods, while also considering the value chain's social, ecological, and economic interactions.This includes food security as well as the broader set of food-related systems, which can consist of traditional, modern, and informal channels [6].The Namibian food system can provide enough food through either production or trade.
Competition in domestic and international trade is essential for the globalization of economic activities.Participating in international trade is imperative to improve efficiency and global competitiveness [7].Namibia's participation in various trade agreements also affects the agricultural sector.Taking part in international trade agreements reduced distortions caused by indirect export subsidies and transformed the structure of agri-food trade flows and comparative advantages [8].
Agricultural commodities continue to be subject to public protection for several reasons.The business faces three fundamental problems: stability, income, and foreign trade.The market for most agricultural products is more unstable than is necessary to optimize resources and manage buyers' expenditures efficiently, though it is not unanimous.According to Khor [9], the world's most pressing problems are the distorting nature of global agriculture trade, including market instability, income losses due to terms-of-trade declines, and international agricultural trade negotiations.Agricultural prices, output, and income fluctuate significantly because of inelastic demand and supply, uncertain foreign markets, weather, insects, and diseases.It is common for legislation intended to protect farmers and programs dealing with the marketing of agricultural products to use the term "stabilization".Whether this goal can be achieved through the policies in place and whether they are sufficiently integrated to create an environment that increases efficiency to enhance competitiveness remains to be seen.This study attempts to answer which factors affect the agri-food comparative advantage of Namibia, which agri-food commodities have a comparative advantage and disadvantage, and what are the implications to food security.
The Namibian government has implemented several policies and strategies to improve Namibia's agricultural sector's competitiveness in both domestic and international markets.These policies and strategies aim to fully exploit the open global market based on the country's perceived competitive advantage.Despite the policies, the lack of studies examined competitiveness considerations in Sub-Saharan Africa and Namibia in particular.Previous research on competitiveness focused on agribusiness, commodities like timber and soybeans, agri-processing, economic growth, and the food supply chain [7,[10][11][12][13][14][15][16][17][18][19][20][21].
These studies, however, did not focus on factors influencing agri-food competitiveness and its implications for food security.Bahta and Willemse [10] examined competitive advantage in soybean production using a variety of metrics.They discovered that the nominal rate of protection was more significant than the effective rate of protection, implying that the tariff applied to output was more significant than the tariff applied to inputs.The structure of the tariff schedule may have a substantial impact on efficiency.Esterhuizen et al. [11] and Sharma et al. [12], using various indices, the agribusiness and agri-processing sector's competitiveness, structure, and value addition were assessed.
Esterhuizen et al. [11] found that decreasing competitiveness in the value chains suggests that industry value-adding opportunities are constrained.Sharma et al. [12] discovered that the extent of value addition in the processing sector was approximately 53%, and financial viability ratios revealed a high current ratio but a lower quick ratio (acid test) in most of the processing industries, indicating that many sectors have significant unsold inventories.Hencion and McIntyre [13] reviewed the literature, looked at the effects of the food supply chain, and discovered that the biggest influences on food supply chains were identified as consumers, then retailers.Mbai et al. [14] examined timber export competitiveness, and their research found that, due to Namibia's reliance on natural forests, timber export competitiveness is not sustainable, export patterns are highly reliant on the volumes and values of exported timber, and Namibia's timber exports are not competitive.
Louw et al. [15] identified factors impeding agri-processing development.They discovered that the small wheat-milling and baking industries have relatively high entry barriers.These barriers include the need to establish a market, learn about the wheat-milling and baking industries, maintain a well-maintained infrastructure, have the necessary marketing and management skills, and have the necessary cash flow.Mlambo et al. [16] examined the role of agricultural commodity exports in economic growth, and the findings showed that exports of processed agricultural products had a favorable impact on it.Agriculture exports that have not been processed, however, have a negative impact on economic expansion.This demonstrates how manufactured agricultural exports make a significant contribution to economic growth.
Bojnec [17] analyzes regional and global agricultural trade patterns and discovers that trade and comparative advantage indicators are distorted by trade and other policy barriers, which may artificially boost exports through export subsidies or protect domestic production using tariffs and non-tariff trade measures.The level, composition, complementarities, pattern of agri-food trade specialization, and variations in agri-food relative trade advantage/disadvantage are all examined by Bojnec and Ferto [7,18,19] with an eye toward their implications for food policy.Bojnec and Ferto [7] discovered that consumer-ready foods have lower comparative trade advantages than bulk primary raw agricultural commodities.This suggests that food processing and international food marketing have weaker competitiveness.Bojnec and Ferto [18] emphasized that trade deficits in agri-food products have increased due to trade specialization patterns in Southeastern Europe.Additionally, agri-food export markets are heavily concentrated in bulk raw commodities and lack export specialization.According to Bojnec and Ferto [19], Central European nations had a higher proportion of products with relative trade disadvantages and a greater significance of one-way trade.Sattar et al. [20] assessed the competitiveness of the food processing cluster in Namibia using the Porter Cluster Competitiveness framework.They found that within this framework, the four determinants of competitiveness are demand conditions (markets), factor conditions, the firms' structure and strategies, and the related and supporting industries (cluster foundations).Bahta [21], on the other hand, determines the competitiveness of South African agri-food products as well as the factors that influence them and revealed a mixed outcome for RCA and LFI of agricultural and food commodities from 2000 to 2018.Regression analysis of the variables affecting the competitiveness of agri-food commodities produced various results.GDP per capita and agricultural productivity both had a positive effect on comparative advantage.Agri-food commodities had both positive and negative impacts on macroeconomic stability.South Africa did not rely on international trade from the agri-food sector and had a less concentrated trade structure.
This study aimed to determine the level of competitiveness of Namibian agri-food products, identify the factors that influenced agri-food competitiveness, and its implications for food security using various indicators and regression analysis.Notably, there are no studies examining food security implications.The article adds to the body of knowledge by explaining the comparative trade benefits of Namibia's agri-food product markets.The findings may have a more comprehensive application for those who engage in agri-food trading daily.The empirical findings may also aid in evaluating policy implications for competitive agri-food trade and its effects on food security for strategy and policymakers in the agri-food sector.The non-participating nations in multilateral trade negotiations and outside of preferential trading arrangements are more likely to lose [22].The next section provides the data and methods, followed by results, including policy implications discussed in Section 4, while Section 5 provides the conclusions.

Description of the Method, Data, and Sources
Various models and indicators were used to understand better the trade structure, trade pattern, and agri-food competitiveness.These included the theoretical and empirical concepts of the RCA, LFI, EDI, HI, MEC indices, and others.Furthermore, from 2000 to 2021, a model for identifying the drivers that give Namibian agri-food a competitive advantage was estimated using RCA and LFI as outcome variables against explanatory variables based on various data sources.HFIAS was used as an outcome variable against explanatory variables, including RCA and LFI applied to look at the implications for food security.
Both primary and secondary data were used in this study.The secondary statistics from the commodity trade data from the United Nations were used to calculate RCA, LFI, EDI, HI, and MEC indices [23].The Food and Agriculture Organization provided the value of agricultural production in US dollars at constant prices (land and labor productivity) [24].The World Bank provided data on macroeconomic stability, inflation (INF), and consumer price growth (annual %), as well as gross domestic product per capita in current US dollars (GDPpc) [25].Household Food Insecurity Access Scale (HFIAS) was obtained using primary and secondary data from various sources.

Revealed Comparative Advantage and Lafay Index
The relative trade performance of Namibian agri-food commodities is the subject of the RCA theory and model.In this study, the RCA was used to assess the competitiveness of agri-food in Namibia.Because of the distortion it introduces, this index has been criticized in empirical trade analysis [27][28][29].Lafay [30] proposes to address these shortcomings by developing weighted indicators of trade balance contribution that, while containing interesting information, are ambiguous in measuring trade specialization.Because of the increasing importance of intra-industry trade in agri-food trade due to the integration process, economic growth, and macroeconomic fluctuations during the studied period.
The RCA index continues to be the most widely used tool in empirical trade analysis despite a number of significant drawbacks, including the distortion it introduces, the asymmetric value problem, and the problem with logarithmic transformation [31].
According to Balassa [32,33], the model to compute the Balassa RCA index is (Equation ( 1)): where: X export in US$ X ij exports of the sector "i" of country "j" ∑ i X ij Total exports of the country "j" ∑ j X ij World exports of the sector "i" When RCA > 1, Namibia is said to be specialized in agri-food commodities or Namibia has a comparative advantage compared to reference countries.It means that Namibia had a competitive advantage in agri-food products.Namibia faced a comparative disadvantage when RCA < 1, Namibia is said not to be specialized (under-specialized) in agri-food commodities, or Namibia has a comparative disadvantage compared to reference countries [28].The RCA was applied in several sectors, commodities, and national studies [10,13,28,[34][35][36].According to Istudor et al. [29], interpreting the Balassa Index can be difficult and may not explicitly assist in defining the degree of competitiveness and its dimensions.For example, a country may experience a decrease in competitiveness while maintaining a specific product or service advantage; however, it may also be competitive without a comparative advantage.They also pointed out that one limitation of the Balassa Index is that it focuses solely on trade export performance, ignoring the factors contributing to competitiveness.Furthermore, Esterhuizen et al. [37] argued that the difficulty quantifying competitiveness had led Balassa to focus on trade patterns rather than underlying resources, subsidies, and prices.Balogh and Jámbor [38] acknowledged that the Balassa Index neglects the effects of agricultural policy and, under certain circumstances, can exhibit asymmetric values.
There have been numerous attempts to overcome the shortcomings of RCA.Alternatives include export-only indices (such as the EDI, HI, and MEC indices, which include only export variables (RCA), as well as trade-cum production indices (LFI), which include both trade and production variables [39].
Theoretically, robust measures for estimating comparative advantage would be tradecum-production indices like LFI.According to Bowen [40], the RCA index is partly a "failure of the theoretical framework" because it separates exports and imports when comparative advantage is a net trade concept.Bowen suggests an alternative index that includes production variables.Additionally, Lafay [30] notes that the RCA method eliminates the influence of macroeconomic variables; the same rationale for which Balassa excluded import variables and only included export variables can be applied to import variables.That is, while tariffs and other protective measures on the import side have been accused of causing bias in trade performance measures through successive multilateral negotiations, the same argument can be made on the export side, where subsidies or voluntary export restraint have been increased.
While trade-cumulative-production indices have been more focused on better connecting with theory, exports-only indices have been more focused on transforming and adjusting the existing RCA index to overcome its disadvantages, particularly its asymmetric property, while maintaining its practicality, ease of use, and simplicity [41].
The Lafay Index (LFI) [30] was also used as an alternative measure of comparative advantage, as expressed in Equation ( 2): where: x i j exports of the sector "i" of country "j" m i j imports of the sector "i" of country "j" n number of items (agri-food product) The LFI provides a more thorough examination of Namibia's agri-food commodities export participation.The normalization of each product or sector is obtained by weighting each product's contribution regarding the respective importance in the agri-food trade.Because the LFI measures each product's contribution to the overall normalized agri-food trade balance, the following relation holds ∑ N j=1 LF i j = 0. Namibia demonstrated comparative advantages when LFI > 0, and the higher the value of LFI, the higher the level of specialization in the agri-food trade or LFI > 0 holds for a certain product j, then trade specialization is revealed; the larger value indicates a higher degree of the product's trade specialization.Similarly, negative values imply trade de-specialization.

Export Diversification Index/Concentration Index
The Export Diversification Index (EDI) was used to measure the agri-food sector's export performance and competitiveness in Namibia, as indicated in Equation ( 3): where: h ij -share of the commodity "i" in the total exports of country "j".h i -share of the commodity in world exports.The Hirschman index (HI) was used in this article to estimate the market structure of the international agri-food market [34].An analogous export diversification metric, the Hirschman index (HI), was used by the United Nations Conference on Trade and Development (UNCTAD) [42].Equation (4) shows the HI as the shares of Namibia's agri-food commodities: where: X i -export of all commodities "i" X export of commodity "i" The World Bank [43] highlighted that the EDI and HI indices range from 0 to 1.The lower value, the less concentrated Namibia agri-food exports.Thus, a value close to zero indicates that Namibia has a less concentrated agri-food trade structure.

Major Export Category
The major export category (MEC) classifies agri-food commodities that account for 50% or more of total agri-food exports and account for the majority of Namibia's j exports.A share of total country j exports is computed and rated for each exporting agri-food product i (Equation ( 5)).Namibia's exports are said to rely heavily on a single agri-food commodity category.
where: X ij exports of the sector "i" of country "j" X ij Total exports of the country "j" The economy is classed as diversified if no single agri-food commodity accounts for 50% or more of total exports.

Land productivity (LAND) and Labor Productivity (LABOUR)
Porter's diamond model [44] represents a framework for investigating why certain economic sectors, such as agri-food, within a country, are competitive internationally.Furthermore, factor conditions are one of the data requirements that is displayed in the form of a diamond.Natural capital and other types of resources, such as financial, technological, labor, and others, are examples of factor conditions.Land and labor productivity were included in this study because these two variables are appropriate for assessing competitiveness levels.This factor condition diamond attribute highlights how various endowments contribute to international competitiveness.In this study, with the goal of providing a multidimensional analysis of Namibia's agri-food sector's competitiveness was assessed using Revealed Comparative Advantage (RCA).As a result, Land productivity is calculated as the value of agricultural production in USD (constant 2005 USD prices) per hectare of agricultural land.Labor productivity is calculated as the value of agricultural production in USD (constant prices) per number employed in agriculture.

Food Security Implications/HFIAS
The link between agricultural and agri-food competitiveness, international trade flows, and food security measured by HFIAS has long been under consideration by policymakers and scholars [45,46].From a scientific standpoint, this link becomes more compelling, particularly in light of the COVID-19 pandemic, the energy crisis, and Russia's invasion of Ukraine, which threatens to disrupt agri-food supply chains [47][48][49].Furthermore, in the case of agri-food products, the assessment included multiple layers, with food security being one of the most important [50,51].Agriculture and the food industry are strategic economic sectors because they contribute to food security [29,52].
The study further explored the relationships between food insecurity and the aforementioned factors, including the RCA and LFI indices as explanatory variables with other macroeconomic variables.This can further expand the policy interventions toward enhancing food security as supported by international trade conditions for agricultural commodities.To achieve the objective, the yearly averages for the RCA and LFI for the selected agri-food commodities were computed for the analysis.In similar conditions, Sarris and Morrison [53] also utilized an averaged trade balance score across agricultural commodities in a market and trade policy analysis study to enhance African food security.Giuliani et al. [54] also adopted a similar computation technique in a global value chain analysis study using Latin American countries as case studies.
The aggregated Household Food Insecurity Access Scale (HFIAS) was adopted for the analysis in Namibia.The generic HFIAS was developed by Coates et al. [55], and a modified version of the HFIAS was also validated in Iran [56].The tool is a nine-item scale with a reference period of the past four weeks for all included questions [57].Using HFIAS, households were asked to respond to each experience as never, rarely, sometimes, or often, generating a total score from 0 to 27 [58].A higher score indicates a higher level of household food insecurity.Equation (6) shows the standard procedure for calculating the HFIAS.

HFIAS
where "HFIAS" is the score, "X i " is the food insecurity occurrence, and "F i " is the frequency of the associated occurrence.The construction of the HFIAS was based on an extensive review examining commonalities in the experience and expression of food insecurity (defined as lack of access) across cultures and locations in Namibia.This allowed the household-level index to be nationally aggregated and included in the model.Primary data in 2021 was used to generate and validate the HFIAS, while secondary data sources were used to estimate the HFIAS for 2000 to 2021.To achieve this, the weighted mean averages were computed from the widely reported food insecurity categories: food secure, mildly food insecure, moderately food insured, and severely food insecure.The median values for these categories were used and summed into the weighted meanwhile, using the total range (27) as the weighting factor (denominator), as shown in Equation (7).
The implications of food security of RCA and LFI were conducted using HFIAS as an outcome variable, as indicated in Figure 1 and Equations ( 8) and ( 9).It implies that RCA and LFI, macroeconomic stability, GDP per capita, land and labor productivity are explanatory variables.

Determinants of RCA and LFI
Relative comparative advantage (RCA) and Lafay Index (LFI) are fundamental principles in international trade and form the core foundation of the importance of free trade for agricultural commodities.Understanding the relationship between the RCA and LFI index and macroeconomic factors such as GDP and inflation can be helpful for policy design.
The impact of the determinants of RCA and LFI was conducted for 2000-2021.The outcome variable is RCA and LFI, while macroeconomic stability, GDP per capita, and land and labor productivity are independent variables.The theoretical framework of the model is depicted in Figure 1, and the model is empirically expressed in Equations ( 10) and ( 11): 3. Results In Figure 1, concepts are understood and developed based on the data patterns and not by collecting data to evaluate the hypothesis.Still, the study also emphasizes the research's validity through an empirical approximation.The model includes an RCA and LFI indicator as a dependent variable, while explanatory variables include land and labor productivity, GDP per capita, and macroeconomic stability.From the food security implication aspect, the model includes the HFIAS indicator as a dependent variable, while explanatory variables include RCA and LFI, land and labor productivity, GDP per capita, and macroeconomic stability.

Revealed Comparative Advantage (RCA) and Lafay Index (LFI) for Agri-Food Commodities
This study contains several hypotheses based on the objective of the study, which is defined as follows: Hypothesis 1. Land productivity has a positive influence on Namibia's agri-food comparative advantages.

Hypothesis 2.
Labor productivity has a positive influence on Namibia's agri-food comparative advantages.Hypothesis 3. GDP per capita has a positive influence on Namibia's agri-food comparative advantages.Hypothesis 4. Macroeconomic stability has a positive impact on Namibia's agri-food comparative advantages.Hypothesis 5. RCA and LFI have a positive influence on Namibia's food security.Hypothesis 6. Land productivity has a positive influence on Namibia's food security.

Hypothesis 7.
Labor productivity has a positive influence on Namibia's food security.
Hypothesis 8. GDP per capita has a positive influence on Namibia's food security.
Hypothesis 9. Macroeconomic stability has a positive impact on Namibia's food security.

Determinants of RCA and LFI
Relative comparative advantage (RCA) and Lafay Index (LFI) are fundamental principles in international trade and form the core foundation of the importance of free trade for agricultural commodities.Understanding the relationship between the RCA and LFI index and macroeconomic factors such as GDP and inflation can be helpful for policy design.
The impact of the determinants of RCA and LFI was conducted for 2000-2021.The outcome variable is RCA and LFI, while macroeconomic stability, GDP per capita, and land and labor productivity are independent variables.The theoretical framework of the model is depicted in Figure 1, and the model is empirically expressed in Equations ( 10) and ( 11):

Revealed Comparative Advantage (RCA) and Lafay Index (LFI) for Agri-Food Commodities
The RCA for live animals (00), meat and meat preparations (01), fish (03), and raw hides (21) in Namibia revealed a comparative advantage during the study period from 2000 to 2021 (Tables A1 and A2 in Appendix A).This meant that Namibia was a net exporter of the above-mentioned agri-food commodities.
As Tables A1 and A2 indicate dairy (02), coffee (07), and cereals (04) except in 2002, miscellaneous (09), silk (26), and animal and vegetable oils (43) showed a comparative disadvantage during the study period of 2000-2021.However, vegetables and Fruit (05) and tobacco (12) showed mixed results.Vegetables and fruit (05) showed a comparative advantage from 2005-2010 and 2021, on the other hand, a comparative disadvantage for the rest of the study period of 2000-2004 and 2011-2020.Tobacco (12) showed a comparative advantage in three years 2000, 2017, and 2018, and a comparative disadvantage in the rest of the study period of 2001-2016 and 2019-2021.Bahta and Willems [10] pointed out that the RCA explains how a country fits into the global trade picture and that the RCA is based on relative export shares, which could be skewed due to trade and non-trade restrictions.
The LFI in Table A1 indicated fish (03) showed a significant comparative advantage.This meant that the higher the value of this index, the more specialized Namibia was in the fish trade.It was the fact that live animal (00) also showed a comparative advantage for 14 years (2001-2007, 2010-2011, 2015, 2014-2019) and showed a comparative disadvantage for the rest of the years (2000, 2008-2009, 2012-2014, 2016, 2020-2021).

Export Diversification Index and Major Export Categories of Agri-Food Commodities
The EDI values for all agri-food commodities (Tables A3-A5 in Appendix A) were close to zero, indicating a less concentrated trade structure and exhibited low concentrations throughout the study period, according to the index of trade concentration (HI).Lower trade concentrations will lessen the impact of international trade risk due to the likelihood of price fluctuation in the international market.
From 2000 to 2021, the MEC for all agri-food commodities (Tables A3 and A4) was below 50%, indicating that Namibia was not considered overly reliant.According to Nin-Pratt et al., fish, grapes, beef and seafood, and fuelwood were Namibia's top agricultural export commodities [61].

RCA and LFI as Outcome Variables
Multiple linear regression modeling was then used to estimate the relationships between the RCA, LFI, HFIAS, and selected independent variables of interest.The impact of macroeconomic stability, GDP per capita, and land and labor productivity on the RCA and LFI level of agri-food commodities during 2000-2021 was estimated.The economic analysis included descriptive statistics, diagnostics tests, and regression models.
The descriptive results are presented in Table A6 and indicate significant differences in the level of RCA for different agri-food commodities.The highest RCA indicator values were recorded for fish, with a 19.30 mean and a range of 13.20-31.65,followed by live animals, with an 18.38 mean and values ranging from 6.88 to 31.17.On the other hand, animal and vegetable oils were the lowest 0.06 mean and a range of 0.00-0.22.Regarding the explanatory variables, the highest value indicator was recorded for GDPpc with 4321.04 (Max) and the lowest with land productivity at 0.94 (Min).
Table A6 also indicated significant differences in the level of LFI for different agri-food commodities.The highest LFI indicator values were recorded for fish, with a 6.61 mean and a range of 4.73-11.88,followed by live animals, with a 1.06 mean and values ranging from 0.42 to 1.78.On the other hand, Cereals was the lowest −0.90 mean and a range of −1.13-(−0.68).
Table A6 shows the Skewness of RCA, LFI, and other variables.The RCA of Live animals, Meat and meat preparations, vegetables and fruit, coffee, tea, cocoa, spices, and manufacturers indicated that the data are fairly symmetrical.On the other hand, the LFI of Live animals, Meat and meat preparations, Dairy products and birds' eggs, Cereals and cereal preparations, Vegetables and fruit and Coffee, tea, cocoa, spices, and manufactures thereof indicated that the data are fairly symmetrical.
Kurtosis of the RCA of Live animals, Meat and meat preparations, Dairy products and birds' eggs, Fish, crustaceans, mollusks, and aquatic invertebrates and preparations thereof, Vegetables and fruit, Sugar, sugar preparations and honey, Coffee, tea, cocoa, spices, and manufactures thereof, Miscellaneous edible products and preparations indicated that the dataset has lighter tails than a normal distribution.On the other hand, Kurtosis of the LFI of Live animals, Meat and meat preparations, Dairy products and birds' eggs, Fish, crustaceans, mollusks, and aquatic invertebrates and preparations thereof, Cereals and cereal preparations, Vegetables and fruit, Coffee, tea, cocoa, spices, and manufactures thereof, Miscellaneous edible products and preparations, Tobacco, and raw hides and indicated that the dataset has lighter tails than a normal distribution.
The coefficient of variation varies from −68.87% for Vegetables and fruit to 125% for RCA hides and skins, indicating that for some commodities, the standard deviation is relatively less compared to the mean, and for other commodities standard deviation is somewhat more compared to the mean.
The Jarque-Bera test indicated that for commodity LFI Fish, RCA Cereals, RCA and LFI Sugar, RCA and LFI Miscellaneous edible products and preparations, RCA Tobacco, RCA, and LFI hide and skins, LFI Animal, vegetable fats and oils deviate from normality statistically significant at 1%.Other variables were significant at 5 and 10%, as indicated in Table A6.
More analysis of the multicollinearity test was conducted in aggregate regression analysis of RCA, LFI, and HFIAS as outcome variables, as explained in detail in Tables 1-4.Results in Table 1 show the relationship between the RCA and four independent variables: labor productivity, land productivity, GDP per capita, and inflation.Of these four variables, labor and land productivity significantly negatively influence the aggregated RCA for agri-food commodities.The Variance Inflation Factor (VIF) values are all less than 10, and there is strong evidence for not suspecting multicollinearity [62].The mean VIF is 2.14.The White test for heteroscedasticity was also used in the study.From the results, the prob > chi2 = 0.24.The null hypothesis of constant variance cannot be rejected at a 5% significance level.The above finding implies no suspicion of heteroscedasticity in the residuals.Table 2 shows the results for the relationship between the LFI and the four independent variables of interest.In this instance, the results imply a significant negative association between land productivity.Since the same variables were used as with the RCA model, the VIF conclusions also suggest no multicollinearity in the LFA model.From the results, the prob > chi2 = 0.19.The null hypothesis of constant variance cannot be rejected at a 5% significance level.The above finding implies no suspicion of heteroscedasticity in the residuals.

HFIAS as Outcome Variables
The results in Tables 3 and 4 represent the relationship between the HFIAS and selected variables, including the RCA and LFI, respectively.Of the five variables, including RCA as an explanatory variable, only land productivity and GDP influence the extent of food insecurity in Namibia.The Variance Inflation Factor (VIF) values are all less than 10, and there is strong evidence for not multicollinearity [62].The mean VIF is 2.53, and the prob > chi2 = 0.34.The null hypothesis of constant variance cannot be rejected at a 5% significance level.The above finding implies no suspicion of heteroscedasticity in the residuals.
Further, Table 4 indicates the relationship between the HFIAS and selected variables, including the LFI.Of the five variables, including LFI as an explanatory variable, evidence suggested that land productivity and the GDP per capita are also significant determinants of food security in Namibia.This implies that land productivity and GDP per capita influence the extent of food insecurity in Namibia.The Variance Inflation Factor (VIF) values are all less than 10, and there is strong evidence for not suspecting multicollinearity [62].The mean VIF is 2.28, and the prob > chi2 = 0.36.The null hypothesis of constant variance cannot be rejected at a 5% significance level.The above finding implies no suspicion of heteroscedasticity in the residuals.

Discussion
The RCA and LFI of agri-food commodities during the study revealed mixed results.The RCA for live animals, meat and meat preparations, fish, and raw hides in Namibia showed a comparative advantage during the study period from 2000 to 2021.This implies that Namibia was a net exporter of the above-mentioned agri-food commodities.On the other hand, dairy, coffee, cereals, except in 2002, miscellaneous, silk, and animal and vegetable oils showed a comparative disadvantage during the study period of 2000-2021.However, vegetables and fruit, and tobacco showed mixed results.Vegetables and fruit showed a comparative advantage from 2005-2010 and 2021 and a comparative disadvantage the rest of the study period of 2000-2004 and 2011-2020.Tobacco showed a comparative advantage in three years, 2000, 2017, and 2018 and a comparative disadvantage in the rest of the study period of 2001-2016 and 2019-2021.This study concurred with Constantin et al. [63], which found that a competitiveness trade-off cereal chain from Ireland, the Netherlands, Belgium, and Portugal and the opposite was observed for Romania, Bulgaria, and Hungary.
Further, Taghouti et al. [64] found that the Tunisian export of fish is competitive.Regarding vegetables and cereals, Tunisian export is not competitive.However, their findings regarding live animals contradict this study's findings.
LFI indicated fish showed a significant comparative advantage.This implies that the higher the value of this index, the more specialized Namibia was in the fish trade.It was the fact that live animals also showed a comparative advantage for 14 years (2001-2007, 2010-2011, 2015, 2014-2019 and showed a comparative disadvantage for the rest of the years (2000, 2008-2009, 2012-2014, 2016, 2020-2021).The RCA and LFI of live animals and fish indicate that a comparative advantage implies a net export and greater specialization for these products.These findings concurred with Bahta and Willems [10], pointing out that the RCA explained how it fits into the global trade picture and that the RCA is based on relative export shares, which could be skewed due to trade non-trade restrictions.
The EDI and HI result shows that all agri-food commodities were close to zero, indicating a less concentrated trade structure.Further, the result attested that lower trade concentrations would lessen the impact of international trade risk due to the likelihood of price fluctuation in the global market.Furthermore, the MEC result confirms that all agri-food commodities were below 50%; this is interpreted as Namibia not being overly reliant on the agri-food commodities mentioned above.These findings agreed with Nin-Pratt et al. [61], who discovered that Namibia's top agricultural export goods were fish, grapes, beef, and non-alcoholic beverage.
The regression result indicated that labor and land productivity significantly negatively influence the aggregated RCA, and land productivity has a significant negative relationship with the aggregated LFI for agri-food commodities.When looking at the implication of RCA and LFI on food security, of the five variables, only land productivity and GDP per capita influence the extent of food insecurity in Namibia.This implies that Namibia's agrifood industry had a less concentrated trade structure and did not depend on international trade from the agri-food industry and does not have much implication for food security.These evaluations provide policymakers with information on agri-food competitiveness, factors that influence the industry's competitiveness, and implications for food security.These findings aligned with the results of Hamulczuk and Pawlak [65]; they proved that increasing trade openness and relative demand have a positive impact on the international competitiveness of the food industry and food security worldwide.Besides, European Commission [66] highlighted that, in the agri-food sector, productivity, including land productivity is the most reliable indicator of competitiveness in the long term to enhance food security.Furthermore, Patel-Campillo [67] indicated that agri-export specialization (competitiveness) increases food security by fostering economic growth through foreign exchange earnings and increased employment.
The findings revealed that agricultural productivity was critical in defining Namibia's agri-food sector and competitiveness.Increased production and productivity are crucial to meet the ever-increasing demand for food and agri-food products while enhancing income and competitiveness.Increased competitiveness in countries such as Namibia is critical because many people rely on agriculture, and smallholder farming is sustained; as a result, poverty and hunger are reduced, thereby achieving the SDGs 2030 agenda for ending hunger and poverty [35,68].The study findings contradict those of Matkovski et al. [35] and Jambor and Babu [69], who discovered a negative relationship between GDP per capita and agri-food competitiveness.Further, the findings against the study by Bahta [21], who found that GDP per capita significantly positively influences comparative advantage besides productivity.

Conclusions
The SDGs, adopted by the member States of the United Nations in September 2015, show that agri-food trade is essential to achieve sustainable food and nutrition security.Different drivers (at global, domestic, and local levels) have changed the structure and functioning of the agri-food trade.Agri-food trade means both challenges and opportunities for the actors of the agri-food value chains.It also has implications in terms of food security.Indeed, the factor determining the competitiveness of agri-food affects food security.Therefore, attaining long-term food security means understanding the dynamics of global agri-food trade as well as the governance and functioning of domestic agri-food markets is crucial.In fact, agri-food markets ought to be managed to increase the advantages of widened access to markets while mitigating the risks related to higher exposure to international competition and market volatility.As highlighted by Constantin et al. [63], to achieve SDGs divergent action is required such as strategies designed to capitalize on sustainable economic competitiveness.Agricultural sustainable economic competitiveness can be achieved through a mix of strategic actions of decision-makers, which needs to be grounded in a solid factor endowment foundation and efficient trade specialization policy.
This research aims to determine the competitiveness of Namibian agri-food products, the factors that influence them, and the implication for food security.The study revealed: (i) a mixed result of RCA and LFI of agri-food commodities, (ii) a less concentrated trading structure, (iii) Namibia was not reliant on overseas commerce from the agri-food sector, (iv) labor and land productivity has a significant negative influence on the aggregated RCA and LFI, and (v) land productivity and GDP per capita influence the extent of food inse-curity in Namibia.This implies the importance of agricultural productivity to Namibia's agri-food competitiveness.As a result, the Namibia government, with stakeholders in the industry, should strengthen the agri-food sector's competitiveness to endure global market pressure.Instead of exporting value-added products, Namibia could reduce its reliance on imported raw materials by developing a competitive food industry, enhancing productivity, and enhancing the performance of supporting industries and logistics infrastructure.Productivity, including labor and land in the agri-food sector, is a vector of competitiveness that should be empowered starting from primary agriculture and should be harnessed.Raw agricultural materials can provide strategic competitiveness if they are used in processing activities and then generate high levels of comparative advantage as a result of beneficial trade flows.This means that Namibia's future agriculture and agri-food policies should prioritize the development of a modern agribusiness industry.Trade-based measures of competitiveness provide a realistic indicator of underlying competitiveness only in the absence of significant barriers to trade, the impact of domestic market influence was a limitation.However, the study believes the results are reliable enough to draw agri-food policy recommendations.The study recommends that future research should incorporate trade and non-trade barriers and domestic market influence, which was beyond the scope of this study.

Figure 1 .
Figure 1.Conceptual framework of the determinants to the revealed comparative advantage (RCA).

Figure 1 .
Figure 1.Conceptual framework of the determinants to the revealed comparative advantage (RCA).

Table 1 .
Regression results for the RCA.
Notes: * indicate p-values significant at 1% levels; t-values estimated on robust standard errors in parenthesis.

Table 2 .
Regression results for the LFI.

Table 3 .
Regression results for the HFIAS-RCA as explanatory Variable.
Notes: * and ** indicate p-values significant at 1% and 5% levels, respectively; t-values estimated on robust standard errors in parenthesis.

Table 4 .
Regression results for the HFIAS-LFI as explanatory Variable.

Table A3 .
Export diversification and major export categories for food and live animals.

Table A4 .
Export diversification and major export categories for food and live animals.

Table A5 .
Export diversification and major export categories tobacco, crude material, and vegetables.