Fetching primary parquet sources and computing exhibits.
industrial policy · product space
What is next door to Viet Nam's export basket?
Countries do not diversify at random. They jump into products that share capabilities with what they already make, tracing a walk on the Hausmann-Hidalgo product space (Hidalgo, Klinger, Barabási & Hausmann 2007). For Viet Nam in 2022, this page isolates the HS6 products the country does notyet export with revealed comparative advantage (RCA ≥ 1) but which sit closest to the basket it already has. These are the candidate entries for export strategy and targeted industrial policy.
countryVNM · Viet Nam
year2022
RCA ≥ 1 basket1,233 HS6
candidate products3,759
basket export value$389.2B
weighted PCI (current)0.44
The basket today
Revealed comparative advantage is Balassa's (1965) classic: RCA(c, p) = (Xcp / Xc) / (Xwp / Xw). A country has RCA in a product when the product's share of its export basket exceeds the product's share of the world export basket. We flag every HS6 with RCA ≥ 1 in 2022 as in the country's current competitive basket, and size each by current export value (BACI values are stored in thousands USD and multiplied by 1,000 for display). The top 20 lines carry most of the basket mass.
Figure 1
Viet Nam: current RCA >= 1 basket, top 20 by export value (2022)
Viet Nam has RCA ≥ 1 in 1,233 HS6 products in 2022. The top 20 account for 55% of the RCA basket's export value. This is the capability base that the adjacency computation in Figure 2 reads from.
Method: RCA from Balassa (1965), 'Trade Liberalisation and Revealed Comparative Advantage,' Manchester School 33: 99-123. Source: CEPII BACI 202501 (retrieved 2026-04-28). Authors calcs. Values displayed as USD (BACI x 1000).
Adjacency density on the product space
Density ω(c, p) = Σp′φ(p, p′) × M(c, p′) / Σp′φ(p, p′), where M(c, p′) = 1 if RCA(c, p′) ≥ 1 and 0 otherwise (Hausmann & Hidalgo 2011, Atlas of Economic Complexity, chapter 2). Proximity φ is the minimum conditional probability that a country with RCA in one product also has RCA in the other (Hidalgo et al. 2007). Density runs from 0 to 1: high means the product's capability neighbourhood is already largely occupied by Viet Nam's basket. The 30 highest-density non-RCA products in 2022 are shown below.
Figure 2
Viet Nam: top 30 adjacent HS6 products by density, 2022
Recommended entry candidates
The density ranking by itself says nothing about market size, complexity, or who the current competitors are. The table below adds the missing columns. Global market size is the sum of BACI world imports for the HS6 in 2022 (multiplied by 1,000 for USD). PCIis the product complexity index (Hidalgo & Hausmann 2009, PNAS 106: 10570), which is zero-centred and routinely negative; higher means more complex and more associated with high-income, high-capability exporters. Top exporters are the three countries with the largest export value on the HS6 in 2022, which is who a new entrant would be contesting the market against.
Figure 3
Viet Nam: top 20 adjacent-product entry candidates, 2022
#
HS6
Product
Section
Density
PCI
Global market
Top exporters
1
630222
Bed linen: of man-made fibres, printed, not knitted or crocheted
Textiles
0.543
-3.11
$1.2B
CHN, PAK, IND
2
670300
Human hair, dressed, thinned, bleached or otherwise worked: wool...
Footwear
0.512
-3.30
$1.2B
IND, MMR, CHN
3
170310
Sugars: molasses, from sugar cane, resulting from the extraction...
Food, beverages, tobacco
0.494
-3.53
$1.1B
IND, IDN, PAK
4
How does basket complexity move if the top-10 are adopted?
The Economic Complexity Index (ECI) of a country is closely tied to the weighted mean PCI of its RCA basket (Hidalgo & Hausmann 2009; Hausmann & Hidalgo 2011). A counterfactual re-weighting gives a simple order-of-magnitude read on how much basket complexity would shift if Viet Nam displaced its ten lowest-PCI RCA lines with the top-ten density-ranked adjacent products at constant aggregate basket weight.
Figure 4
Viet Nam: weighted basket PCI, current vs. top-10 adoption counterfactual (2022)
Current export-weighted basket PCI is 0.44. Adopting the top-10 density-ranked adjacent products (replacing the 10 lowest-PCI RCA lines at the same aggregate weight) moves it to 0.47, a shift of +0.03. Zero-centred PCI means a +0.5 shift places the basket roughly half a standard deviation higher in the complexity ordering of all HS6 lines (Hidalgo & Hausmann 2009). This is a bounding read, not a policy forecast: actual adoption depends on investment, institutions, and proximity details not captured by the single density statistic.
Method: weighted basket PCI = Σ (X_p × PCI_p) / Σ X_p over the country's RCA >= 1 basket, where X_p is the country's export value of HS6 p. Counterfactual drops the 10 lowest-PCI basket products and adds the top-10 density-ranked adjacent products at the mean weight of the dropped bucket; total basket weight is preserved. Citations: Hidalgo & Hausmann (2009), 'The building blocks of economic complexity,' PNAS 106: 10570; Hausmann, Hidalgo, Bustos, Coscia, Simoes & Yildirim (2011/2014), The Atlas of Economic Complexity, CID/MIT Press, chapter 2.
Where on the product space are the candidates clustered?
The Hausmann-Klinger (2007, CID Working Paper 146) reading of the product space is that capabilities cluster by sector: countries successfully add products that share inputs, skills, and logistics with what they already make. Aggregating the top-30 density-ranked adjacent products by HS Section gives a one-glance read on which parts of the product space the next-door candidates sit in. Section counts below are taken from the HS 21-section classification (WCO, Harmonized System).
Figure 5
Viet Nam: top-30 adjacent candidates by HS Section, 2022
The top-30 candidates cluster most heavily in Sec 11 Textiles (17products of 30). Section-level clustering matches Hausmann & Klinger's (2007) core finding: capabilities transfer across neighbouring products within a section before they jump to distant sections. A concentrated distribution signals a deep local capability base in one corner of the space; a spread across many sections signals broader but shallower capability.
Source: HS Section from CEPII BACI products table (WCO Harmonized System 21-section classification). Interpretation per Hausmann & Klinger (2007, CID WP 146) 'The Structure of the Product Space and the Evolution of Comparative Advantage'; Hausmann, Hidalgo et al. (2014, 2nd ed.) Atlas of Economic Complexity.
The density-complexity quadrant: where are the 'best jumps'?
Hausmann & Klinger (2007, CID WP 146) and Hausmann & Hidalgo (2011, J. Econ. Growth16: 309-342) argue that desirable diversification targets are high on two axes at once: high density (capability-feasible given the existing basket) AND high PCI (complex enough to pull basket complexity up). The scatter below places each non-RCA candidate product in the density × PCI plane. The top-right quadrant, high density, high PCI, is the 'best jumps' zone: feasible upgrades. The top-left is feasible but complexity-flat; the bottom-right is aspirational but capability-distant; the bottom-left is neither. The top-10 density-ranked candidates from Figure 3 are marked in orange so the reader can see how the density-only ranking maps onto both axes.
Figure 6
Viet Nam: adjacent HS6 products in the density-PCI plane (2022)
Feasibility floor plus complexity upgrade: the top-10 shortlist
The density-only ranking in Figure 3 is capability-proximity biased: a product very close to the existing basket can sit on that list even when its PCI is below the basket's own weighted mean, adding no complexity. Conversely, the density-PCI scatter in Figure 6 is visual-only. A cleaner industrial-policy shortlist answers a specific question: among products that clear a minimum density threshold (a feasibility floor), which ten have PCI furthest above the country's current basket-weighted PCI? That is the list of complexity upgrades with existing capability. Hausmann, Hidalgo et al. (2014, Atlas of Economic Complexity, 2nd ed.) describe exactly this construct as the 'strategic bets' quadrant, and note that the minimum density floor is an application choice: 0.20 is a conventional lower bound in the CID working-paper series (Hausmann & Klinger 2007, CID WP 146).
Figure 7
Viet Nam: top-10 complexity upgrades with density >= 0.20, 2022
#
HS6
Product
Density
PCI
PCI - basket
1
820420
Tools, hand: interchangeable spanner sockets, with or wi...
Electrical capacitors: fixed, n.e.s. in heading no. 8532
0.217
2.50
+2.06
4
853641
Electrical apparatus: relays, (for a voltage not exceedi...
0.216
2.47
+2.03
5
850490
What did Viet Nam actually jump into since 2010?
The adjacency density in Figures 2-7 is a forward-looking feasibility signal. A backward-looking companion is the set of HS6 products in which the country genuinely crossed the RCA ≥ 1 threshold between 2010 and 2022: products that started below revealed comparative advantage and ended above it. Hausmann, Hidalgo et al. (2014, Atlas of Economic Complexity, 2nd ed.) call these realized product-space jumps, and show that they typically occur to HS6 lines that sat at high adjacency density in the base year, i.e. the density-predicted pattern repeats itself ex post. The bars below rank the largest realized RCA gains (ΔRCA = RCA2022 - RCA2010), filtered to products that were below RCA = 1 in 2010 and at or above RCA = 1 in 2022. These are the products where the country actually added revealed comparative advantage over the window.
Figure 8
Viet Nam: top-20 realized RCA jumps (RCA<1 in 2010 → RCA≥1 in 2022)
Which sections are the most feasible to enter on average?
Figure 5 ranked sections by their share of the top-30 density-ranked candidates, which is a top-of-list view. The complementary read is the average adjacency density across every non-RCA candidate in a given section: this answers the section-level feasibility question, not the rank-cutoff question. A section with a high mean density is one where the country's existing capabilities sit close to most products in that part of the WCO classification, even if no single product makes the top-30. Hausmann and Klinger (2007, CID WP 146) note that diversifying into a section with a uniformly high mean density is structurally easier than diversifying into a section where one or two outliers sit near the basket but the bulk of the section is far away.
Figure 9
Viet Nam: mean adjacency density across non-RCA candidates by HS Section, 2022
How to read and not mis-read this
Density is a capability-proximity statistic, not a guarantee. Hausmann and Klinger (2007, CID WP 146) and Hausmann & Hidalgo (2011) show that density predicts diversification probabilities in the aggregate; for any individual country-product pair, institutions, tariffs, logistics, and sunk costs can still block entry.
PCI is zero-centred by construction. A negative PCI on a recommendation row is a reading, not a filter: the product is simply less complex than the HS6 mean. Many feasible industrial upgrades for lower-income countries sit at slightly-below-zero PCI, not far above.
Global market size reads BACI world imports at HS6, which undercounts where bilateral trade is reported only by one side of the pair. For order-of-magnitude sizing it is correct; for litigation-grade numbers, cross-check against the importer's own customs filing.
References
Balassa, B. (1965). 'Trade Liberalisation and Revealed Comparative Advantage.' Manchester School 33(2): 99-123.
Hausmann, R., & Hidalgo, C. A. (2011). 'The network structure of economic output.' Journal of Economic Growth 16: 309-342.
Hausmann, R., Hidalgo, C. A., Bustos, S., Coscia, M., Simoes, A., & Yildirim, M. A. (2014). The Atlas of Economic Complexity: Mapping Paths to Prosperity. CID/MIT Press. First edition 2011.
Hausmann, R., & Klinger, B. (2007). 'The Structure of the Product Space and the Evolution of Comparative Advantage.' CID Working Paper No. 146.
Hidalgo, C. A., & Hausmann, R. (2009). 'The building blocks of economic complexity.' Proceedings of the National Academy of Sciences 106(26): 10570-10575.
Hidalgo, C. A., Klinger, B., Barabási, A.-L., & Hausmann, R. (2007). 'The product space conditions the development of nations.' Science 317: 482-487.
Density at the top of the list reaches 0.543. The 30th product sits at 0.409. Products near the top are the ones for which most capability neighbours are already in Viet Nam's basket - the low-hanging structural-transformation candidates.
Method: density per Hausmann & Hidalgo (2011) Atlas of Economic Complexity. Proximity per Hidalgo, Klinger, Barabasi & Hausmann (2007), Science 317: 482-487. Source: CEPII BACI 202501 (retrieved 2026-04-28) product_proximity + rca_matrix. Authors calcs.
610729
Nightshirts and pyjamas: men's or boys', of textile materials (o...
Textiles
0.483
-2.90
$89.2M
KHM, IND, CHN
5
630629
Tents: of textile materials other than cotton or synthetic fibre...
Textiles
0.477
-1.63
$539.5M
CHN, PAK, USA
6
030614
Crustaceans: crabs, frozen (whether in shell or not, whether or ...
Animal products
0.475
-2.92
$3.8B
CAN, RUS, NOR
7
630510
Sacks and bags: of a kind used for the packing of goods, of jute...
Shirts: men's or boys', of textile materials (other than cotton ...
Textiles
0.439
-2.32
$365.1M
CHN, ESP, ITA
11
120210
Ground-nuts: in shell, not roasted or otherwise cooked
Vegetable products
0.438
-3.84
$329.5M
USA, EGY, CHN
12
631010
Rags: used or new, scrap twine, cordage, rope and cables and wor...
Textiles
0.436
-2.27
$501.1M
BGD, USA, PAK
13
520210
Cotton: yarn waste (including thread waste)
Textiles
0.433
-3.85
$77.8M
UZB, PAK, BGD
14
621490
Shawls, scarves, mufflers, mantillas, veils and the like: of tex...
Textiles
0.432
-2.31
$392.1M
CHN, IND, ITA
15
520300
Cotton: carded or combed
Textiles
0.432
-3.52
$765.4M
MLI, IND, TZA
16
650691
Headgear: (other than safety headgear), of rubber or plastics, w...
Footwear
0.428
-1.79
$234.2M
CHN, MYS, GRC
17
120740
Oil seeds: sesamum seeds, whether or not broken
Vegetable products
0.428
-4.67
$4.0B
SDN, IND, NER
18
610690
Blouses, shirts and shirt-blouses: women's or girls', of textile...
Textiles
0.427
-1.78
$333.1M
CHN, ITA, TUR
19
611190
Garments and clothing accessories: babies', of textile materials...
Textiles
0.425
-2.63
$546.0M
CHN, IND, ARE
20
530390
Jute and other textile bast fibres: processed but not spun, tow ...
Textiles
0.425
-3.53
$34.5M
BGD, TZA, BEL
Density-ranked top 20. PCI is zero-centred by construction (Hausmann & Hidalgo 2009): negative PCI is not a filter, it is a reading. Global market size is BACI world imports (BACI values x 1,000 for USD). Top-three current exporters flag the competitive field. Missing values mean the HS6 is absent from PCI rankings in 2022 or from BACI world imports.
3759 non-RCA candidates have both a density and a PCI in 2022. Median density is 0.138; median PCI is 1.44. The top-right quadrant (density ≥ median AND PCI ≥ median, feasible AND complex) contains 551 products. Orange dots mark the top-10 density-only picks from Figure 3; products among them that also sit in the top-right quadrant are the best jumps on both capability and complexity, whereas orange dots that fall in the upper-left (top density, lower PCI) are feasible but add little to basket complexity.
Method: scatter each non-RCA candidate by density (Hausmann-Hidalgo 2011 Atlas of Economic Complexity, ch. 2) and PCI (Hidalgo & Hausmann 2009, PNAS 106: 10570). Medians split the plane into quadrants. Top-right = "best jumps" (feasible AND complex). Sources: CEPII BACI 202501 (retrieved 2026-04-28) (rca_matrix, product_proximity, pci_rankings). Authors calcs.
Electrical transformers, static converters and inductors...
0.222
2.26
+1.82
6
853649
Electrical apparatus: relays, for a voltage exceeding 60...
0.200
2.20
+1.76
7
853190
Signalling apparatus: parts of the electric, sound or vi...
0.210
2.18
+1.74
8
730793
Iron or steel: tube or pipe fittings, butt welding fitti...
0.214
2.13
+1.69
9
851671
Electro-thermic appliances: coffee or tea makers, of a k...
0.207
2.00
+1.56
10
540243
Yarn: (not sewing thread), single, of polyesters not par...
0.223
1.99
+1.55
758 non-RCA candidates clear the density floor of 0.20 and have a defined PCI in 2022. The top-10 by PCI-over-basket deliver a weighted-PCI lift from the current basket mean of 0.44 to a new-product PCI ceiling of 2.58 at density 0.236. These are the 'strategic bets' in the Atlas of Economic Complexity sense: feasible on the capability map, complexity-premium on the product map. Compare with Figure 6's scatter: these ten sit in the upper-right quadrant by construction but are ordered strictly by how far they pull basket PCI up, not just by whether they beat the median.
Method: filter non-RCA candidates to density >= 0.20 (feasibility floor per Hausmann & Klinger 2007, CID WP 146), rank by PCI - basket_weighted_PCI descending, take top 10. Basket-weighted PCI = Σ(export_USD x PCI) / Σ(export_USD) over current RCA >= 1 basket. PCI from Hidalgo & Hausmann (2009), PNAS 106: 10570. Sources: CEPII BACI 202501 (retrieved 2026-04-28) (rca_matrix, product_proximity, pci_rankings). Authors calcs.
Viet Nam crossed into RCA ≥ 1 on 20+ HS6 lines shown here between 2010 and 2022 (ranked list capped at 20). Combined2022 export value on these lines is $18.4B. Largest jump: 230240 (RCA 2010 0.54 → 18.75). Realized jumps are the ex post companion to the density-ranked feasibility list in Figures 2-3; the overlap between the two sets is the empirical test of whether adjacency density predicted where this country actually moved.
Method: RCA_{y}(c,p) = (X_{cp,y} / X_{c,y}) / (X_{wp,y} / X_{w,y}) per Balassa (1965). Filter: RCA_{2010} < 1 AND RCA_{2022} >= 1. Rank by ΔRCA = RCA_{2022} - RCA_{2010}. Reference on realized product-space jumps: Hausmann, Hidalgo et al. (2014, 2nd ed.) Atlas of Economic Complexity. Sources: CEPII BACI 202501 (retrieved 2026-04-28) rca_matrix for 2010 and 2022; country_year_product for 2022 export values (BACI × 1000 applied).
Across the 21 HS Sections with at least three non-RCA candidates, the highest mean adjacency density is in Footwear at 0.234 across 18 HS6 lines; the lowest is Chemicals at 0.103 (659 HS6). Mean density is the section-wide feasibility floor: a section ranked high here gives the country a deep set of plausible candidates, not just the few that surface in the top-30 of Figure 5. Sections at the bottom of this ranking are capability-distant from Viet Nam's current basket even on average, and require larger structural-transformation steps in the Hausmann-Klinger (2007) sense.
Method: mean over each non-RCA candidate's adjacency density within a HS Section. Density = Hausmann-Hidalgo (2011, Atlas of Economic Complexity ch. 2). Sections with fewer than 3 candidates dropped to suppress noise. Sources: CEPII BACI 202501 (retrieved 2026-04-28) (rca_matrix, product_proximity); WCO Harmonized System 21-section classification. Authors calcs.