Genetic algorithm modeling of European Union firms ’ competitive advantage

Purpose – This research aims to identify the optimal configuration of investment which leads firms to their best competitive positions, considering the degree of concentration in the market. Design/methodology/approach – The methodology was quantitative and based on secondary data with samples of 124, 106 and 90 firms from competitive environment classified as perfect competition, monopolistic competition and oligopoly, respectively. Proposed models ’ parameters were estimated by means of genetic algorithms. Findings – Adjustments on firm ’ s investment are contingent on the degree of competition they face. Results are in line with existing academic research affirmation that the purpose of investments is to create and exploit opportunities for positive economic rents and that investments allow firms to protect from rivals ’ competitive actions and reinforce the need for investment decision makers to consider the environment in which the firm is competing, when defining the amount of investment that must be done to achieve and maintain a favorable competitive advantage position. Originality/value – Thisresearchbringstwomainoriginalcontributions.Thefirstoneistheidentificationof the optimal amount of capital and R&D investments which leads firms to their best competitive positions, contingent to the degree of concentration of the competitive environment in which they operate, and the size of the firm. The second one is related to the use of genetic algorithms to estimate optimization models that considers the three competitive environments studied (perfect competition, monopolistic competition and oligopoly) and the investment variables in the linear and quadratic forms.


Introduction
The effects that firms' investment exert on firms' competitive position, considered the degree of competition, have been approached by several authors, mainly with the identification of linear effects, but none of them proposed the identification of the optimal configuration of investments that leads firms to achieve competitive advantage. This research aims to identify the optimal configuration of Capex and R&D investments which leads firms to the best competitive positions, considering the degree of concentration in the markets in which they operate.
This research brings two main contributions. The first one is the identification of the optimal amount of capital and R&D investments which lead firms to their best competitive positions, contingent to the degree of concentration of the competitive environment in which they operate, and the size of the firm (control variable). The second one is related to the use of genetic algorithms to estimate optimization models that consider the three competitive environments studied (perfect competition, monopolistic competition and oligopoly) and the investment variables in the linear and quadratic forms.
Competition could be approached under two contexts. The first one, worldwide economics, considers that countries and economic groups compete for greater capacity to accumulate resources, to generate jobs and to have access to technologies. The best the nation's economy competitive position, the best the population quality of life (Bazoobandi and Nugent, 2017;Bazoobandi and Alexander, 2020), and the greater the nation's politic and economic influence in the decisions of the economic group to which they belong (Xiaotong and Keith, 2017).
In the second one, the context of firms, which is the focus of this research, the most competitive tend to be those firms with the highest internal capacity to create value (Ma, 1999) by means of product and process-innovation (Arrow, 1962;Boone, 2000;Agustia et al., 2022;O'Leary et al., 2022) and those located in industries, countries, or regions with competitive environments conducive to good results (Peneder, 2009;Wu et al., 2017). Thus, competitive advantage is built through the interaction between internal and environmental factors (Ringov, 2017), and firms are considered effective and competitive when they manage to create superior value to their competitors (Ghemawat and Rivkin, 1998), in terms of growth and profitability (Ştefan and Coca, 2011;Brito and Brito, 2014). The possibility of combining profitability and growth strategies to achieve a better competitive position means that there must be a balance between them (Dias et al., 2019a, b).
Thus, a firm is competitive when it optimizes its resources and opportunities to gain a medium and long-term advantage over its rivals (Gradinaru et al., 2017;Machokoto et al., 2021;Agustia et al., 2022). Therefore, expertise is needed to realize that efforts to use high technologies could create competitive advantages in environments where technology evolves rapidly, but not in environments where technology is slowly advancing. In circumstances where resources are limited, managers should consider the influence of environmental contexts. Therefore, they should consider the competitive position of the firm in the market, in the process of resources allocation (Yang and Tu, 2020;Dias et al., 2022).
The competitive advantage needs to be sustained for the perpetuation of firms in the market. However, the context of competition is characterized by transitory competitive advantages (Kanuri and Mcleod, 2016) and, to achieve the best competitive positions, firms constantly adjust their strategies, considering internal and external factors (Wilden et al., 2016;Fainshmidt et al., 2019;Agustia et al., 2022;Dias et al., 2022). These adjustments involve directing investment strategies and decisions to place greater emphasis on growth, profitability, or both (Brito andBrito, 2012, 2014;Dias et al., 2019b). Thus, factors such as competitive environment, investment strategies decisions and firm's competitive position are in constant interaction (Dias et al., 2020).
This study presents relevant contributions to the empirical literature. First, the analysis of the relationship between firms' investment and competitive advantage under three different competitive environments is approached by means of genetic algorithm models, using data from EJMBE firms located in countries that are members from European Union. Second, the identification of different results, conditioned by degree of competition, contributes to better understanding of the dynamics of the firms' investments and its relations to competitive environments.

Theory
Research on business strategies focuses mainly on understanding the factors that make a firm most competitive in the environment in which it operates, as well as the processes responsible for achieving this competitive position (H akansson and Snehota, 1989). Generally, firms are considered effective and competitive when they accumulate resources throughout their existence, interacting with the environment in which they compete, and the resource accumulation is fundamental to its existence (H akansson and Snehota, 1989). In this context, H akansson and Snehota (1989) stated that "[n]o business is an island", suggesting that every organization needs to consider the business environment where it is inserted, because, regardless of its location, most businesses are affected by global competition.
Investments made by firms may focus on the creation, extension, upgrade, protection, or maintenance of the firm's unique asset base. Investment decision-making is related to the ability to detect opportunities and threats, seize opportunities and maintain competitiveness through improvement, combination, protection and, when necessary, reconfiguration of the firm's assets. However, detecting opportunities and threats astutely is necessary, but not enough, to succeed when surprises occur in a business environment. The firm should also seize opportunities in a timely manner by successfully innovating and implementing new systems that take advantage of external changes (Stewart, 1998;Perez and Fam a, 2006;Teece, 2007;Teece et al., 2016;Schoemaker et al., 2018;Peng et al., 2021).
Firms that have the greatest capacity to generate economic value tend to gain competitive advantage over their competitors. Thus, the competitive advantage of a firm corresponds to the economic value that it can create, through its investments (Barney and Hesterly, 2011;Santos et al., 2017;Afonso et al., 2018;Karmarkar and Plassmann, 2019;Pallant et al., 2020;Machokoto et al., 2021).
The investment decision-making capacity is necessary to promote the organizational agility necessary to deal with the uncertainties and demands imposed by innovation and dynamic competition, associated with the context of the organizational environment (Teece et al., 2016;Tell et al., 2016;Pascucci, 2018;Schoemaker et al., 2018;Karmarkar and Plassmann, 2019;Pallant et al., 2020;Peng et al., 2021). Innovation is considered a strategic factor for the survival and growth of firms, especially in the face of great competitive pressure, directly affecting their competitive position (Pascucci, 2018). This capacity for innovation refers to the capacity of firms to react or cause changes in the business environment, in search of the maintenance or acquisition of a better competitive position (Teece et al., 1997;Teece, 2018).
The more competitive and dominant the firm, the more value it will offer to the market, compared to its competitors, through the transformation of raw materials into products and services (Wernerfelt, 1984;Porter, 1986Porter, , 1999H akansson and Snehota, 1989;Camis on et al., 2016;Wilden et al., 2016;Ringov, 2017;Wu et al., 2017;Namada, 2018Yuan et al., 2018Fainshmidt et al., 2019. In this sense, firms seek to increase their competitive position, but can converge to a position of parity, due to restrictions imposed by technology, economy, regulations, labor processes, market concentration and other characteristic factors of the industry where they are in (Eisenhardt and Martin, 2000;Goudarzi, 2013;Kumar and Ranjani, 2018;Machokoto et al., 2021). Industry also affects the firm's competitive position through the ability of other competitors, as the industry operates with a constant cycle of innovation and imitation, in which firms seek innovative capabilities to gain an advantage over the firms that are in the same industry. To the extent that they are successful, other firms follow suit, adapting and improving what their competitors are doing (Lampel and Shamsie, 2003;Santos et al., 2017;Dias et al., 2019b;Alam et al., 2020;Peng et al., 2021).
Thus, firms also differ in their competitive position in the market, which can not only be influenced by their own operating characteristics and internal capacity (Porter, 1980;H akansson and Snehota, 1989;Teece et al., 1997;Namada, 2018), but also by the environment in which they operate (Porter, 1980;H akansson and Snehota, 1989;Sener, 2012;Camis on et al., 2016;Wilden et al., 2016;Ringov, 2017;Santos et al., 2017;Wu et al., 2017;Yuan et al., 2018;Dias et al., 2019b;Fainshmidt et al., 2019;Alam et al., 2020). It should be considered that the firm's competitive position, in addition to being influenced by its capabilities, is also influenced by the external competitive environment configuration, whether it is industry, country or region to which it is linked.
The effects of firms' investments on competitive position have been approached by many authors with different results. Some of them concluded that firm growth by investment positively influences firm's competitive advantage (Kulatilaka and Perotti, 1998;del Sol and Ghemawat, 1999;Tsai and Wang, 2004); that firms investment have a positive effect on firms' performance, which is commonly used as a proxy to competitive advantage (Brailsford and Yeoh, 2004;Amir et al., 2007;Gupta and Banga, 2009;Fang Yang, 2014;Pandya, 2017;Zuoza and Pilinkien_ e, 2019;Kim et al., 2021); that the effects of R&D investments on competitive advantage are contingent on the degree of competition faced by firms (Miller et al., 2005;Tubbs, 2007;Rav selj and Aristovnik, 2020), and that firms adjust their investment in R&D and in Capex when facing financial constraints in times of crisis (Flammer and Ioannou, 2021).
Based on the presented theoretical approaches, we propose that, Proposition. Firms should increase the amount of investment in both Capex and R&D to increase the competitive position, the less concentrated the competitive environment.

Methods
In this section we present the path and procedures chosen to carry out the research, as well as the variables that were used to measure the constructs that make up the model and its operationalization for data generation. The genetic algorithms method was used to identify the optimal configuration of strategic factors (investments in Capex and R&D) that leads to the best competitive position of firms, considered the degree of concentration in the industry. According to Lee et al. (2002) the genetic algorithm is a computational tool that provides mechanisms to understand competition from the evolutionary perspective. One of these mechanisms is known as selection, and it can identify winners and losers over time (Lee et al., 2002). In this way, Lee et al. (2002) points out that genetic algorithms are composed of mathematical structures and therefore allow the conduction of an economic analysis without the need to resort to assumption.

Research model
When processing genetic algorithms through Evolver software®, version 7.5, values were estimated for the construct competitive position, according to Equation (1), elaborated with reference in the hypothetical model that was tested through the processing of a structural equation model. The parameters of the model were established as: population size equal to the number of cases in each competitive environment; crossover rate of 0.500; and mutation rate equal to 0.100. Squared effects of competitive environment (concentration) and Investment were included in the model after the analysis of the graphs presented in Figure 1, which represents the relationships between competitive environment's degree of concentration and firms competitive position, and between firms investments and firms competitive position. Figure 1. Relationship between concentration, investment and competitive position European Union firms' competitive advantage The genetic algorithm model was elaborated with the objective of identifying which amount of investment (Capex and R&D -Equation (2)) maximize the mean value of the estimated competitive position. The indicators' coefficients were estimated by structural equations modeling, for each one of the three competitive environments considered in the analysis and for the most recent available year (2017) in the samples.
Capex 5 Investment in capital.
R&D 5 Investment in research and development.
The increase in firms' competitive position that will be achieved as a consequence of the increase or the decrease on Capex and R&D investments, is obtained by the difference between competitive position estimated (Equation (1)), and the original competitive position values (Equation (3)), for each one of the firms in the samples. Where: CPo 5 Competitive position -original.
MS 5 Market share.
ROA 5 Return on assets.
The operationalization of the dependent and independent variables in Equations (1) through (3) is presented in Table 1.

Samples
Data was collected from Thomson Reuters Datastream®, and samples are composed of 124 cases representing firms in competitive environment classified as perfect competition, at the year EJMBE of 2017, 106 cases representing firms in competitive environment classified as monopolistic competition, and 90 cases representing firms in competitive environment classified as Oligopoly, according to the classification presented by Djolov (2013), presented in Table 2. The number of firms in the sample per industry, per competitive environment is presented in Table 3.
The samples were above the minimum of 57 cases estimated for a test power of 0.950, effect size of 0.500 and significance bi-caudal test at 5% for the verification of differences between the means of paired groups, through the Wilcoxon test. G*Power 3.1.9.2 software (Faul et al., 2009) was used to calculate the minimum sample size.
As one can see in Table 3, 50% of the firms in perfect competition competitive environment (62 from 124) are in the top 1,000 ranking of R&D investment elaborated by the European Commission for the year of 2017, and above 29% are in the top 500 (35 from 124). A total of 59% of the firms in monopolistic competition competitive environment are in the top 1,000 (63 from 106), and 43% are in the top 500 (46 from 106). A total of 55% of the firms in oligopoly are in the top 1,000 ranking of R&D investment (50 from 90) and 28% are in the top 500 ranking (26 from 90) (European Commission, 2022).
The year of 2017 was chosen for the study because it represents the maximum growth in European Union's GDP in the after 2008 crisis and before the Brexit period (growth of 2.2% in

Genetic algorithms models results
Equations (4)-(6) were used as references to the estimation of the values of competitive position, for the environments perfect competition, monopolistic competition and oligopoly,   Table 2. Economic view of HHI EJMBE respectively. All the coefficients were obtained with reference in a hypothetical model that was tested through the processing of a structural equation model.
The original competitive position of the firm was calculated with reference on Equation (3), and the weights of the construct's indicators are presented in Equations (10)-(12), for perfect competition, monopolistic competition and oligopoly competitive environments, respectively. All the weights were obtained with reference in a measurement model that was tested through the processing of a structural equation model.
CPo ¼ 1:000MS À 0:024ROA (11) CPo ¼ 1:011MS À 0:058ROA As can be seen in Table 4, the differences between means for the competitive position construct, in the three competitive environments addressed in the research, are statistically significant, as well as the differences between the means for the Capex and R&D indicators, which were used to measure the investment construct. The significance of the difference between means was ascertained by Wilcoxon's nonparametric test. The positive value of the difference and the standard deviation values lower than the differences point to the increase in competitive position, with a tendency to the position of competitive advantage, due to the variation in investment in capital (Capex) and research and development (R&D), for the perfect competition and oligopoly competitive environments, according to the data presented in Table 4. As for the monopolistic competition environment, for the firms in the sample to achieve an advantageous competitive position, it will be necessary to avoid the negative variation of the competitive position by up to about 50.00% of a standard deviation, ideally the variation of the competitive position above a standard deviation - Table 4.
In fulfillment of the objective established for this research, was identified the optimal investment configuration in Capex equal to 1.790 and R&D of 1.990, both expressed in their logarithmic form, to obtain a value of competitive position equal to a maximum of 1.892, in the perfect competition environment. These figures represent a 147.66% increase in Capex investment and 101.19% in R&D investment, leading to 50.81% increase in the competitive position - Table 5.
For the monopolistic competition environment, as can be seen in Table 5, the optimal configuration of Capex investment equal to 1.068 and R&D of À0.095 was identified, both expressed in their logarithmic form, to obtain a competitive position equal to the maximum of 2.796. These figures represent a 56.97% reduction in Capex investments and a 104.03% reduction in R&D investment, leading to a 32.78% increase in the competitive position - Table 5.
As for the oligopoly environment, the optimal configuration of Capex investment equal to 1.856 and R&D of 2.030 was identified, both expressed in their logarithmic form, for the competitive position range equal to 3.199 - Table 5. These values would be achieved with an increase of 174.31% of investments in Capex and of 16.76% in R&D, leading to a 24.51% increase in the competitive position.

Conclusions
This research aims to identify the optimal configuration of Capex and R&D investments which leads firms to the best competitive positions, considering the degree of concentration of the markets in which they operate, and firm size as control variable. For this, we built a data sample of European Union firms from several industries, that were active in three competitive environments, namely perfect competition, monopolistic competition, and oligopoly, during the 2017 year.
Overall, we show that the adjustments on firm's investment is contingent on the degree of competition they face, leading them do achieve on competitive advantage goals. Results are in line with existing academic research affirmation that the purpose of investments is to create and exploit opportunities for positive economic rents and that investments allow firms to protect from rivals competitive actions, and reinforce the need for investment decision makers to consider the environment in which the firm is competing, in terms of degree of concentration and investment capacity of competitors, when defining the amount of investment that must be done to achieve and maintain a favorable competitive advantage position. These results are in line with the findings of Tsai and Wang (2004) Based on the results obtained by genetic algorithms models processing, it is possible to conclude that firms in the perfect competition environment operate with values below the ideal investment in both Capex and R&D. This investment behavior indicates a tendency to risk avoiding by firms that faces low degree of market concentration and, consequently, higher levels of competition, leading to a less than ideal competitive position of competitive parity. Efforts must be made to increase the competitive capacity of the firms that are aimed in achieving and maintaining market leadership, by increasing investments in Capex and R&D.
The model estimation results for firms in the monopolistic competition environment, point to the need for reduction in both Capex and R&D investments, which means that firms invest above the ideal to increase their competitive advantage. These results could be counterintuitive, but one must consider the negative effect of the degree of market concentration on the competitive position of the firms, leading firms that are not in a competitive advantage position to make investments with the objective of creating barriers to avoid aggressive behavior by powerful firms.
Firms in the oligopoly environment operate with R&D investments close to the ideal, while there is a greater discrepancy in relation to investment in Capex. To face the degree of concentration in the industry and to achieve a favorable competitive position (i. e. competitive advantage), firms must increase their investment in Capex, expanding the capacity of production and creating scale conditions to attend customers and, thus, increasing their market share.
The present study brings relevant theoretical contributions. First, previous studies have approached the effects exerted by firms' investment on performance and competitive position, and also the effects exerted by competitive environment on firms' investment. Therefore, the present study contributes to the theory field by using theories that considerers the interaction between competitive environment and firms' investments, and its relationships with firms' achievement, in terms of competitive position. Second, prior research has focused on the effects exerted by competition on firms' investment decisions and performance. This research extends this theoretical framework when fulfill the existing gap related to the identification of the optimal amount of investment that allows firms to achieve and sustain competitive advantage, considering the degree of concentration and competition in the competitive environment.
The results of the study have relevant implications for executives who decides on firm's investment to achieve a competitive position that is favorable to the firm. They show that the adjustment in the financial resources that should be allocated in R&D activities and Capex must be estimated under a nonlinear perspective instead of a predominantly linear perspective. Another contribution of the research to decision making is that managers should consider the degree of competition the firm face in the competitive environment, when European Union firms' competitive advantage forecasting the results of the implementation of resources allocation strategies, in conjunction with the firm's capacity of deploying financial resources.
Policy makers should consider the results of the study when defining programs focused on the development of a set of conditions that promotes innovation and allow firms to have access to resources to be allocated and used to achieve and keep a favorable competitive position.
We suggest considering the inclusion of proxies that represents dimensions of firms' sustainability, mainly under the economic, financial and social dimensions, in the model, and the expansion of the time length. This research presents the limitations of using only public traded firms' data to calculate industry concentration measures, and of only considering one year period.