Abstract
The article provides methodological details on the calculation of regional economic complexity indicators introduced in the DataViva platform's latest version, launched in 2023. The new version of the platform introduces four new indicators, constructed by adapting the original economic complexity methodology, originally based on export data, to employment and occupation data available in RAIS. This new methodology addresses the issues associated with using export data at the regional level and allows for a flexible definition of regions based on the aggregation of municipal data. These indicators include: (i) the regional economic complexity indicator (ECI-R); (ii) the activity complexity indicator (ACI-R); (iii) the activity density indicator (D); and (iv) the regional productive coherence indicator (PC-R). In addition to these new indicators, the article also presents the methodology for constructing the Activity Space.
Keywords:
regional economic complexity; complexity indicators; regional development policies; employment
Resumo
O artigo apresenta detalhes metodológicos do cálculo dos indicadores regionais de complexidade econômica introduzidos na plataforma DataViva em sua nova versão, lançada em 2023. A nova versão da plataforma apresenta quatro novos indicadores, construídos a partir da transposição da metodologia original da complexidade econômica, formulada com base em dados de exportações, para dados de empregos e ocupações disponíveis na RAIS. Essa nova metodologia contorna os problemas associados ao uso de dados de exportações em nível regional e permite uma definição flexível de regiões, a partir da agregação de dados municipais. São eles: (i) o indicador de complexidade econômica das regiões (ECI-R); (ii) o indicador de complexidade das atividades (ACI-R); (iii) o indicador de densidade (D) das atividades; e (iv) o indicador de coerência produtiva (PC-R) das regiões. Além desses novos indicadores, o artigo apresenta também a metodologia de construção do Espaço de Atividades.
Palavras-chave:
complexidade econômica regional; indicadores de complexidade; políticas de desenvolvimento regional; emprego
1 Introduction
As classic theories of economic development associate the development process with progressive changes in the sectoral composition of production. Therefore, growth and development are prerequisites for the continuous transformation of the production structure, achieved through the substitution of traditional sectors by progressively more modern sectors.
Furthermore, various studies emphasize the importance of productive diversification as a means to increase exports and income growth (Hausmann et al., 2007). Exports play a central role in development, not only as a significant source of autonomous aggregate demand but also due to their importance in generating the foreign exchange needed to finance the growth of imports that accompanies GDP growth.
Given the importance of exports and structural change for development, Ricardo Hausmann and César Hidalgo proposed a new methodology for the empirical study of economic development and its relationship with production structure and trade. Using disaggregated international trade data, the researchers developed measures of product complexity and the productive structures of countries based on the index of revealed comparative advantages (Hidalgo et al., 2007; Hidalgo and Hausmann, 2009; Hausmann et al., 2014a).
However, despite the originality and relevance of regional studies based on traditional indicators of economic complexity, there are serious limitations when it comes to using export data from a regional perspective. Firstly, the recording of exports does not necessarily reflect the actual location of production for a good. Exports are often recorded in the exporting municipality rather than the producing municipality, which introduces a significant bias in regional analyses. Secondly, data on intermunicipal or interstate trade, which could be considered as "exports" between federal entities, are not taken into account. This reality also introduces bias, especially in a vast country like Brazil with continental proportions.
To address these issues, an alternative is to use disaggregated employment data available in the Annual Report of Social Information (RAIS) to calculate complexity indicators in a manner analogous to the calculation applied to export data. For this purpose, an original methodology for calculating complexity indicators from employment data was developed by Freitas (2019).
Considering the importance of these indicators and their enormous potential for use in the design of productive development policies, both at the national and regional levels, the objective of this paper is twofold: (i) to provide a detailed presentation of the methodology for calculating the regional economic complexity indicators base on employment data and available on the DataViva Platform; and (ii) to show that the employment-based complexity indexes perform better than export-based complexity indexes for predicting regional GDP and employment growth.
Section 2 offers a brief history of the platform and the database used. Section 3 outlines the methodology for calculating regional economic complexity indicators, along with some illustrative results and a comparison exercise between complexity indicators calculated with employment and export data. Section 4 presents density, productive coherence, and opportunity gain indicators. Section 5 introduces the space of activities, and Section 6 showcases the data structure of DataViva. Finally, concluding remarks on the methodology and the potential for using these indicators are presented.
2 DataViva and the database for calculating regional complexity indicators
In addition to producing studies with significant academic impact, the complexity approach has also led to the development of an economic analysis tool known as the Product Space. This forms the basis of the Atlas of Economic Complexity, developed and maintained by Harvard University's Growth Lab. Initially, this tool was employed for the study and visualization of indicators related to the economic growth and development of countries, as this process is closely associated with diversification and the increased complexity of a country's production.
The Product Space allows us to represent, based on a country's export portfolio, the connections that exist between products in the global economy and the comparative advantages that each country possesses in each of these goods. It is assumed that countries with a comparative advantage in exporting a particular good have the capacity or the necessary productive knowledge for the competitive production of that product. These capabilities can be ascribed to various factors, such as the quality of these factors, technological advancements, institutional strength, infrastructure, and more. The more productive knowledge a particular locality possesses, the greater the number of products it can produce and export, and consequently, the more complex its economy becomes.
In Brazil, inspired by the Product Space and the Atlas of Economic Complexity, the Government of the State of Minas Gerais developed the DataViva Platform in partnership with the Massachusetts Institute of Technology (MIT). Built upon the economic complexity approach, DataViva was conceived with the aim of supporting the identification of the best path(s) to diversify the productive structure and promote economic development. Designed to be user-friendly and intuitive, fully developed using open-source software and accessible to the public, the platform seeks to contribute to the implementation of policies, both public and private investments, as well as facilitate academic research.
The platform, which has been in existence for ten years, came under the management of Cedeplar/UFMG in 2022, marking the beginning of a process to update data, improve the page layout, and introduce new indicators. Funded by the Minas Gerais State Research Support Foundation (Fapemig), its implementation is supported by the institutions that make up the state's economic development system. The databases were made available by the Ministry of Labor and Employment (MTE) and the Ministry of Development, Industry and Foreign Trade (MDIC).
The creation and expansion of these platforms occurred concurrently with the development of numerous studies on economic complexity. Since the seminal articles, various studies have pointed out that an increase in complexity is associated with higher per capita GDP growth (Hidalgo and Hausmann, 2009; Hausmann et al., 2014a), lower inequality (Hartmann et al., 2017), and reduced greenhouse gas emissions intensity (Romero; Gramkow, 2021), among other factors. In fact, the economic complexity approach has proven to be highly fertile, with its applications expanding into a wide range of areas and topics (Hidalgo, 2021).
Within these several lines of research, one particularly important initiative was undertaken by the Center for International Development (CID) at Harvard. In these studies, complexity indicators began to be used to support the design of productive development policies for developing countries, such as Uganda (Hausmann et al., 2014b), Rwanda (Hausmann and Chauvin, 2015), and Panama (Hausmann et al., 2016).
In the same vein, researchers from Cedeplar-UFMG developed a methodology similar to that of CID-Harvard. With significant adaptations driven by the available databases in the country, studies were conducted to identify promising sectors for productive development in Brazil, as well as its states and regions (Romero; Freitas, 2018; Freitas, 2019; Romero et al., 2025; Freitas et al., 2023).
The use of progressively more disaggregated data has also opened up new research possibilities at the regional level. Given that economic activities have well-defined territorial characteristics, several studies using economic complexity indicators have also highlighted the importance of productive diversification towards more complex sectors for regional development (Frenken et al., 2007). Moreover, in the European Union, for instance, complexity indicators played a crucial role in shaping new productive development strategies known as smart specialization strategies (Balland et al., 2019).
As mentioned earlier, despite the originality and relevance of regional studies based on traditional economic complexity indicators, using export data from a regional perspective presents significant limitations. Firstly, exports may not accurately represent the actual location of production, often being attributed to the exporting municipality rather than the producing one, introducing substantial bias in regional analyses. Secondly, data regarding intermunicipal or interstate trade, which could be considered as “exports” between federal entities, are often omitted, which is particularly problematic in large countries like Brazil. To address these issues, an alternative approach involves leveraging disaggregated employment data from the Annual Report of Social Information (RAIS) to compute complexity indicators, following a methodology developed by Freitas (2019).
This methodology brings significant advantages. Firstly, by using data by establishment, the location of units is well-defined, ensuring the representation of production in the territory. Secondly, the use of employment data by firms also allows for the compatibility of the calculated indicators with sector classifications and occupation information. This way, new regional-level economic complexity indicators such as density indicators, local productive coherence, and opportunity gain could be developed and calculated. Thirdly, given the vast volume of information contained in the database, the methodology that gave rise to the Product Space could be adapted to create the original Activity Space. These methodologies have already been tested and have shown better results at the subnational level compared to indicators calculated based on exports.
Recognizing the importance of economic complexity indicators in recent literature on economic development, the new version of DataViva, officially launched in June 2023, provides free and open access to a wide range of complexity indicators. These indicators cover 670 economic activities (CNAEs) from the RAIS, 5,572 municipalities, 558 microregions in Brazil, 133 intermediate regions, 27 Federal Units (UFs), and 5 macro-regions. In this new version, additional regional complexity indicators have been made available, alongside updates to the classical economic complexity indicators.
In addition to fulfilling its original role of intuitively and accessibly illustrating essential characteristics of the Brazilian economy, these indicators are particularly relevant for the formulation of regional development policies. This relevance is illustrated by studies conducted for Mexico (Hausmann et al., 2020a), Buenos Aires (Hausmann et al., 2020b), and Brazilian regions (Freitas, 2019; Freitas et al., 2024; Queiroz et al., 2024; Freitas et al., 2023).
For the calculation of the economic complexity indicators present in the database, the Annual Report of Social Information (RAIS) database from the Ministry of Economy's Secretariat of Labor (Brazil, 2020) was used. RAIS is an administrative records database that contains information on all formal establishments and employment relationships in Brazil, whether under the CLT (Consolidation of Labor Laws) or statutory employment. The reporting of information is mandatory, and it is the responsibility of the establishments. RAIS provides data on formal establishments, employees, and the type of relationship between establishments and employees, known as employment links.
The data allows the identification of the municipality in which each company that made the declaration is located. As a result, it is possible to obtain the number of employment links in each municipality, each year, broken down by each sector of economic activity. Consequently, through the aggregation of municipalities, it is possible to calculate the number of jobs for various regional subdivisions, such as microregions, intermediate regions, and states, among others.
From the RAIS, therefore, one can obtain the fundamental information for the calculation of the complexity indicators included in the database, which is the stock of jobs in each sector and region. In line with the methodology outlined by the Ministry of Economy and widely embraced in the national literature on labor and employment, the annual job count is established based on the total number of active employment links as of December 31st each year.
For the calculation of economic complexity indicators at all regional levels, the segmentation provided by the National Classification of Economic Activities (CNAE) was used, with disaggregation at the class level (5 digits), encompassing a total of 670 economic activities.
3 Regional Economic Complexity Index
For the calculation of economic complexity indices, the method of reflections was employed, following the proposal by Hidalgo and Hausmann (2009), with its application using regional employment data from RAIS introduced by Freitas (2019). To arrive at the economic complexity index and other indicators, the first step involves calculating the Revealed Comparative Advantage (RCA) of each region in each year, following Balassa's (1965) methodology. The outcome illustrates in which sectors of economic activity each region demonstrates productive specialization.
At the regional level, when employing employment data, the RCA indicator is equivalent to the Location Quotient (LQ) indicator, which is given by:
Where represents the employment in sector s in region r. If is greater than or equal to 1, we consider that region r has a comparative advantage in the economic activity sector s.
It is important to note that, in this case, we are analyzing comparative advantage concerning other regions in the country, whether they are municipalities, microregions, intermediate regions, or even states. Furthermore, it is assumed that localities with a higher proportion of employment in a specific sector compared to the national average are competitive in that sector. In other words, these localities have a revealed comparative advantage in terms of employment in that particular sector compared to other localities. Thus, it is presumed that a higher concentration of production in a specific sector, measured by employment, is related to greater competitiveness.
Knowing which regions have comparative advantages in each of the sectors makes it possible to construct a matrix with regions in the rows and sectors in the columns, where the entries are determined as follows:
From the revealed comparative advantage indicator, two intermediary indicators are calculated: (i) the diversification of regions, which is determined by the number of activities in which the region specializes, and (ii) the ubiquity of productive activities, which is determined by the number of regions where each productive activity is performed with a revealed comparative advantage.
Formally, the diversification measure () is given by:
And the ubiquity measure () is given by:
Using these indicators of the ubiquity of productive activities and the diversification of regions, the reflection method is applied to arrive at the economic complexity indicators. The reflection method involves successive interactions between the ubiquity and diversification indicators. The generalized form of each iteration level is given by the following equations, where N indicates the level of iteration:
Substituting (5) into (6):
Where and r’ denotes other regions outside of r.
This process generates square matrices of regions and sectors in which the associated eigenvectors exhibit the variance of the system that reveals latent information about it. Equation (7) is satisfied when , which is the eigenvector associated with the largest eigenvalue of . However, since this eigenvector consists of ones, it is uninformative. Therefore, the eigenvector associated with the second largest eigenvalue () is used to capture most of the variance in the system. In other words, from the distance around the mean of each region's element in the eigenvector associated with the matrix of regions, it is possible to obtain the Economic Complexity Index of the regions (ECI-R), given by:
Where < > denotes the mean, and stdev represents the standard deviation.
The same procedure is used to calculate the Activity Complexity Index (ACI-R), but now substituting (6) into (5) and using the eigenvector associated with the second largest eigenvalue () of the matrix :
In the end, higher levels of economic complexity are associated with regions that exhibit higher levels of productive diversification and engage in more sophisticated economic activities. Table 1 presents the results of the ECI-R for the year 2021, for the top ten municipalities with the highest and the bottom ten municipalities with the lowest complexity indices.
It is crucial to emphasize that the complexity measure is an annual relative measure among units of the same regional level, with scores standardized by standard deviations around the mean. Therefore, it is not possible to compare the value of the economic complexity indicator from one year to another. To make comparisons over time, it is necessary to use the positions of regions in the economic complexity ranking.
Figure 1 illustrates the regional economic heterogeneity in Brazil, reflected in the economic complexity of its municipalities. In addition to the significant variation in indices among municipalities and states, it is also possible to visualize the challenge of regional representation for municipalities with very large territorial dimensions.
Table 2 presents the activities with the highest and lowest ACI-Rs in 2021. The table shows that the most complex sectors are generally related to sophisticated financial services, while the least complex sectors are related to agriculture. Consistent with the literature, this means that these are activities that exist in municipalities where there is greater diversification of economic activities as a whole, but these activities are relatively rare when the entire country is considered. It is also important to note that the use of employment data requires careful interpretation of the results, reflecting the richness of the data and indicators. For example, it is worth highlighting how the public administration sector appears at the bottom of the ranking. Indeed, it is a very important sector that requires specialized labor and brings together a set of specific skills and qualifications. However, due to legislation, the location of public administration must be ubiquitous, regardless of the variety of other activities in a given municipality, thus compromising its complexity indicator.
3.1 Regional Economic Complexity Index vs. Export Economic Complexity Index
For demonstration purposes, the following exercise compares the results obtained from measuring the economic complexity indicator using employment data (ECI-R) and export data (ECI-X). Following the literature on the subject, we analyze the effect of complexity in the 558 Brazilian microregions between 2010 and 2021 on the growth of GDP per capita (Hausmann et al., 2014a) and the proportion of formal employment to the total population (Romero et al., 2025). To do this, two sets of regressions were estimated, taking into account the ECI-R and ECI-X, and the two dependent variables: GDP per capita and the ratio of formal employment to the population.
The regression specification estimating the effect of ECI on GDP per capita is given by:
Where the tested ECI will be either ECI-R or ECI-X. Among the explanatory variables, besides complexity, we consider the initial GDP per capita, the interaction term between complexity and GDP, and other control variables represented by the vector x. The use of initial GDP per capita and the interaction term follows the specifications tested in the literature to consider, respectively, the effects of economic growth convergence and the non-linearity of the complexity effect on the evolution of GDP per capita. For the control variables, two measures were used: (i) population, to capture possible scale effects, and (ii) the percentage of employees with incomplete or complete higher education, as a proxy for human capital in the region. The fixed effects for each microregion i and year t of the analysis period are given by and , respectively. Finally, represents the error term.
A similar investigation of the relative importance of the complexity indicators presented in equation (10) was carried out by Cardoso et al. (2024). Using the regional economic complexity index calculated with employment data from DataViva, the authors showed that industrial complexity (calculated using employment) is more adequate to capture local knowledge bases and predict the growth of Brazilian micro-regions than the economic complexity (calculated using exports).
The novelty of this paper in relation to Cardoso et al. (2024), therefore, is to show that: (i) their results are also true for municipalities; and (ii) complexity indexes calculated from employment are also better at predicting the growth of employment per capita than complexity indexes calculated from exports.
Hence, to assess the impact of complexity on formal employment per capita in each microregion, a similar specification was adopted:
Where refers to the number of formal jobs per capita. The remaining variables follow the same definitions as the equation presented earlier, and similarly, the estimation will consider both ECI-R and ECI-X.
Initially, Figure 2 provides an exploratory analysis of the relationship between complexity indicators, calculated based on employment and exportation, with the analyzed dependent variables. In both cases, a more satisfactory performance of ECI-R is observed, showing stronger correlations with GDP per capita and the volume of formal jobs per capita. Although ECI-X shows a positive correlation, the relationship between the indicators is weaker and reflects the potential issues that subnational analyses may encounter when considering this measurement approach.
Table 3 presents the estimated regressions to calculate the effect of complexity on GDP per capita growth. Models (i) to (iv) consider ECI-R, and models (v) to (viii) utilize ECI-X. It's worth noting that, in both cases, the variables have an influence in the same direction and, except for those involving complexity, present coefficients that are close. The initial growth of GDP per capita is positive and less than one, reflecting a gradual absorption process of potential by the economies. The interaction term of GDP and complexity, as expected, is negative, representing a marginal reduction in complexity gains as GDP and ECI grow. The results for the population variable, in its turn, indicate that the number of inhabitants negatively influences GDP per capita growth. The percentage of formal employees with complete or incomplete higher education was not significant. However, the main highlight concerns the influence of complexity. In all models, ECI has a positive effect on the growth of GDP per capita in the microregions, but this influence is even greater when evaluated by the indicator calculated from employment data (ECI-R).
Similar results are found for the relationship between complexity and the proportion of formal employment to the total population. Table 4 presents these estimations, considering ECI-R for models (i) to (iv) and ECI-X for models (v) to (viii). The most evident difference from the results in Table 3 is the positive coefficient, albeit small, of the interaction term between complexity and the employment ratio. This result indicates that there is still the possibility of marginal gains in formal employment from complexity as ECI and the proportion of formal jobs increase. Additionally, in line with other studies (Romero et al., 2025; Freitas et al., 2023), ECI appears as a positive influencing factor on the growth of formal employment per capita. However, this effect varies depending on the indicator used. The coefficients of ECI-R are significantly higher than the coefficients resulting from estimations with ECI-X.
The more satisfactory performance of ECI-R compared to ECI-X underscores the importance of methodological adaptation of the complexity approach to employment data in regional analyses. Indices calculated from exports carry structural issues of these data and are less effective in capturing local productive capacities. Problems such as the process of registering exports by the exporting municipality rather than the producing one, and the lack of accounting for intra-regional trade, in a country of continental dimensions, are weaknesses that influence the measurement of the indicator and hinder the estimation of the influence of complexity on local economies.
4 Density, regional productive coherence, and opportunity gain
4.1 Density (D)
To calculate the density indicator, we first define a measure of proximity for each pair of sectors, given by the co-occupation of productive activities, where there will be greater proximity between sectors the higher the number of occupations these economic activities (sectors) share.
First, we calculate an adapted version of the LQ (Equation 1) to capture effective occupations in each industry, as follows:
Where emp s,o is the employment in occupation o and in sector s; emp s is the total employment in sector s in the country; emp o is the total employment in occupation o in the country; e emp is the total employment in the country.
Thus, when OE s,o is greater than one, it indicates that the participation of an occupation in the employment of a sector is greater than the participation of that occupation in national employment. When OE s,o is greater than or equal to 1, we say that sector s effectively employs occupation o, and when OE s,o is less than 1, this sector is not an effective employer of that occupation.
We use OE to calculate the probability of a sector employing a particular occupation, given that this occupation is employed in another sector. We will use this information to determine the strength of connections between different sectors. Equation 13 presents the measure of co-occupation between two sectors s and s'.
Where for every sector s:
Figure 3 illustrates how the probability is calculated. The economic activity Automobile Parts has 6 effective occupations, while the Electronics activity has 7 effective occupations. There are 4 effective occupations that are common to both activities. In this example, and . Therefore, the of Automobile Parts and Electronics is 4/7.
This definition arises from the manipulation of the matrix defined earlier:
In the equation above, represents the ubiquity of the economic activity sector s, given by the number of regions that have a comparative advantage in sector s.
From the measures of proximity between activities, it is possible to define a density measure as the sum of proximity between all economic activity sectors where region r has RCA and sector s, divided by the sum of proximity between all existing economic activity sectors in the economy and sector s. Formally, it is defined as follows:
Therefore, the greater the proximity between the economic activities of region r and economic activity sector s, the higher the measure. In practical terms, a higher value indicates a greater proximity of the current productive structure of region r to economic activity sector s, which is not yet present in the region.
4.2 Regional Productive Coherence (PC-R)
There is often confusion in the literature on economic complexity and related diversification about what the density indicator means. Although the basic density indicator is normally calculated as presented in section 4.1, it is also common to use density to refer to the average density of the competitive sectors in a region. Hence, to differentiate the two measures, we believe it is best to call productive coherence the average density of competitive sectors in each region, following Neffke et al. (2018).
From the density measure of each activity s in each region r, it is possible to calculate a Local Productive Coherence Indicator (PC-R), which represents a summary measure of the distance between regions and sectors, given by the average of for each region:
Where NS is the number of sectors in the sample.
The measure of local productive coherence (PC-R), therefore, is higher when the region is closer to all other economic activity sectors that it does not yet produce. In other words, the higher the PC measure, the easier it is for the region to develop all the other existing economic activities. Figure 4 shows the levels of PC for Brazilian municipalities in 2021. As expected, the Southern, Southeastern, and Midwestern regions have the highest concentrations of municipalities with higher PC-R.
Figure 4 shows the spatial distribution of the PC-R indicator for Brazilian municipalities in the year 2021. As can be seen, the PC-R indicator is more related to the known distribution of Brazilian regional development, with the South and Southeast regions being more developed, compared to, for example, the distribution of complexity indicators presented in Figure 1.
4.3 Regional Complexity Outlook (CO-R)
Hausmann and Klinger (2007) considered the main methodological challenge of the Product Space to be the addition of a measure of the distance from a product to a location. With this in mind, the distance measure indicates how far a given product is from the current productive structure of a region, expressing the difficulty of that region gaining comparative advantage in this product. The idea here is that each product requires a set of productive knowledge that may or may not be shared in the manufacturing of other products (proximity). Products that are closer to other products in which the region already has comparative advantage will be more easily developed, precisely because some of the necessary knowledge is already present in the region. Distance is a measure that reflects the amount of new productive knowledge a region needs to acquire to manufacture and export a certain product with comparative advantage; in other words, the greater the distance, the more knowledge needs to be acquired, and the longer (or more difficult) the path to gaining an advantage in exporting this product.
However, what are the real benefits (in terms of adding complexity) that a region can gain from producing a certain product? With this in mind, Hausmann et al. (2014a) created a measure called Complexity Outlook Index (COI), which quan tifies the contribution that a new product can provide by opening doors to higher complexity products and thus making the economy more complex. We adapted this proposal using the regional indicators presented here to construct the Regional Complexity Outlook (CO-R), formally described as follows:
OG-R is an index that measures the increase in the economic complexity of the products that are not in the region's portfolio, weithted by their distance to local capabilities.. In other words, it measures the new productive knowledge that a region will acquire when it gains comparative advantage in a given sector. The idea behind this index is that each product can contribute to varying degrees to the economic development of a region by adding new productive knowledge and, consequently, reducing the distances of other sectors (with shared knowledge) from the region’s economic structure. In other words, a high CO-R associated to a product indicates that adding this product to the region's portloio contributes to bring this region closer to more complex products.
Regional Opportunity Gain versus Distance of Economic Activities for Belo Horizonte in 2021
Figure 5 exemplifies the use of the OG-R indicator. In this figure, we present a scatter plot of economic activities at the CNAE division level for the city of Belo Horizonte in 2021. The figure relates OG-R to the Distance indicator, which is calculated by subtracting the Density indicator from one, that is, 1 - , to show activities closer to Belo Horizonte's production structure (the further to the left on the horizontal axis, the closer the sector), and those activities with greater potential for future complexity gains in the region (the further up on the vertical axis, the greater the sector's complexity outlook). We highlight the Electronics Products sector as an industrial sector relatively close to the production structure and with significant potential to add future complexity to Belo Horizonte. It can be observed that although other sectors have higher OG-R values, their Distance is greater, indicating greater difficulty/cost for entry into those sectors.
5 Activity Space
The pioneering article by Hidalgo et al. (2007) aimed to investigate whether the sectoral composition of competitive exports of each country influences the trajectory, costs, and speed of their structural transformations. The authors proposed the construction of a network called the Product Space, calculated from the proximities between productive capabilities used for the competitive production of each pair of goods. These proximities were calculated as the probability of competitive co-export of each pair of goods, establishing a cutoff value to represent active connections.
Using the Product Space, Hidalgo et al. (2007) showed that, on average, less developed countries produce goods with fewer connections, which limits their diversification possibilities and makes it more costly for them to advance towards the production of more complex products, while the opposite occurs in developed countries. Thus, they showed that different countries face different opportunities to diversify their economies and boost their economic growth, given their distinct production structures and capabilities. In summary, the findings indicated that the productive structure of each country influences its growth and development possibilities, emphasizing the path dependence of knowledge and capacity accumulation.
At the regional level, using export data to measure economic complexity is problematic because transactions between regions within the same country are not accounted for. Furthermore, economic interactions between neighbors are stronger at the regional level, making knowledge spillovers more relevant. Finally, services play a more prominent role in regions, making it more relevant to consider these activities.
To overcome these problems, some studies have used employment or patent data instead of foreign trade data to calculate economic complexity indicators (e.g., Cardoso et al., 2024). The use of employment data has an additional advantage: it allows the use of information on the number of occupations within companies or regions to measure proximity based on occupation similarities (Farjoun, 1994, p. 188).
Following Freitas (2019), from the concept of co-occupation, it is possible to estimate the proximity of activities with similar jobs and construct complexity indicators using employment data. Proximity is calculated as the probability that an activity employs a particular occupation, given that another activity also employs that occupation (see Equation 12). This represents a different way of measuring similarities between activities, now taking into account occupational similarity.
Building upon the ideas and methodology of Hidalgo et al. (2007), the Product Space can be adapted to represent relationships between economic activities. To achieve this, it is assumed that the probability of two activities being carried out competitively is higher when those activities require similar capabilities, compared to activities that require different capabilities.
By adopting a threshold value for proximity, active connections are established between activities, creating a network we refer to as the Activity Space. In this network, activities that utilize similar capabilities for competitive performance tend to form clusters. Furthermore, more complex activities tend to be positioned closer to the center of the network, while less complex activities tend to be situated towards the periphery.
DataViva provides the visualization of the Activity Space for each municipality or microregion. Figure 6.A. illustrates the Activity Space, marking sectors associated with each activity using different colors. In this figure, industrial sectors, represented in brown, are located more centrally within the network, while agriculture, in dark green, forms a cluster in the upper-right part of the network. Public services cluster to the left, sophisticated services, indicated in green, appear in the upper-left part, and commercial activities are distributed in both the upper and lower parts of the network, shown in blue. Construction-related activities, in turn, concentrate in the lower-left part of the network, marked in orange. In summary, the Activity Space available in DataViva exhibits a structure consistent with what is proposed in the literature.
Figure 6.B., on the other hand, presents the Activity Space specific to the municipality of Belo Horizonte in the year 2021. In this network, highlighted points represent sectors in which the municipality is competitive, meaning its LQ (or RCA) is greater than 1. The network illustrates that, although the city is competitive in some industrial activities, its productive structure is more concentrated in sophisticated services (public, financial, and communication services), as well as construction-related activities.
This network was presented in Romero et al. (2025), who propose a new methodology to identify promising sectors for regional economic diversification based on indicators of economic complexity. The paper also presents estimations of the impact of employment-based economic complexity on GDP growth and employment growth in both municipalities and microregions. The coefficients found in these regressions were then used to estimate the gains in terms of GDP and employment of the city of Belo Horizonte using the proposed diversification strategies.
6 DataViva Database Structure
The DataViva platform allows the download of all available data. Spreadsheets containing the data to be downloaded include the variables described in Table 5.
All files follow the same pattern, with the year presented in the first column, varying only by the level of regional aggregation. Table 6 provides an example of how the data is structured. The variable titles differ only in columns B and C, which will change according to the type of regional breakdown used. In the remaining columns, the nomenclature remains consistent.
7 Conclusion
Since its original formulation, the economic complexity approach has become a central framework for analyzing development processes, due to both its conceptual richness and its strong empirical performance. Over time, this literature has expanded not only in thematic scope but also in terms of data availability and analytical tools, supported by visualization platforms such as the Atlas of Economic Complexity and DataViva, as well as by its growing use in policy analysis and development strategy design.
More than a decade after its initial contributions, the complexity approach has progressively moved beyond export-based analyses toward new empirical domains, datasets, and methodological extensions. In this evolution, the incorporation of the regional dimension represents a particularly important advance. Subnational analyses allow economic complexity to be connected more directly to territorial production structures, labor markets, and local capabilities, all of which are central for the formulation of effective place-based development policies.
This paper contributes to this frontier by presenting in detail the methodology underlying the regional economic complexity indicators available in the 2023 version of the DataViva platform. By adapting the original complexity framework to employment data, the proposed indicators address key limitations of export-based measures at the regional level and enable a more accurate representation of productive capabilities across different territorial scales. The availability of indicators such as the Regional Economic Complexity Index (ECI-R), the Activity Complexity Index (ACI-R), density, productive coherence, and opportunity gain significantly expands the analytical toolkit for studying regional development dynamics.
Beyond their academic relevance, these indicators have clear practical implications. Combined with the Activity Space, they provide an integrated framework for identifying diversification opportunities, assessing structural constraints, and supporting evidence-based decision-making by public authorities, private actors, and development agencies. As such, the updated DataViva platform strengthens the role of economic complexity as an operational approach for understanding and guiding structural transformation at the regional level.
Acknowledgments
The authors are grateful for the helpful comments on an earlier version of this paper by two anonymous referees. This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code n. 88887.837602/2023-00, by Conselho Nacional de Desen volvimento Científico e Tecnológico - Brasil (CNPq), Finance Codes 408333/2023-5, 311052/2022-39 and 305483/2025-0, and by Minas Gerais Research Foundation (FAPEMIG), Finance Codes APQ- 02556-24 and PPE-00113-24.
References
- BALASSA, B. Trade Liberalization and Revealed Comparative Advantage. The Manchester School of Economic and Social Studies, v. 33, p. 99-123, 1965.
- BALLAND, P.-A.; BOSCHMA, R.; CRESPO, J.; RIGBY, D. L. Smart specialization policy in the Europe an Union relatedness, knowledge complexity and regional diversification. Regional Studies, v. 53, n. 9, p. 1252-1268, 2019.
- BRASIL. Relação Anual de Informações Sociais Ano Base 2020: sumário executivo. Brasília: Ministério do Trabalho e Previdência, 2020.
- CARDOSO, B. F.; CATELA, E. Y. da S.; VIEGAS, G.; PINHEIRO, F. L.; HARTMANN, D. Did indus trial and export complexity drive regional economic growth in Brazil? PLOS ONE, v. 19, n. 12, e0313945, 2024.
- FARJOUN, M. Beyond Industry Boundaries: Human Expertise, Diversification and Resource-Related Industry Groups. Organization Science, v. 5, n. 2, p. 185-199, 1994.
- FREITAS, E. E. Indústrias relacionadas, complexidade econômica e diversificação regional: uma apli cação para microrregiões brasileiras. 2019. 153 f. Tese (Doutorado em Economia) - Centro de Desenvolvimento e Planejamento Regional, Universidade Federal de Minas Gerais, Belo Hori zonte, 2019.
- FREITAS, E. E.; BRITTO, G.; AMARAL, P. V. M. do. Related industries, economic complexity, and regional diversification: an application for Brazilian microregions. Papers in Regional Science, v. 103, n. 1, 100011, 2024.
- FREITAS, E. E.; QUEIROZ, A. R.; ROMERO, J. P. Economic complexity and employment in Brazilian states. CEPAL Review, n. 139, p. 177-196, 2023.
- FRENKEN, K.; VAN OORT, F. G.; VERBURG, T. Related variety, unrelated variety and regional eco nomic growth. Regional Studies, v. 41, n. 5, p. 685-697, 2007.
- HARTMANN, D.; GUEVARA, M. R.; JARA-FIGUEROA, C.; ARISTARAN, M.; HIDALGO, C. A. Linking Economic Complexity, Institutions and Income Inequality. World Development, v. 93, p. 75-93, 2017.
- HAUSMANN, R.; BARRIOS, D.; MUHAJ, D.; NOOR, S.; PAN, C.; SANTOS, M. A.; TAPIA, J.; ZUC COLO, B. Emerging cities as independent engines of growth: the case of Buenos Aires. CID Work ing Paper, n. 385, 2020b.
- HAUSMANN, R.; CHAUVIN, J. Moving to the adjacent possible: discovering paths of export diver sification in Rwanda. Center for International Development (CID) Faculty Working Paper, n. 294, Harvard University, 2015.
- HAUSMANN, R.; CUNNINGHAM, B.; MATOVU, J.; OSIRE, R.; WYETT, K. How should Uganda grow? CID Working Paper, n. 275, 2014b.
- HAUSMANN, R.; HIDALGO, C. A.; BUSTOS, S.; COSCIA, M.; CHUNG, S.; JIMENEZ, J.; SIMÕES, A.; YILDIRIM, M. A. The Atlas of Economic Complexity: Mapping Paths to Prosperity. New York: Puritan Press, 2014a.
- HAUSMANN, R.; HWANG, J.; RODRIK, D. What You Export Matters. Journal of Economic Growth, v. 12, n. 1, p. 1-25, 2007.
- HAUSMANN, R.; MORALES-ARILLA, J.; SANTOS, M. Economic Complexity in Panama: Assessing opportunities for productive diversification. HKS Faculty Research Working Paper Series, RWP16- 046, 2016.
- HAUSMANN, R.; PIETROBELLI, C.; SANTOS, M. A. Place-specific determinants of income gaps: new sub-national evidence from Mexico. CID Working Paper, n. 343, 2020a.
- HAUSMANN, R.; SANTOS, M. A.; OBACH, J. Appraising the Economic Potential of Panama: Policy Recommendations for Sustainable and Inclusive Growth. Center for International Development (CID) Faculty Working Paper, n. 334, Harvard University, 2017.
- HAUSMANN, R.; KLINGER, B. The Structure of the Product Space and the Evolution of Comparative Advantage. CID Working Papers, n. 146, 2007.
- HIDALGO, C.; KLINGER, B.; BARABASI, A. L.; HAUSMANN, R. The product space conditions the development of nations. Science, v. 317, p. 482-487, 2007.
- HIDALGO, C.; HAUSMANN, R. The Building Blocks of Economic Complexity. Proceedings of the Na tional Academy of Sciences of the United States of America, v. 106, p. 10570-10575, 2009.
- HIDALGO, C. Economic complexity theory and applications. Nature Reviews Physics, v. 3, p. 92-113, 2021.
- NEFFKE, F.; HARTOG, M.; BOSCHMA, R.; HENNING, M. Agents of Structural Change: The Role of Firms and Entrepreneurs in Regional Diversification. Economic Geography, v. 94, n. 1, p. 23-48, 2018.
- QUEIROZ, A. R.; ROMERO, J. P.; FREITAS, E. E. Relatedness and regional economic complexity: good news for some, bad news for others. EconomiA, v. 25, n. 2, p. 264-288, 2024.
- ROMERO, J. P.; FREITAS, E. E. Setores promissores para o desenvolvimento do Brasil: complexidade e espaço do produto como instrumentos de política. In: ANDRADE, M. V.; ALBUQUERQUE, E. da M. (Org.). Alternativas para uma crise de múltiplas dimensões Belo Horizonte: Cedeplar/ UFMG, 2018.
- ROMERO, J. P.; FREITAS, E. E.; SILVEIRA, F.; BRITTO, G.; CIMINI, F.; JAYME JR., F. G. Complex ity-based diversification strategies: a new method for ranking promising activities for regional diversification. Spatial Economic Analysis, v. 20, n. 4, p. 640-663, 2025.
- ROMERO, J. P.; GRAMKOW, C. Economic complexity and greenhouse gas emissions. World Develop ment, v. 139, 105317, 2021.








Source: own elaboration.
Source: own elaboration based on DataViva data.
Source: own elaboration.
Source: own elaboration.
Source: DataViva.

Source: own elaboration.
Source: own elaboration.