\begin{document} \title{An Euler Method Approach to Simulating Changes in Trade Policy\vspace{0.5in}% } \author{David Riker and Samantha Schreiber\thanks{U.S. International Trade Commission.\newline Contact emails: david.riker@usitc.gov}} \date{\vspace{1.5in}% \today} \thispagestyle{empty} \begin{center} {\Large AN EULER METHOD APPROACH TO \\ \vspace{0.25in} SIMULATING CHANGES IN TRADE POLICY} \\ \vspace{0.75in} {\Large David Riker and Samantha Schreiber} \\ \vspace{0.25in} {U.S. International Trade Commission, Office of Economics} \\ \vspace{0.75in} {\Large August 2019} \vspace{0.75in} \end{center} \begin{abstract} \noindent This paper provides technical documentation for a set of industry-specific, partial equilibrium (PE) models of that can be used to simulate the economic impact of changes in trade policies. First, we identify the data inputs of the basic model. Then we present the equations underlying the model and the Euler method technique that we use to run simulations in simple Excel spreadsheets. \end{abstract} \vfill \noindent The models described in this documentation are the result of ongoing professional research of USITC staff and are solely meant to represent the professional research of individual authors. These papers are not meant to represent in any way the views of the U.S. International Trade Commission or any of its individual Commissioners. Please address correspondence to david.riker@usitc.gov. \clearpage \newpage \doublespacing \setcounter{page}{1} \section{Introduction \label{sec: section1}} Industry-specific, partial equilibrium (PE) models are sets of equations that identify the economic determinants of prices and sales of imports and competing domestic products. The equations can be used to estimate the impact of changes in trade policy on prices, domestic shipments, and imports.\footnote{\citeasnoun{HRiker2017} provides an introduction to this type of PE model.} The models are often used for prospective analysis of policy changes not yet in force, though they can also be used to analyze the impact of policy changes in the past. The rest of this paper is organized into four sections. The second section identifies the data inputs of the basic model. The third section presents the equations of the model. The fourth section explains the Euler method technique that we use to run simulations in simple Excel spreadsheets. The final section discusses the USITC's PE modeling portal, a website with downloadable PE models of trade policy that are available in the user-friendly spreadsheet format. \section{Data Inputs of the Model \label{sec: section2}} The data inputs of the models include the initial value of sales of the specific product from each supplier to the market, initial and revised tariff rates, and estimates of the price responsiveness of demand and supply, summarized by elasticity values.\footnote{\citeasnoun{HHIK2007} is one of many academic studies that provide econometric estimates of these elasticity values.} When modeling, it is important to understand the definitions and the limitations of available industry data. PE models are usually designed to reduce data requirements by adopting restrictive assumptions: for example, they might assume that the wage rate that each firm pays is not affected by changes in industry-specific tariff rates since employment in the specific industry is only a small share of total labor supply in the entire economy. \section{Equations of the Model \label{sec: section3}} The basic model focuses on a specific industry in a single national market. The model adopts the \citeasnoun{Armington1969} assumption that products are differentiated by source country. There are three products sold in the market: domestic shipments (denoted $d$), imports that are subject to the trade policy change ($s$), and imports that are not subject to the policy change ($n$). The producer price of goods from source $j \in \{d,s,n\}$ is $p_j$, and the equilibrium quantity is $q_j$.\footnote{Quantity refers to a count of items or a weight measure like tons, not a dollar value.} Equilibrium prices and quantities are endogenous variables of the model. The policy variable $\tau_s \geq 1$ is the tariff factor on the imports that are subject to the tariff change. It is equal to one plus the ad valorem tariff rate on these imports.\footnote{It is not the tariff rate; this trade cost factor is often called the power of the tariff.} $\tau_s$ is an exogenous variable of the model. Consumers have nested constant elasticity of substitution (CES) preferences for the three products. The elasticity of substitution between the two types of imports ($\theta$) is greater than or equal to the elasticity of substitution between the domestic product and a CES composite of the imports ($\sigma$). Equation (\ref{eq:1}) is the CES price index for the two types of imports, and equation (\ref{eq:2}) is the total industry CES price index for the market. \begin{equation}\label{eq:1} I = \left( b_s \ (p_s \ \tau_s)^{1-\theta}+ b_n \ (p_n)^{1-\theta} \right) ^\frac{1}{1-\theta} \end{equation} \begin{equation}\label{eq:2} P = \left( (p_d)^{1-\sigma}+(I)^{1-\sigma} \right) ^\frac{1}{1-\sigma} \end{equation} \noindent $b_s$ and $b_n$ are calibrated parameters that capture preference symmetries and differences in the quality of the three products. The parameter $\eta < 0$ is the price elasticity of total demand in the industry. Equations (\ref{eq:3}), (\ref{eq:4}), and (\ref{eq:5}) are the demand functions for the three products. \begin{equation}\label{eq:3} q_d = k \ (P)^{\eta} \ \left(\frac{p_d}{P} \right)^{-\sigma} \end{equation} \begin{equation}\label{eq:4} q_s = k \ b_s \ (P)^{\eta} \ \left( \frac{I}{P} \right)^{-\sigma} \ \left( \frac{p_s \ \tau_s}{I} \right)^{-\theta} \end{equation} \begin{equation}\label{eq:5} q_n = k \ b_n \ (P)^{\eta} \ \left( \frac{I}{P} \right)^{-\sigma} \ \left( \frac{p_n}{I} \right)^{-\theta} \end{equation} \noindent $k$ is a demand parameter that is calibrated to the size of market. Equations (\ref{eq:6}), (\ref{eq:7}), and (\ref{eq:8}) are the supply functions for the three products. They have constant price elasticities $\epsilon_d$, $\epsilon_s$, and $\epsilon_n$. \begin{equation}\label{eq:6} q_d = a_d \ (p_d)^{\epsilon_d} \end{equation} \begin{equation}\label{eq:7} q_s = a_s \ (p_s)^{\epsilon_s} \end{equation} \begin{equation}\label{eq:8} q_n = a_n \ (p_n)^{\epsilon_n} \end{equation} \noindent $a_d$, $a_s$, and $a_n$ are calibrated parameters that reflect cost factors that are not affected by the changes in tariff rates (e.g., energy costs, possibly wage rates). The market equilibrium is the set of prices for which the demand for each product is equal to its supply. These eight equations are used to simulate the change in equilibrium prices and quantities resulting from changes in tariff rates. The first step in the simulations is to use the equations of the model and initial tariff rates, prices, and quantities in the market to calibrate the $a$, $b$, and $k$ parameters. The second step is to use the equations of the model, revised tariff rates, and calibrated parameters to estimate new equilibrium prices and quantities that result from the policy changes. The final step is to calculate the percentage change from the initial values of the prices and quantities to their new equilibrium values. These percentage changes are estimates of the economic impact of the policy change, holding all other factors fixed. \section{Euler Method for Simulating the Policy Changes \label{sec: section4} } The simulations can be run in mathematical software that includes a non-linear solver, like Mathematica or GAMS. However, they can also be run in Excel spreadsheets using an Euler method technique to run the simulations. The system of eight equations can be simplified to the following three equations in prices: \begin{equation}\label{eq:9} a_d \ (p_d)^{\epsilon_d} = k \ (P)^{\eta} \ \left( \frac{p_d}{P} \right)^{-\sigma} \end{equation} \begin{equation}\label{eq:10} a_s \ (p_s)^{\epsilon_s} = k \ b_s \ (P)^{\eta} \ \left( \frac{I}{P} \right)^{-\sigma} \ \left( \frac{p_s \ \tau_s}{I} \right)^{-\theta} \end{equation} \begin{equation}\label{eq:11} a_n \ (p_n)^{\epsilon_n} = k \ b_n \ (P)^{\eta} \ \left( \frac{I}{P} \right)^{-\sigma} \ \left( \frac{p_n}{I} \right)^{-\theta} \end{equation} \noindent Totally differentiating (\ref{eq:1}), (\ref{eq:2}), (\ref{eq:9}), (\ref{eq:10}), and (\ref{eq:11}) with respect to prices and the exogenous tariff factor $\tau_s$ results in the following five linear equations in the proportional changes in prices: \footnote{The notation $\hat{p}_j$ represents the proportional change in the producer price from source $j$, $\frac{dp_j}{p_j}$.} \begin{equation}\label{eq:12} \hat{I} = \left(\frac{\tau_s \ p_s \ q_s }{\tau_s \ p_s \ q_s \ + \ p_n \ q_n } \right) \ (\hat{p}_s + \hat{\tau}_s) + \left( \frac{p_n \ q_n}{\tau_s \ p_s \ q_s \ + \ p_n \ q_n } \right) \ \hat{p}_n \end{equation} \begin{equation}\label{eq:13} \hat{P} = \left(\frac{p_d \ q_d}{p_s \ q_d \ + \ \tau_s \ p_s \ q_s \ + \ p_n \ q_n}\right) \ \hat{p}_d + \left(\frac{\tau_s \ p_s \ q_s \ + \ p_n \ q_n}{p_s \ q_d \ + \ \tau_s \ p_s \ q_s \ + \ p_n \ q_n}\right) \ \hat{I} \end{equation} \begin{equation}\label{eq:14} \epsilon_d \ \hat{p}_s = \left(\sigma+\eta \right) \hat{P} \ + \ (\theta - \sigma) \ \hat{I} \ -\theta \ \hat{p}_d \end{equation} \begin{equation}\label{eq:15} \epsilon_s \ \hat{p}_s = \left(\sigma+\eta \right) \hat{P} \ + \ (\theta - \sigma) \ \hat{I} \ -\theta \ \left(\hat{p}_s \ + \ \hat{\tau}_s \right) \end{equation} \begin{equation}\label{eq:16} \epsilon_n \ \hat{p}_n = \left(\sigma+\eta \right) \hat{P} \ -\sigma \ \hat{p}_n \end{equation} \noindent The solution to (\ref{eq:12}) through (\ref{eq:16}) can be represented as a set of reduced-form equations for $\hat{p}_d$, $\hat{p}_s$, and $\hat{p}_n$. These reduced-form equations define the updating formulas in the spreadsheet models. The simulations divide the total percentage change in the tariff factor $\tau_s$ into many small steps. If the total percentage change $\hat{\tau}_s$ is divided into 3,000 steps with constant step-to-step growth rate $g$, then $(1+\hat{\tau}_s) = (1+g)^{3000}$ and \begin{equation}\label{eq:17} g = (1+\hat{\tau}_s)^{1/3000}-1 \end{equation} \noindent In each step of the simulation, equilibrium prices are re-calculated according to the updating formulas and quantities are re-calculated according to (\ref{eq:6}), (\ref{eq:7}), and (\ref{eq:8}). After the 3,000 steps, the cumulative changes in the tariff factor will be equal to the total policy change $\hat{\tau}_s$. The advantage of the Euler method technique is that it creates spreadsheet models that are easy to operate, without specialized mathematical software or an expert understanding of the underlying equations of the economic models. The limitations of the approach are that it can be time-consuming to create the spreadsheet models, and there are practical limitations on the complexity of the structural equations of the models. One way to balance these advantages and limitations is to use software like Mathematica or GAMS when developing new models and running simulations based on complex versions of the model, while using Euler method spreadsheets for simulations based on standard models commonly used by policy analysts who do not build their own PE models. \section{Variations on the Basic Model \label{sec: section5} } There are many different types of PE models of changes in trade policy, and several have been translated into Euler method spreadsheets. These are available for download at the USITC's PE Modeling Portal at \url{https://www.usitc.gov/data/pe\_modeling/index.htm}. The Portal also includes spreadsheet models in which the simulated economic outcomes have closed-form solutions and it is not necessary to use the Euler method in the simulation. For example, this is the case for the Portal spreadsheets based on monopolistic competition models. We expect to continue to expand the set of models available and to periodically update the Portal. \newpage \bibliographystyle{dcu} \bibliography{biblio} \end{document}