Online text may be a Chinese translation; the downloadable PDF is the original foreign-language file when available.
Erhan Artuc
Ileana Cristina Neagu
Daria Taglioni
Development Economics Development Research Group September 2026
Policy Research Working Paper 11440
How can middle-income economies convert trade openness and productivity-enhancing reforms into higher real income and welfare? This paper develops a quantitative trade model with input-output linkages and labor market frictions to assess the impact of trade and productivity reforms on real income, wages, trade, and production. Thailand and ASEAN provide a useful case because the region spans economies with very diferent approaches to growth: some deeply embedded in Asian manufacturing value chains, others focused on commodities, export-led industrializers, and countries pursuing more selective integration.
This variation allows assessing when openness yields large welfare gains, when productivity reforms matter more, and when the two are complementary. The results show that openness gains depend on domestic capabilities, while productivity gains depend on access to inputs and markets. The policy implication is a twin agenda: reduce trade frictions in connectivity, customs, logistics, standards, certification, and regulatory recognition, while strengthening firm productivity, supplier capabilities, and manufacturing-related services in high-growth sectors and global value chains.
Erhan Artuc, Ileana Cristina Neagu, and Daria Taglioni†
Authorized for distribution by Sergio Schmukler, Lead Economist, Development Research Group, Development Economics, World Bank Group
Keywords: Trade Costs, Productivity, Global Value Chains, Middle-Income Economies, ASEAN, Openness, Regulatory Frictions JEL codes: F11, F13, F17, O14, O47
This paper studies how middle-income economies can convert trade openness and productivity-enhancing reforms into higher real income and welfare. Many countries have used trade integration to accelerate development, but the transition from middle-income to high-income status has proven more dificult. Openness alone does not guarantee domestic value creation, technological upgrading, or broad-based welfare gains. At the same time, productivity reforms may have limited impact if firms face high costs in accessing imported inputs, foreign markets, logistics networks, standards systems, and global production platforms. The central question of this paper is therefore not whether countries should prioritize trade openness or productivity reform, but under what conditions the two reinforce each other.
The Association of Southeast Asian Nations (ASEAN) provides a useful setting for studying this question because it is both highly integrated and highly heterogeneous. The region includes economies deeply embedded in Asian manufacturing value chains, economies specialized in commodities and resource-based activities, economies that have pursued export-led industrialization, and economies with more selective or cautious approaches to trade integration. This heterogeneity allows us to examine when openness generates large welfare gains, when productivity improvements matter more, and when the two channels are complementary. It also allows us to study how diferences in production structure, input-output linkages, and global value chain participation shape the returns to reform.
The question is especially relevant in the current global environment. Globalization is not disappearing, but it is becoming more fragmented, more regionalized, and more rule-intensive. Trade remains resilient in aggregate, but firms increasingly operate in a world of policy uncertainty, regulatory divergence, standards requirements, certification procedures, rules of origin, and logistics constraints. These frictions afect not only whether goods cross borders, but whether firms can connect to, operate within, and upgrade inside production networks.
We refer to this broader policy environment as one of qualified openness. Qualified openness means openness supported by the institutions, infrastructure, and capabilities that allow firms to use trade relationships productively. It includes the hard infrastructure of connectivity and logistics, but also the soft infrastructure of customs procedures, standards, testing, certification, regulatory recognition, digital documentation, and predictable cross-border institutions. For middle-income economies, these frictions can determine whether trade participation translates into higher domestic value added or remains concentrated in lower-value activities.
ASEAN’s diversity makes this distinction important. In economies with dense manufacturing value chains, import-cost reductions may generate large gains by lowering the cost of foreign intermediates and strengthening downstream competitiveness. In economies with weaker production-network integration or more commodity-oriented structures, productivity improvements may play a relatively larger role. In export-oriented economies, regulatory recognition, standards compliance, and market access may be central. Across these diferent cases, the policy challenge is similar: openness must be accompanied by the domestic capabilities and interoperability institutions needed to convert trade participation into welfare gains.1
This paper formalizes these mechanisms in a multi-country, multi-sector general equilibrium trade model. The framework builds on the Eaton and Kortum, 2002 tradition by allowing countries to source diferentiated varieties from the lowest-cost origin, while incorporating multiple sectors, input-output linkages, and sector-specific labor allocation decisions. These features are important for studying heterogeneous middle-income economies. Input-output linkages capture how cheaper imported intermediates reduce downstream costs and alter competitiveness. Sectoral labor allocation captures how workers move across sectors when wages and production patterns change. Together, the model maps changes in trade costs and productivity into real income, wages, sectoral production, and trade flows.
We use the model to evaluate counterfactual changes in import costs, export costs, broader trade costs, and productivity across selected ASEAN economies. Import-cost reductions capture improved access to foreign inputs. Export-cost reductions capture improved access to foreign markets. Broader trade-cost reductions capture the combined efect of lowering the frictions that shape the movement of goods and inputs across borders. Productivity improvements capture firm capabilities, technology adoption, managerial quality, innovation, and production eficiency. The combined scenario captures the policy-relevant case in which trade-cost reductions and productivity improvements occur together.
The main result is that trade-cost reductions and productivity improvements are complements, but the strength of each channel difers across ASEAN economies. Lower trade frictions expand access to inputs and markets, but firms can exploit these opportunities more efectively when they have the capabilities to scale, comply, and innovate. Conversely, productivity improvements generate larger gains when firms can access imported inputs and foreign markets at lower efective cost. This complementarity is central to the development challenge facing middle-income economies: openness alone does not guarantee upgrading, and capability upgrading is constrained when firms face high interoperability costs.
The paper contributes to the policy discussion in three ways. First, it reframes the middle-income trade challenge as one of qualified openness rather than simply more openness. Second, it quantifies the aggregate gains from reducing efective trade costs and improving productivity in a unified general equilibrium framework. Third, it shows that these gains are heterogeneous across ASEAN economies, reflecting diferences in production structure, GVC participation, sectoral linkages, and domestic capabilities. The implication is that trade policy, industrial policy, and regulatory capability should be treated as a connected reform agenda aimed at turning openness into welfare gains and domestic value creation.
The rest of the paper is organized as follows. Section 2 documents stylized facts on import, export, and domestic constraints in selected ASEAN economies, using Thailand as a detailed illustrative case where the available evidence is richest. Section 3 presents the model. Section 4 describes the data and quantification. Section 5 reports the counterfactual results for ASEAN economies. Section 6 discusses policy implications. Section 7 concludes.
This section documents the empirical motivation for the model counterfactuals. The paper distinguishes among import-cost reductions, export-cost reductions, broader trade-cost reductions, and productivity improvements. These channels are not abstract modeling categories. They correspond to observable constraints facing Thailand and other ASEAN economies: the cost of sourcing imported intermediates, the cost of qualifying for foreign markets, the domestic frictions that afect logistics and regulatory compliance, and the firm-level capabilities needed to turn trade participation into higher domestic value added.
The evidence points to three stylized facts. First, ASEAN economies are highly heterogeneous in their mode of integration. Some economies, such as Singapore, Viet Nam, Thailand, and Malaysia, are deeply embedded in manufacturing value chains, while others, such as Indonesia, have lower measured GVC participation and a production structure less centered on cross-border manufacturing networks. Second, in manufacturing-oriented ASEAN economies, import access is a central component of export competitiveness because production relies heavily on foreign intermediates. Third, the most binding trade frictions are increasingly related to standards, certification, logistics, customs, documentation, and regulatory recognition rather than tarifs alone. These facts motivate the paper’s focus on qualified openness: openness supported by the institutions and capabilities that allow firms to connect, comply, and upgrade within production networks.
ASEAN provides a useful setting because its economies participate in trade in diferent ways. Table 1 reports GVC participation for selected ASEAN economies and comparators. Three patterns are worth emphasizing. First, Thailand is highly integrated into GVCs: GVC-related activity accounts for 28.8 percent of output overall and 46.9 percent of manufacturing output. Second, Thailand’s manufacturing integration is asymmetric. Backward participation in manufacturing is 10.6 percent, while forward participation is
3.4 percent, indicating strong reliance on imported intermediates and a more limited role in upstream value creation. Third, this pattern is not unique to Thailand. Viet Nam and Singapore also exhibit high backward participation in manufacturing, whereas GVC participation in Indonesia and the Philippines is substantially lower.
Table 1: GVC participation and asymmetry in selected economies
| Overall | Manufacturing | |||||
| Country | GVC | Backward | Forward | GVC | Backward | Forward |
| Indonesia | 9.0 | 2.2 | 2.6 | 15.0 | 3.7 | 2.7 |
| Malaysia | 25.7 | 4.3 | 4.7 | 36.9 | 5.9 | 3.6 |
| Philippines | 12.1 | 3.9 | 2.4 | 18.1 | 5.4 | 1.9 |
| Singapore | 44.8 | 9.6 | 5.2 | 53.1 | 16.1 | 5.0 |
| Thailand | 28.8 | 6.8 | 3.8 | 46.9 | 10.6 | 3.4 |
| Viet Nam | 34.0 | 9.8 | 3.6 | 49.4 | 15.0 | 2.9 |
| World | 13.0 | 2.6 | 2.6 | 23.7 | 5.1 | 3.0 |
Notes: Values refer to 2024 and are percent shares of output. Backward participation reflects the use of foreign inputs in domestic production. Forward participation reflects domestic value added embodied in other countries’ exports. Source: WITS GVC Module, output tables (WITS, 2026), based on Borin et al. (2025). The output tables are based on Asian Development Bank (ADB) Multi-Regional Input-Output Database.
This structure has direct implications for the model. In economies with high backward participation, import-cost reductions can generate large welfare efects because cheaper imported intermediates reduce downstream production costs. Conversely, high backward participation also creates exposure to supply disruptions, customs delays, certification bottlenecks, and regulatory changes afecting imported inputs. For Thailand, Viet Nam, Singapore, and Malaysia, import access is therefore not only a consumption margin; it is a production and competitiveness margin.
The contrast with Indonesia highlights the importance of heterogeneity. Indonesia’s overall and manufacturing GVC participation are lower than Thailand’s, Viet Nam’s, Malaysia’s, and Singapore’s. This suggests that the gains from trade-cost reductions may be smaller where cross-border production linkages are less dense, while productivity improvements may play a relatively larger role. This pattern is consistent with the counterfactual results reported later in the paper, where trade-cost reductions generate larger real-income gains in the more GVC-intensive ASEAN economies.
The first constraint concerns the cost and reliability of imported inputs. For GVC-oriented economies, imported intermediates are not substitutes for domestic development; they are often inputs into domestic production, exports, and upgrading. Thailand’s high manufacturing backward participation indicates that its producers depend on foreign inputs in electronics, machinery, automotive components, electric vehicles, and other manufacturing activities. When import procedures are slow, uncertain, or costly, the efect propagates through the production network.
The Thailand evidence shows that import-side frictions are often operational rather than tarif-based. Firm-level evidence reports customs and clearance time as the most frequently cited trade and upgrading constraint, afecting approximately 39 percent of surveyed firms. Documentation and permits are reported by approximately 33 percent of firms, while transport and logistics costs are reported by approximately 29 percent. These constraints raise the efective cost of imported intermediates and reduce firms’ ability to meet production schedules, qualify for buyer contracts, and scale within value chains.
Thailand performs relatively well compared with several regional peers on logistics, but the remaining gaps are economically relevant. Its Logistics Performance Index score is approximately 3.5, compared with about 3.3 for ASEAN-4 and 3.5 for ASEAN-5, although still below Malaysia (3.6) and Singapore (4.3). Its customs eficiency score is approximately 3.3, slightly above the ASEAN-5 average (3.2) and higher than ASEAN-4 (3.0), but below Singapore (4.2). Export clearance time takes around 2.3 days, faster than the ASEAN-5 average (2.9 days) and ASEAN-4 (3.5 days), but slower than Malaysia (1.6) and Singapore (0.5). These indicators suggest that Thailand’s problem is not a complete absence of logistics capability, but remaining gaps in speed, predictability, and implementation quality.
Table 2: Thailand’s domestic implementation constraints relative to ASEAN benchmarks
| Piiipnes Indssa Vitt Nam Singapore ASENA4 ASEAN-G5 hand Mayysia Indicator |
Notes: Authors’ synthesis based on data and methodological documentation from the WTO (2026), the World Bank (2020, 2026a, 2026b), Arvis et al. (2026), and UNCTAD (2024, 2026). ASEAN-4 is the average across Indonesia, Malaysia, Philippines and Viet Nam. ASEAN-5 is the average across these four countries plus Singapore. The export clearance time indicator is based on data from the discontinued World Bank Doing Business project, as no comparable alternative was available at the time of writing.
These facts motivate the import-cost counterfactual in the model. A reduction in import costs should be interpreted broadly. It includes not only lower tarifs, but also faster customs procedures, lower logistics costs, better documentation systems, more predictable border processes, and smoother access to imported intermediates. In Thailand and other manufacturing-oriented ASEAN economies, these reforms can raise welfare by lowering the price of intermediate inputs and improving downstream competitiveness.
The second constraint concerns the cost of selling abroad. For Thailand’s main export markets, tarifs are no longer the primary barrier. The average tarif faced by Thai exporters is very low in several major destinations: approximately 0.4 percent in the United
States, 0.0 percent in the European Union, and 1.1 percent in Japan. Yet firms still face substantial export frictions because access to these markets increasingly depends on standards, conformity assessment, testing, certification, process requirements, and regulatory compliance.
Table 3 summarizes the main external constraints faced by Thai exporters in key markets. The pattern is clear: the relevant margin is qualification. In the United States, standards and conformity assessment determine whether firms can access and maintain buyer relationships. In the European Union, regulatory compliance and process requirements afect entry and scaling. In Japan, testing procedures and logistics reliability are central to product qualification and delivery reliability. Within ASEAN, rules of origin and customs procedures afect the flow of goods through regional production networks. In China and the Republic of Korea, standards, regulatory procedures, and certification requirements shape market access and supplier qualification.
Table 3: Efective export barriers faced by Thai firms in key markets
| Market | Key constraints | How they affect trade | Importance | ||
| United States | assessment | Standards and conformity Compliance and certification High | requirements determine market | ||
| European Union Regulatory compliance and Complex process requirements | access | regulatory High | |||
| Japan | scaling | frameworks affect entry and Testing procedures and Product qualification and High | |||
| ASEAN | logistics reliability | delivery reliability are critical | |||
| procedures | Rules of origin and customs Administrative affect production flows | differences High | |||
| China | Standards and regulatory Approval and certification Medium-High | ||||
| procedures | |||||
| India | conditions affect market access | ||||
| Regulatory requirements and Administrative complexity Medium | |||||
| customs procedures | |||||
| increases compliance costs | |||||
| Korea, Rep. | |||||
| certification procedures | Technical standards and Supplier qualification depends Medium-High on compliance systems |
Notes: The table summarizes the main export-side constraints based on firm interviews with Thai firms during fieldwork investigations for the paper.
Firm-level evidence reinforces this conclusion. Testing and certification delays or lack of recognition are reported by approximately 37 percent of surveyed firms and rules-of-origin requirements by approximately 25 percent. In electric-vehicle-related activities, around 42 percent of firms report that certification takes more than six weeks. These delays matter because standards-intensive production networks operate on buyer qualification, supplier reliability, and delivery predictability. Firms that cannot certify products and processes quickly may lose contracts even when tarif preferences are available.
For ASEAN more broadly, this means that export-cost reductions should not be interpreted only as tarif liberalization. They include regulatory recognition, harmonized standards, mutual recognition of testing and certification, improved rules-of-origin administration, and lower fixed costs of entering demanding foreign markets. This interpretation is especially relevant for countries seeking to move beyond labor-intensive production or basic assembly into higher-value manufacturing and embedded services.
The third constraint is domestic. Trade reforms generate larger gains when firms have the capabilities to exploit them. Conversely, productivity improvements generate larger gains when firms can access inputs and markets at low efective cost. Domestic constraints therefore include both policy frictions and capability gaps.
Thailand’s domestic trade regime illustrates the interaction between these two margins. Its simple average MFN tarif is approximately 9.9 percent, with a sharp diference between agriculture, where the average is approximately 28.3 percent, and non-agriculture, where it is approximately 7.0 percent. This means that Thailand’s domestic regime still contains tarif dispersion, especially in agriculture. However, for the manufacturing upgrading agenda emphasized in this paper, the more binding constraints are non-tarif and implementation-related: SPS and TBT measures, licensing, certification delays, limited recognition, and regulatory predictability.
This creates a two-worlds trade policy environment. Thai exporters operate in foreign markets where tarifs are often low and compliance is the primary margin of competition, while the domestic regime still contains tarif and non-tarif barriers that can raise costs for firms. The implication is that competitiveness depends increasingly on regulatory capability, not tarif protection. Domestic institutions must help firms meet foreign requirements, certify products, manage documentation, and operate reliably across regulatory systems.
Domestic capability gaps are also visible in technology and services. Thailand has strengths in applied and system-level technologies, especially in activities linked to electric vehicles, electronics, machinery, power electronics, connectors, thermal management, and control systems. At the same time, its position is weaker in upstream technologies such as semiconductors. Compared with Singapore and Malaysia, Thailand ranks lower in overall technological positioning and in semiconductors; compared with Indonesia and Viet Nam, Thailand ranks higher, especially in EV-related and digital activities. This intermediate position is consistent with the broader diagnosis of participation without full upgrading.
Table 4: Technological positioning in selected ASEAN economies
| Country | Overall | EV Digital | Semiconductors |
| Singapore | 22 | 19 | 17 12 |
| Malaysia | 42 | 43 | 33 31 |
| Thailand | 49 | 45 39 | 47 |
| Indonesia | 74 | 83 | 83 70 |
| Viet Nam | 98 | 102 | 98 96 |
Notes: Lower values indicate stronger technological positioning. Source: Santoni et al., 2026.
A further domestic constraint concerns services embedded in manufacturing. Thailand’s services exports remain concentrated in travel and tourism, while higher-value tradable services such as engineering, testing, certification, supply-chain management, logistics coordination, and digital services are less developed. This matters because modern manufacturing value chains depend on these services. They determine whether firms can meet standards, coordinate production, manage compliance, and capture value beyond assembly. Upgrading in manufacturing therefore requires upgrading in the services that surround production.
The stylized facts clarify how the model counterfactuals should be interpreted. Import-cost reductions capture improvements in the ability to source foreign intermediates. These include better customs performance, lower logistics costs, more predictable import procedures, reduced non-tarif barriers, and improved access to production inputs. Export-cost reductions capture the ability to sell abroad under increasingly rule-intensive market access conditions. These include standards compliance, testing, certification, regulatory recognition, rules-of-origin administration, and smoother procedures in destination markets. Broader trade-cost reductions capture the combined efect of lower frictions across both import and export margins. Productivity improvements capture domestic capabilities: technology adoption, managerial quality, supplier development, skills, embedded services, and the institutional capacity to comply with standards and operate across regulatory systems.
Table 5: Mapping stylized facts to model counterfactuals
| Model channel | Empirical interpretation | Main economies/sectors | affected |
| Import-cost reduction | Cheaper and more reliable access to foreign intermediates through manufacturing economies | GVC-intensive | |
| customs, logistics, documentation, and sectors with high input-market access, and lower backward linkages non-tariff barriers | Lower cost of qualifying for and Export-oriented sectors | ||
| Export-cost reduction | selling in foreign markets through and standards,testing,certification, standards-intensive rules-of-origin administration, and markets regulatory recognition | frms serving | |
| reduction | Broader trade-cost Joint reduction in import and Economies with dense export frictions, hardinfrastructure interoperability constraints | including production | networks, and soft especially Thailand, Viet Nam, Malaysia, and Singapore |
| Productivity improvement | Domestic capability through technology managerial quality, | supplier toward | upgrading Economies and firms able adoption, to move from assembly higher-value |
| Trade cost 十 | development,skills, services, and regulatory capacity Qualified openness combined with Middle-income economies | embedded functions | seeking to turn GVC |
| productivity | domestic capability upgrading | participation into higher domestic value added |
These facts also explain why the gains from reform difer across ASEAN countries. Countries with denser manufacturing networks and stronger GVC participation are likely to benefit more from lower trade costs because input-output linkages amplify the efects of cheaper inputs and broader market access. Countries with weaker GVC participation or more commodity-oriented structures may benefit relatively more from productivity improvements and domestic capability upgrading. Across all cases, however, the key policy-relevant mechanism is complementarity: lower trade costs raise the returns to domestic capabilities, while stronger domestic capabilities raise the returns to openness.
The central implication is that ASEAN’s middle-income development challenge is not simply to increase trade volumes. It is to reduce the import, export, and domestic constraints that prevent firms from using trade relationships productively. For Thailand, the evidence is especially clear: the country is already integrated into global and regional production networks, but its ability to upgrade depends on reducing qualification frictions, improving regulatory and logistics performance, and strengthening the domestic capabilities that allow firms to capture more value within those networks.
In this section, we introduce a general equilibrium trade model based on Eaton and Kortum, 2002 with additional components to improve its fit to data and policy relevance. Similar to them, we consider a system with many locations and diferentiated varieties, where consumers can source each variety from a diferent location based on prices and transportation costs. Prices are directly impacted by the underlying productivity distribution in locations. Diferent from them, we allow multiple sectors which are continua of diferentiated goods, and we incorporate input output linkages into the production functions. These two modifications make the framework similar to the seminal model introduced by Caliendo and Parro, 2015. In addition to these two significant diferences, we assume that workers have diferentiated productivity across sectors and they face a static discrete choice problem to choose the optimal sector of employment. This is a simplified version of the Artuc et al., 2010 model. The simplification facilitates calibration of the system for all countries in the sample. See Redding, 2016, Galle et al., 2022, Lee, 2020, Artuc and Sommer, 2024.
Consider N countries, indexed with either m or n, where agents derive utility from consuming varieties ωj categorized into J sectors. The varieties are combined by agents in country n to
produce sectoral composites:
where Qn(ωj) is the quantity of variety ωj used, and σ is the elasticity parameter. The sectoral composites enter the utility of country n agents as
where Qnj is the consumed quantity of sector j composite, and γnj is the Cobb-Douglas share parameter.
The production process requires combining intermediate inputs with labor:
where Qmk (ωj) is the sector k composite and Lfm(ωj) is the efective labor units used in ωj production. The efective unit of labor is diferent from headcount and this point will be clarified later in the text. Cobb-Douglas production function shares and material input shares add up to one, αmjL + αmjM = 1 and Pk βmjk = 1. The technology parameter Amj is country-sector specific and reflects the overall productivity. As usual, assume that the country-variety-specific productivity variable zm(ωj) is distributed Frechet with shape θ and scale -Γ 1 − 1−1, where θ > 1. The cost of producing one unit of ωj is equal to
where ϱmj = (αmjM)−αmjM (αmjL)−αmjL is the constant cost multiplier which does not play any role in the solution, cmjM is the price of intermediate input and wmj is the sector-specific wage. Consumers can source varieties locally if they are produced locally or import them from abroad. Destination country n consumers must pay dnmj times the price when they purchase a variety from origin country m. The cost multiplier is an iceberg trade cost taking all frictions into account. We assume dnn = 1 if a good is sourced locally.
Price indices. Consumers in country n will source each variety from the minimum cost origin, including the transportation costs and tarifs, therefore the local price will be
If the cost of producing the variety locally exceeds this efective price, i.e. c˜n(ωj) > p˜n(ωj), the variety will not be produced locally. This expression means that each country will source a given variety from a single origin.
The cost of producing zm(ωj) units of ωj is defined as cmj and it is identical for all varieties
(1)
based on the previously provided expression for c˜m(ωj). The price index reflecting the total cost of importing from country n is
(2)
which will determine the number of varieties and hence the trade volume from a given origin. Like the basic model, we can think of cmj as the basic prices and pm as the prices with cost insurance and freight (CIF) plus tarifs.
The price index reflecting the overall price levels relevant for consumers in n is given as
(3)
which follows from the distributional assumptions. Φn is a key variable and can be used as the “consumer price index” to convert nominal variables to real. The unit price of the composite intermediate input used in sector j production can be expressed as
(4)
where the constant cost multiplier is ϱ˜mj = Qk βmjk jk
International trade. The share of imports from n is equal to
(5)
where pnmj is a price index representing the cost of varieties produced in m shipped to n, and Φnj is a price index representing the overall cost of living.
Labor allocation and income. We model the labor allocation problem as a static version of Artuc et al., 2010, similar to Lee, 2020 and Artuc and Sommer, 2024. Assume that there is a continuum of workers with measure Lm in country m. Each worker, indexed with l, draws a sector specific inverse-productivity shock ϵl . Since the model is static, the shocks are drawn once, not repeatedly. Therefore we can consider the vector that consists of ϵl as the worker type. This is similar to how Melitz, 2003 treats the firm-specific productivity shocks. In this case, it is the sector-specific worker productivity.
One efective unit of labor input translates into ϵl units of worker time. Therefore, the productivity adjusted wage is given as wm/ϵl . Workers’ productivity draws are specific to the sector and worker, but they do not depend on the specific variety or the producer. The shocks are Weibull distributed with scale Γ 1 + 1 and shape ν. The distributional assumption facilitates the solution and produces simple expressions for the key variables in equilibrium.
The expected labor income is
(6)
and sectoral labor supply, i.e. the number (headcount) of workers allocated to production of j varieties, is
(7)
The headcount of workers in sector j is diferent from the efective units of labor input. The latter is given as Lfmj = wmj /W mν−1 Lm. Since there is only one factor of production (excluding the input materials), the total income is simply equal to W mLm.
Labor market clearing under perfect competition implies that the value of wage bill implied by firms’ optimization problem should be equal to the total income of workers. In this case, Cobb-Douglas technology simply implies a constant share of the wage bill in total output, when the production is optimized.
Consider sectoral output,
(8)
where Xnm is the value of sector j flows from m to n. Then, the labor market clearing condition discussed above implies that
(9)
which simply forces the total wage income of all sector j workers characterized by the labor allocation problem to be equal to the wage bill paid by producers.
Market clearing. Total nominal income is equal to
(10)
which is the sum of disposable income, WnLn. The expenditure is
(11)
where Sn is the savings, which is assumed to be fixed.
Then, goods market clearing implies that exports from m to n, defined as Xnmj , is equal to
import demand
(12)
where En is the total expenditure in n, and Yn is the sectoral output as defined before. The γnj En expression accounts for the demand by consumers and the P αmkMβmkjYnk expression accounts for the demand by producers for intermediate inputs.
Welfare. We can define welfare as the real GDP, which is equal to Wn Note that Qj(Φj ) n γnj . workers have diferent productivity draws for each sector, which stay with them for life, therefore the welfare of workers will difer from each other, but we will not focus on detailed distributional impacts in this paper.
Equilibrium. In this system, we can define the equilibrium as the matrix of wages wnj , the matrix of composite input prices cmM and the array of imports Xnmj such that markets clear following equations (9) and (12), and trade patterns follow equation (5) based on prices implied by wages, intermediate composite prices and transportation costs, given in equations (1), (2), (3), (4), (6), (7), (8), (10), and (11).
We follow the exact hat algebra method of Dekle et al., 2008 and Caliendo and Parro, 2015 to solve the model for the trade components. The same logic can also be applied to the labor allocation problem as in Artuc and Ortega, 2026. The exact-hat algebra method does not require inverting the model or calibrating some the technology parameters, such as productivity, which simplifies the solution process. We document all solution steps, required data, construction of the key variables, and quantification parameters are fully described in the Appendix A1. The replication code will be available online.
As the two main data sources, we use Organisation for Economic Co-operation and Development, 2025 (Inter-Country Input-Output tables [ICIO], 2025 edition and October 2025 update) to calibrate trade variables and Feenstra et al., 2015 (Penn World Table [PWT], version 10.01) to calibrate productivity changes over time.
ICIO gives us the trade array (Xnmj ), share of labor in production (αmjL), and share of materials in production (αm ). From these three key arrays, we can construct most of the remaining variables and parameters required to solve the model using exact hat algebra. These variables and parameters are: sectoral output, initial total income, initial total expenditure, initial savings rate, initial import shares, initial export shares, initial demand for consumption goods and intermediate inputs. ICIO 2025 covers 1995-2022, with 81 countries and 50 industries. Many of the large non-ASEAN economies are included in the dataset such as China, USA, EU, Japan, Brazil, India, UK, T¨urkiye, South Africa, Mexico, Saudi Arabia and Korea, along with Brunei Darussalam, Cambodia, Indonesia, Lao PDR, Malaysia, Myanmar, Philippines, Singapore, Thailand, and Viet Nam from ASEAN. We aggregate the industries into 21 groups with and work with the following sectors: 1. Agriculture, hunting, forestry, fishing; 2. Mining and quarrying, energy producing products; 3. Mining and quarrying, non-energy producing products; 4. Food products, beverages and tobacco; 5. Textiles, textile products, leather and footwear; 6. Wood and paper; 7. Coke and refined petroleum products; 8. Chemical and chemical products; 9. Pharmaceuticals, medicinal chemical and botanical products; 10. Rubber and plastics products; 11. Other non-metallic mineral products; 12. Basic iron and steel; 13. Basic non-iron metals; 14. Fabricated metal products; 15. Computer, electronic and optical equipment; 16. Electrical equipment; 17. Machinery and equipment; 18. Motor vehicles, trailers and semi-trailers; 19. Other transport equipment; 20. Other manufacturing; 21. All Services.
PWT provides the change in country-specific productivity over time (Am), which is assumed to be identical across sectors due to data limitations. These series allow us to implement counterfactual evolution of productivity series over time.
The remaining two parameters, trade elasticity θ and labor elasticity ν are taken from the literature. The trade elasticity is assumed to be θ = 4.0 based on Simonovska and Waugh, 2014. We take labor elasticity equal to ν = 1.44, following Arias et al., 2018.
Counterfactual trade cost and productivity changes. We calculate the implied trade
costs using the standard Head and Ries, 2001 formula
using the ICIO trade data as described earlier. Then, we calculate the change in trade costs as ddnmj = dnmj,2022/dnmj,1995. In the counterfactual simulations, we will impose the change in the trade costs faced by the countries that switch to high income status to ASEAN country trade costs. The change in productivity is also calculated similarly as Acmj = Amj,2022/Amj,1995 using PWT data.
This section uses the model to quantify how changes in efective trade costs and productivity afect real income. The counterfactuals are designed to isolate five channels. The first reduces import costs, capturing lower costs of sourcing foreign intermediates through improvements in logistics, customs, regulatory recognition, connectivity, and non-tarif barriers. In particular, we calculate the average change in import costs experienced by countries that switch to high-income status. Then impose this number to ASEAN countries, instead of using their own import cost changes. The formula is provided in the previous section. The second reduces export costs similarly again using the formula provided in the previous section, capturing improved access to foreign markets and smoother cross-border procedures for selling abroad. The third reduces broader trade costs, combining the main channels through which goods and inputs move across borders. The fourth increases total factor productivity (TFP), capturing improvements in firm capabilities, technology adoption, managerial practices, supplier quality, and production eficiency. Similar to trade cost shocks, we calculate the average productivity increases for countries that switch to high-income status and apply them to ASEAN countries instead of using their own observed productivity increases. The fifth combines trade-cost reductions with productivity improvements, combining all counterfactual shocks.
Table 6 reports the percentage change in real income under these benchmark shocks for Thailand and selected ASEAN comparators. The results should be interpreted as counterfactual changes relative to the baseline equilibrium, not as unconditional forecasts. They show the model-implied returns to reducing efective trade costs and raising productivity under a common benchmark. The benchmark shocks are based on trade-cost reductions and productivity gains observed among economies that reached high-income status since 1995.2
Table 6: Percentage change in real income after benchmark shocks
| Country | Import cost | Export cost | Trade cost | TFP | Trade cost + TFP |
| Viet Nam | 27.50 | 20.75 | 72.01 | 105.21 | 215.04 |
| Malaysia | 18.09 | 15.45 | 46.61 | 58.09 | 127.53 |
| Cambodia | 34.52 | 13.72 | 58.47 | 38.40 | 116.78 |
| Thailand | 16.72 | 12.51 | 41.17 | 54.78 | 114.15 |
| Philippines | 8.20 | 7.01 | 19.67 | 45.48 | 72.26 |
| Lao PDR | 12.29 | 6.08 | 20.79 | 44.93 | 73.54 |
| Myanmar | 8.64 | 4.30 | 16.98 | 59.56 | 82.78 |
| Indonesia | 6.41 | 2.92 | 12.20 | 46.58 | 62.82 |
Notes: Values are percentage changes in real income relative to the baseline equilibrium. The import-cost scenario captures reductions in the efective cost of sourcing foreign inputs. The export-cost scenario captures reductions in the efective cost of selling abroad. The trade-cost scenario captures broader reductions in efective trade costs. The TFP scenario captures productivity improvements. The combined scenario applies trade-cost reductions together with productivity improvements.
Several results stand out. First, the returns to reform difer substantially across ASEAN economies. Viet Nam, Malaysia, Cambodia, and Thailand show especially large gains from trade-cost reductions, while Indonesia, Myanmar, Lao PDR, and the Philippines show smaller gains from trade-cost reductions but still sizable gains from productivity improvements. This heterogeneity is central to the paper’s argument. Middle-income economies do not benefit from openness in the same way. The welfare efects depend on production structure, GVC participation, reliance on imported inputs, sectoral linkages, and the ability of firms to transform market access into domestic value creation.
Second, import-cost reductions generate larger welfare gains than export-cost reductions in all countries reported in the table. For Thailand, a reduction in import costs increases real income by 16.72 percent, compared with 12.51 percent for a reduction in export costs. This asymmetry is consistent with the importance of imported intermediates in production networks. Lower import costs reduce the price of composite intermediates, improve downstream competitiveness, and propagate through the input-output structure of the economy. The result suggests that market access should not be understood only as access to foreign consumers. For GVC-oriented economies, access to foreign inputs is also a core component of competitiveness.
Third, broader reductions in trade costs generate substantially larger gains than either the import or export margin alone. The total impact is also larger than the sum of the two shocks when applied separately, indicating significant complementarities. For Thailand, the trade-cost scenario increases real income by 41.17 percent. For Viet Nam, Malaysia, and Cambodia, the corresponding gains are 72.01 percent, 46.61 percent, and 58.47 percent, respectively. These efects reflect the general equilibrium nature of the model. Lower trade frictions reduce consumer price indices, lower intermediate input costs, change sourcing shares, raise output in competitive sectors, and afect wages through labor reallocation. The impact is therefore not limited to the direct cost reduction at the border; it propagates through production networks and domestic factor markets.
Fourth, productivity improvements generate large gains across the region. For Thailand, the TFP scenario increases real income by 54.78 percent. The corresponding gains are 105.21 percent for Viet Nam, 58.09 percent for Malaysia, 45.48 percent for the Philippines, 44.93 percent for Lao PDR, 59.56 percent for Myanmar, and 46.58 percent for Indonesia. These results highlight that openness is not enough. The ability of firms and sectors to benefit from trade depends on their productivity, managerial capacity, technology adoption, supplier quality, and ability to meet market and regulatory requirements. Productivity improvements reduce unit costs and allow firms to exploit larger input and output markets more efectively. Fifth, the combined trade-cost and productivity scenario produces the largest gains in every country. For Thailand, real income rises by 114.15 percent when trade-cost reductions and productivity improvements occur together. This exceeds the sum of the separate trade-cost and productivity efects, which indicates complementarity between the two channels. The same pattern holds across the ASEAN comparators. Lower trade frictions raise the returns to productivity improvements by expanding access to inputs and markets. Productivity improvements raise the returns to trade-cost reductions by allowing firms to scale, comply, and compete. The model therefore supports a joint reform strategy rather than a sequencing in which trade openness and capability upgrading are treated as separate policy agendas.
Thailand provides a useful illustration of the broader middle-income challenge. Its gains are substantial, but not the largest in the region. Thailand benefits strongly from lower trade costs because of its deep integration in manufacturing GVCs and reliance on imported intermediates. It also benefits strongly from productivity improvements because upgrading requires stronger domestic capabilities, supplier quality, and movement into higher-value functions. The combined scenario shows that Thailand’s welfare gains are not driven by market access or productivity alone, but by the interaction between the two.
The results also clarify the role of interoperability. In the model, reductions in iceberg trade costs are represented as lower dnm. In the policy interpretation, these reductions should be understood broadly. They include not only lower tarifs or transport costs, but also faster customs clearance, more predictable border procedures, internationally recognized testing and certification, simpler documentation, stronger logistics reliability, better digital connectivity, and regulatory cooperation with key partners. These margins reduce the efective cost of participating in production networks and are especially important in standards-intensive sectors such as electronics, machinery, transport equipment, electric vehicles, and other high-growth manufacturing activities.
The main conclusion from the results is that the development challenge for many middle-income economies is not captured by a choice between trade openness and productivity reform. The two are mutually reinforcing. Lower trade costs raise the returns
to productivity improvements, while productivity improvements raise the returns to lower trade costs. A policy package that reduces hard and soft trade frictions while strengthening domestic capabilities is therefore likely to generate substantially larger welfare gains than either approach pursued in isolation.
The model results point to a twin agenda for middle-income economies: qualified openness and domestic capability upgrading. Countries should not retreat from trade and global value chains, but neither should they rely on openness in its traditional form. The objective is to make openness more productive by lowering the efective cost of operating in cross-border production networks and by strengthening the domestic capabilities required to capture more value from them.
The first priority is to reduce hard and soft trade frictions. Hard frictions include transport infrastructure, port capacity, logistics systems, energy reliability, and physical connectivity. Soft frictions include customs procedures, documentation requirements, standards, testing, certification, rules of origin, and regulatory recognition. These frictions are often treated as administrative details, but in GVC sectors they are central determinants of competitiveness. They determine whether firms can source inputs, certify products, meet buyer requirements, and deliver reliably to foreign markets.
Operationally, this implies expanding accredited testing and certification capacity, shortening certification turnaround times, improving risk-based customs procedures, digitizing documentation, strengthening logistics coordination, investing in transport and digital connectivity, and pursuing mutual recognition arrangements with priority partners. The objective is not deregulation in a narrow sense. It is predictable, eficient, and internationally credible regulation. Firms need to demonstrate compliance quickly, reliably, and at reasonable cost. It is also important to focus on reducing trade costs in all directions, instead of focusing on export costs alone, as an overall reduction in trade costs generates much higher gains than the sum of reductions of import and export costs when implemented separately.
The second priority is domestic capability upgrading. Trade-cost reductions generate larger gains when firms have the productivity and organizational capacity to exploit new opportunities. Policy should therefore support technology adoption, managerial upgrading, supplier development, workforce skills, quality management, digital production systems, and access to finance for upgrading. These interventions are especially important for firms seeking to move from assembly and basic processing toward design, engineering, testing, systems integration, logistics coordination, and after-sales services.
A central part of this agenda is strengthening the services embedded in manufacturing and high-growth sectors. Modern GVCs rely on engineering, logistics, certification, compliance management, software, data management, marketing, and after-sales support. These activities raise domestic value added even when upstream components remain globally sourced. For middle-income economies, upgrading does not necessarily require producing every input domestically. It requires capturing more value from the functions that surround production.
The third priority is to tailor reform strategies to country structure. Economies deeply embedded in manufacturing GVCs, such as Thailand, Malaysia, and Viet Nam, can gain from reducing interoperability frictions and moving into higher-value manufacturing and service functions. Economies with stronger commodity specialization may need to focus on processing, logistics, standards, and links between resource sectors and downstream industries. Labor-intensive exporters may need to combine market access with supplier upgrading, skills, and compliance capacity. The general principle is common, but the binding constraints difer by country.
The fourth priority is to maintain connectivity through regional integration and selective global links. ASEAN remains a natural anchor for reducing trade costs through trade facilitation, regulatory cooperation, logistics coordination, and mutual recognition. At the same time, middle-income economies need access to extra-regional markets, technologies, and production networks. The goal is not diversification for its own sake, but qualified connectivity: maintaining access to multiple trade communities while reducing the fixed costs and regulatory risks associated with operating across them.
This policy approach also changes how countries should think about industrial policy. Sectoral support is most efective when it addresses the constraints that prevent firms from qualifying, scaling, and upgrading. Production incentives should therefore be paired with investments in standards infrastructure, supplier capabilities, skilled workers, certification capacity, logistics, and cross-border regulatory cooperation. Otherwise, firms may expand output without moving into higher-value functions or increasing domestic value added.
Sequencing matters. In the near term, countries should focus on the frictions that most directly prevent firms from using existing trade opportunities: customs, certification, documentation, logistics, connectivity, and regulatory recognition. In the medium term, the priority should shift toward scaling domestic capabilities in priority ecosystems, including manufacturing, high-growth services, digital production, and supplier networks. In the longer term, middle-income economies should aim to become connector economies: regionally embedded, globally connected, and able to operate reliably across multiple regulatory systems.
This paper studies how middle-income economies can turn trade openness and productivity-enhancing reforms into higher real income and welfare. The experience of ASEAN shows that openness is not a uniform condition. Countries difer in how they participate in trade, how deeply they are embedded in production networks, how much domestic value they capture, and how strongly firms can respond to lower trade costs. These diferences help explain why the returns to openness and productivity reforms vary across economies.
The model shows that trade-cost reductions and productivity improvements are both important, but their largest efects arise when they operate together. Reducing trade costs generates welfare gains by lowering input costs, improving market access, reducing consumer prices, and propagating through input-output linkages. Productivity improvements generate welfare gains by lowering unit costs and enabling firms to compete in more demanding activities. The combined scenario produces the largest gains because lower trade frictions raise the returns to domestic capabilities, while stronger domestic capabilities raise the returns to openness.
Thailand illustrates the core mechanism. Benchmark counterfactuals imply real-income gains of 16.72 percent from import-cost reductions, 12.51 percent from export-cost reductions, 41.17 percent from broader trade-cost reductions, 54.78 percent from productivity improvements, and 114.15 percent when trade-cost reductions and productivity improvements are combined. These results suggest that Thailand’s next stage of development depends neither on openness alone nor on productivity reform alone, but on their interaction.
The broader implication is that many middle-income countries need a twin agenda of qualified openness and domestic capability upgrading. Qualified openness means reducing the hard and soft frictions that prevent firms from participating efectively in regional and global production networks. These include transport infrastructure, market access, connectivity, customs, logistics, standards, certification, testing, documentation, and regulatory recognition. Domestic capability upgrading means strengthening firm productivity, supplier quality, managerial practices, skills, technology adoption, and the manufacturing-related services embedded in high-growth sectors and GVCs.
This strategy does not imply indiscriminate liberalization, nor does it imply protection from global competition. It means building the institutions, infrastructure, and capabilities that allow openness to translate into domestic value creation. In a fragmented and rule-intensive global economy, competitiveness depends on the ability to connect, comply, and adapt. Standards, certification, customs, logistics, digital systems, and regulatory cooperation are therefore central to development policy, not peripheral administrative concerns.
The main conclusion is that the relevant policy question is not trade openness or productivity reform. It is how to combine them. Middle-income economies can generate larger welfare gains when they reduce efective trade costs while simultaneously strengthening the domestic capabilities that allow firms to use trade opportunities productively. For ASEAN and other middle-income regions, the next phase of development will depend on turning openness into upgrading through qualified connectivity, firm capability, and higher domestic value creation.
Arias, J., Artuc, E., Lederman, D., & Rojas, D. (2018). Trade, informal employment and labor adjustment costs. Journal of Development Economics, 133, 396–414.
Artuc, E., Chaudhuri, S., & McLaren, J. (2010). Trade shocks and labor adjustment: A structural empirical approach. American Economic Review, 100 (3), 1008–45.
Artuc, E., & Ortega, J. (2026). International trade policy and quantitative models: A practitioner’s guide. World Bank Policy Research Working Paper, 11347.
Artuc, E., & Sommer, K. (2024). Trade, outsourcing, and the environment. World Bank Policy Research Working Paper, (10665).
Arvis, J.-F., Herrera Dappe, M., Ulybina, D., & Wiederer, C. (2026). Connecting to compete 2025: The new Logistics Performance Indicators 2.0. World Bank Publications.
Borin, A., Mancini, M., & Taglioni, D. (2025). Economic consequences of trade and global value chain integration: A measurement perspective. The World Bank Economic Review, 1–24.
Caliendo, L., & Parro, F. (2015). Estimates of the trade and welfare efects of NAFTA. Review of Economic Studies, 82(1), 1–44.
Dekle, R., Eaton, J., & Kortum, S. (2008). Global rebalancing with gravity: Measuring the burden of adjustment. IMF Staf Papers, 55 (3), 511–540.
Eaton, J., & Kortum, S. (2002). Technology, geography, and trade. Econometrica, 70 (5), 1741–1779.
Fajgelbaum, P., Goldberg, P., Kennedy, P., Khandelwal, A., & Taglioni, D. (2024). The us-china trade war and global reallocations. American Economic Review: Insights, 6 (2), 295–312.
Feenstra, R. C., Inklaar, R., & Timmer, M. P. (2015). The next generation of the penn world table. American Economic Review, 105 (10), 3150–3182.
Galle, S., Rodr´ıguez-Clare, A., & Yi, M. (2022). Slicing the pie: Quantifying the aggregate and distributional efects of trade. The Review of Economic Studies, 90 (1), 331–375.
Head, K., & Ries, J. (2001). Increasing returns versus national product diferentiation as an explanation for the pattern of u.s.-canada trade. American Economic Review, 91 (4), 858–876.
Lee, E. (2020). Trade, inequality, and the endogenous sorting ofheterogeneous workers. Journal of International Economics, 125, 103310.
Melitz, M. J. (2003). The impact of trade on intra-industry reallocations and aggregate industry productivity. Econometrica, 71 (6), 1695–1725.
Organisation for Economic Co-operation and Development. (2025). Trade in value added (tiva) database [Based on Inter-Country Input-Output (ICIO) Tables]. OECD.
Redding, S. J. (2016). Goods trade, factor mobility and welfare. Journal of International Economics, 101, 148–167.
Santoni, G., Taglioni, D., Artuso, F., & Clarke, J. (2026). Technological capabilities and export upgrading: Evidence from Thailand. Mimeo: World Bank.
Simonovska, I., & Waugh, M. E. (2014). The Elasticity of Trade: Estimates and Evidence. Journal of International Economics, 92 (1), 34–50.
Smith, T., Hollweg, C. H., & Taglioni, D. (2017). Vietnam at a crossroads: Engaging in the next generation of global value chains. World Bank Publications.
Taglioni, D., & Winkler, D. (2016). Making global value chains work for development. World Bank Publications.
UNCTAD. (2024). Making sense of Non-Tarif Measures (NTMs): A user’s guide to accessing and analysing the data (UNCTAD Guide). United Nations Publishing.
UNCTAD. (2026). TRAINS: The global database on Non-Tarif Measures [Retrieved June 2026, from https://trainsonline.unctad.org/home]. United Nations Publishing.
WITS. (2026). Global value chains module [Retrieved June 2026 from https://wits.worldbank.org/gvc/gvc-data-download.html].
World Bank. (2020). Doing Business 2020: Comparing business regulation in 190 economies [Washington, DC: World Bank].
World Bank. (2026a). Doing Business 2004-2020 archive [Retrieved June 2026, from https://archive.doingbusiness.org/en/data/exploretopics/trading-across-borders].
World Bank. (2026b). World Development Indicators (WDI) [Retrieved June 2026 from https://data.worldbank.org/].
WTO. (2026). Word Trade Organization (WTO) STATS [Retrieved June 2026 from https://stats.wto.org/].
This section describes the method used to solve our model. The solution will be similar to Artuc and Ortega, 2026. Assume that trade costs and productivity change, such that ddnmj = dnmj1dnm and Acm = Anj1Am . We are interested in the impact of this shock on trade patterns and welfare. There are no other shocks or changes in the system.
We chose to take the trade flow array Xnmj , wage matrix wmj and input prices cmMj as the “guessed” variables.
Step 0→ Guess the changes in outsourced input price index cdmjM, wages wcmj , and trade flows X[nm. A good starting point is to take all elements of each array equal to one.
Step 1→ Calculate change in cost index defined as
from equation (1).
Step 2→ Change in prices pdnmj from equation (2).
Step 3→ Calculate change in price index for composites Φcnj = Pm πnmj pdnmj 1θ from equation (3).
Step 4→ Calculate change in price index for intermediate inputs cdm∗jM = Qk Φcmk βmjk from equation (4).
(pdnmj )−θ Step 5→ Change in trade (import) shares πdnmj = , from equation (5). (Φcnj )
Step 6→ Change in total disposable income given as Wdn = Pj Lnj wcnj 1ν , from equation (6).
(wcnj )dn ν , ν Step 7→ Change in labor allocation Lcnj = from equation (7).
Step 8→ Calculate change in sectoral output
from equation (8).
ν−1 Ldnmj ν = , from equation (9) after plugging in labor allocation.
Step 10→ Market clearing and demand
from equations (10), (11), and (12).
Step 11→ Calculate the implied change in numeraire, which is the world output in
this example: ϑ = Pm IcmIm Then, scale nominal variables as needed, such that Pm Im = wdm∗j /ϑ, cdm∗∗j = ccm∗j /ϑ, and X</sup>nm∗∗j = X</sup>nm∗j /ϑ.
Step 12a→ Calculate ξ1 = Pn Pm Pk |X[nmk − X\nm∗∗k |, and update X[nmk = ρ1X </sup>nm∗∗ + k (1 − ρ1)X[nmk .
Step 12b→ Calculate ξ2 = Pm Pj |cdmjM − cdm∗∗jM | and update cdmjM = ρ2cdm∗∗jM + (1 − ρ2)cdmjM. Step 12c→ Calculate ξ3 = Pm Pj |wcmj − w[m∗∗ | and update wcmj = ρ3w[m∗∗j + (1−ρ3)wcmj . Step 13→ If ξ < 10−8 for all i = {1, 2, 3} then stop the loop, else go to step 1 and continue.
The following parameters and initial shares are required for solution:
• Trade and labor allocation elasticity parameters, θ, and ν.
• Production function parameters, αnjM, αnjL, and βnjk.
• Preference parameters, γnj .
• Labor allocation shares, Ln.
• Trade data, Xnmj , i.e. good j produced by country m and demanded by country n. Note that this includes diagonals, i.e. domestic production consumed locally, therefore output is also included. Note that tarifs and transportation costs are excluded.
• Initial share variables, calculated using the trade and tarif data using parameters above: ςn, Sn, πnmj , Ξnmj , jk , and Dnm. See below for definitions and calculations.
• Speed update variables for the solution method: 0 < ρi < 1, for i = {1, 2, 3}. We set them arbitrarily equal to 0.5. Setting these numbers to large values might impact convergence, therefore small numbers are recommended.
• Imputation of required share variables:
Consider the array of initial trade values Xnmj at basic prices (excluding transportation costs and tarifs), and parameters of the model (αnjM, αnjL, βnjk, and γnj ), then:
– Sectoral output is Ymj = Pn Xnmj .
– Initial total income is In = Pj αnjLYnj .
– Initial total expenditure is En = Pj Pm Xnmj − Pj αnjMYnj .
– Initial savings rate is Sn = Pm Pj Xmnj −Pm Pj Xnmj In
– Initial trade (import) shares are πnmj Xnm Pi Xnij
Xnm – Initial trade (export) shares are Ξnm j j0 Pi Ximj
– The demand for intermediate inputs is defined as nm ≡ n while the jk jM jk ≡ Enγ πnm. Then the demand shares are Dnmjk = φP jkj φnmjk +φnmLk and DnmLk = φnmP Lkj φnmjk +φnmLk respectively, for intermediate inputs and final goods.

