Skip to main content
Log in

Trade Friction in Two-Country HANK with Financial Friction

  • Published:
Computational Economics Aims and scope Submit manuscript

Abstract

This article develops the Two-Country HANK model(Heterogeneous Agents New Keynesian) in the context of trade frictions between China and the United States. Diverging from the conventional RANK (Representative Agent New Keynesian) model, our approach more accurately mirrors real-world economic dynamics by incorporating household heterogeneity and financial market frictions. Our investigation into the effects of reciprocal tariff impositions by these nations has revealed several critical insights. First, tariffs induce a measure of economic downturn in both countries. While a larger country can inflict more significant harm on a smaller one at a lower cost, it is not immune to output reductions. Second, the imposition of tariffs amid trade disputes alters the investment landscape of the smaller country, exacerbating the disparity in foreign investment holdings between wealthier and poorer households and thereby affecting wealth inequality. Lastly, although monetary policy can invigorate investment via financial leverage in the face of trade-induced recessions, its short-term benefits on output are constrained due to its limited capacity to boost labor effectively.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

  • Achdou, Y., Han, J., Lasry, J.-M., Lions, P.-L., & Moll, B. (2022). Income and wealth distribution in macroeconomics: A continuous-time approach. The Review of Economic Studies, 89(1), 45–86.

    Article  Google Scholar 

  • Ahn, S., Kaplan, G., Moll, B., Winberry, T., & Wolf, C. (2018). When inequality matters for macro and macro matters for inequality. Nber Macroeconomics Annual, 32(1), 697–743.

    Google Scholar 

  • Aiyagari, S. (1994). Uninsured idiosyncratic risk and aggregate saving. Quarterly Journal of Economics, 109(3), 659–684.

    Article  Google Scholar 

  • Amiti, M., Redding, S. J., & Weinstein, D. E. (2019). The Impact of the. (2018). Tariffs on prices and welfare. Journal of Economic Perspectives, 33(4), 187–210.

    Article  Google Scholar 

  • Auclert, A. (2019). Monetary policy and the redistribution channel. American Economic Review, 109(6), 2333–2367.

    Article  Google Scholar 

  • Auclert, A., Bardóczy, B., Rognlie, M., & Straub, L. (2021). Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models. Econometrica, 89(5), 2375–2408.

    Article  Google Scholar 

  • Auray, S., Devereux, M.B., & Eyquem, A. (2020). Trade wars, currency wars. (27460).

  • Batini, N., Justiniano, A., Levine, P., & Pearlman, J. (2006). Robust inflation-forecast-based rules to shield against indeterminacy. Journal of Economic Dynamics and Control, 30(9), 1491–1526.

    Article  Google Scholar 

  • Bergin, P. R., & Corsetti, G. (2023). The macroeconomic stabilization of tariff shocks: What is the optimal monetary response? Journal of International Economics, 143, 103758.

    Article  Google Scholar 

  • Bewley, T. (1977). The permanent income hypothesis: A theoretical formulation. Journal of Economic Theory, 16(2), 252–292.

    Article  Google Scholar 

  • Brunnermeier, M.K., Eisenbach, T.M., Sannikov, Y. (2012). Macroeconomics with Financial Frictions: A Survey.

  • Ding, H., Koedijk, K. G., Qi, T., & Shen, Y. (2022). U.S.-China trade war and corporate reallocation: Evidence from Chinese listed companies. The World Economy, 45(12), 3907–3932.

    Article  Google Scholar 

  • Egan, M., Lewellen, S., & Sunderam, A. (2021). The cross section of bank value.

  • Furceri, D., Hannan, S., Ostry, J., Rose, A. (2018). Macroeconomic Consequences of Tariffs. (25402). Publisher: National Bureau of Economic Research, Inc Type: NBER Working Papers.

  • Gali, J., & Monacelli, T. (2005). Monetary policy and exchange rate volatility in a small open economy. Review of Economic Studies, 72(3), 707–734.

    Article  Google Scholar 

  • Gertler, M., & Karadi, P. (2011). A model of unconventional monetary policy. Journal of Monetary Economics, 58(1), 17–34.

    Article  Google Scholar 

  • Huggett, M. (1993). The risk-free rate in heterogeneous-agent incomplete-insurance economies. Journal of Economic Dynamics & Control, 17(5), 953–969.

    Article  Google Scholar 

  • Iacoviello, M. (2005). House prices, borrowing constraints, and monetary policy in the business cycle. American Economic Review, 95(3), 739–764.

    Article  Google Scholar 

  • Jeanne, O. (2021). Currency Wars, Trade Wars, and Global Demand.

  • Kaplan, G., Moll, B., & Violante, G. L. (2018). Monetary policy according to HANK. American Economic Review, 108(3), 697–743.

    Article  Google Scholar 

  • Kennan, J. & Riezman, R. (2013). Do Big Countries Win Tariff Wars?, pp. 45–51.

  • Krusell, P., & Smith, A. A. (1997). Income and wealth heterogeneity, portfolio choice, and equilibrium asset returns. Macroeconomic Dynamics, 1, 2.

    Article  Google Scholar 

  • Krusell, P., & Smith, A. A., Jr. (1998). Income and wealth heterogeneity in the macroeconomy. Journal of Political Economy, 106(5), 867–896.

    Article  Google Scholar 

  • Lee, S., Luetticke, R., & Ravn, M.O. (2021). Financial frictions: Micro vs macro volatility. SSRN Electronic Journal.

  • Mayer, W. (1981). Theoretical considerations on negotiated tariff adjustments. Oxford Economic Papers, 33(1), 135–153.

    Article  Google Scholar 

  • Rotemberg, J. (1982). Sticky prices in the United-States. Journal of Political Economy, 90(6), 1187–1211.

    Article  Google Scholar 

  • Smets, F., & Wouters, R. (2003). An estimated dynamic stochastic general equilibrium model of the euro area.

  • Xing, Z., & Baisheng, C. (2020). The spillover effects of china’s monetary policy on the United States–an analysis based on the two countries’open DSGE model. Chinese Journal of Management Science, 28(7), 77–88.

    Google Scholar 

  • Xiong, C., & Jin, H. (2018). Double helix of local government debt risk and financial sector risk-analysis based on nonlinear DSGE model. China Industrial Economics, 12, 23–41.

    Google Scholar 

  • Ying, W., & Huijun, X. (2019). The income redistribution effect of China’s personal income tax reform in 2018. Taxation Research, 6, 52–56.

    Google Scholar 

  • Yong, M., Jinglan, Z., & Yulu, C. (2017). Financial cycle and monetary policy. Journal of Financial Research, 3, 33–53.

    Google Scholar 

Download references

Funding

The authors have not disclosed any funding.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yujie Yang.

Ethics declarations

Conflict of interest

The authors have not disclosed any competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

1.1 Algorithm to Solve Two-Country HANK model

This section presents the algorithm employed to solve the Two-Country HANK model. Technically, our primary contributions within the framework of the two countries involve formulating and solving the Hamilton-Jacobi-Bellman (HJB) equations incorporating three heterogeneous assets, following the approach outlined in Kaplan et al. (2018).

In the HANK model, optimization outcomes in the firm sector manifest as the wage and return rates of illiquid assets, which are subsequently incorporated into households’ balance sheets. Consequently, the optimization process for both sectors-households and firms-is effectively encapsulated by the optimization undertaken for households.

1.1.1 The Derivation for Total Consumption

In this subsection, we introduce the simplification of the utility function and assume the existence of a total consumption \(c_t\) for heterogeneous households, satisfying:

$$\begin{aligned} c_t P_t = P_{ht} c_{ht} + P_{ft} e_t (1+\tau _{im}) c_{ft} \end{aligned}$$
(48)

The total price level \(P_t\) in the home country comprises the domestic goods price \(P_{ht}\) and the price of imported goods \(P_{ft}e_t(1+\tau _{im})\):

$$\begin{aligned} P_t = \left[ \rho _p (P_{ht})^{\varepsilon _{p}} + (1-\rho _p)(P_{ft} e_t(1+\tau _{im}))^{\varepsilon _{p}} \right] ^\frac{1}{\varepsilon _{p}}, \end{aligned}$$
(49)

In the equation, \(\rho _p\) represents the proportion of domestic goods price, while \(\varepsilon _p\) indicates the elasticity between domestic and foreign goods prices.

For households’ optimization problems, the Hamilton-Jacobi-Bellman equation is:

$$\begin{aligned} V(b_t,a_{ht},a_{ft},z_t) = \max _{c_{ht},c_{ft},\ell _t} u(c_{ht},c_{ft},l_t) + V_b \dot{b_t} + V_{ah} \dot{a_{ht}} + V_{af} \dot{a_{ft}} + g_z V_z + \frac{\sigma _z^2}{2} V_{zz} \end{aligned}$$
(50)

where \(V(b_t,a_{ht},a_{ft},z_t)\) is the value function of households, \(V_b,V_{ah},V_{af},V_{z},V_{zz}\) are the partial derivatives of the value function.

The partial derivatives of the HJB equation over \(c_{ht},c_{ft}\) are

$$\begin{aligned} \begin{aligned}&0 = c_{ht}^{-\gamma _c} - \frac{P_{ht}}{P_t} V_b\\&0 = \varphi _{c} c_{ft}^{-\gamma _c} - \frac{P_{ft} e_t (1+\tau _{im})}{P_t} V_b \end{aligned} \end{aligned}$$
(51)

This implies that \(c_{ht}\) and \(c_{ft}\) are linked through their respective prices:

$$\begin{aligned} c_{ft} = c_{ht} \left[ \frac{P_{ft} e_t (1+\tau _{im})}{\varphi _{c} P_{ht}}\right] ^{-\frac{1}{\gamma _c}} \end{aligned}$$
(52)

By substituting the equation mentioned above into the total consumption \(c_t\), we subsequently obtain:

$$\begin{aligned} \begin{aligned}&c_{ht} = \frac{c_t P_t}{P_{ht}+\left[ P_{ft} e_t (1+\tau _{im})\right] ^{1-\frac{1}{\gamma _c}} \left( \varphi _{c} P_{ht}\right) ^{\frac{1}{\gamma _c}}}\\&c_{ft} = \frac{c_t P_t}{\left[ P_{ft} e_t (1+\tau _{im})\right] ^{\frac{1}{\gamma _c}} \left( \varphi _{c} P_{ht}\right) ^{-\frac{1}{\gamma _c}} P_{ht} + P_{ft} e_t (1+\tau _{im})} \end{aligned} \end{aligned}$$
(53)

Finally, the updated utility function is a function of total consumption \(c_t\) and labor supply \(\ell _t\):

$$\begin{aligned} \begin{aligned}&u(c_{ht},c_{ft},\ell _t) = \alpha _c \frac{\left( c_t\right) ^{1-\gamma _c}}{1-\gamma _c} - \varphi _{\ell } \frac{(\ell _t)^{1+\gamma _\ell }}{1+\gamma _\ell } \triangleq u(c_{t},\ell _t),\\&\alpha _c \equiv \left[ \frac{ P_t}{P_{ht}+ P_{ft} e_t (1+\tau _{im}) \left[ \frac{P_{ft} e_t (1+\tau _{im})}{\varphi _{c} P_{ht}}\right] ^{-\frac{1}{\gamma _c}} }\right] ^ {1-\gamma _c} \left( 1+\varphi _{c} \left[ \frac{P_{ft} e_t (1+\tau _{im})}{\varphi _{c} P_{ht}}\right] ^{\frac{\gamma _c-1}{\gamma _c}} \right) \end{aligned} \end{aligned}$$
(54)

1.1.2 Endogenous Labor Supply

According to Moll’s website, this section delves into the intricacies of deriving the endogenous labor supply equation. For more detailed information and derivations, kindly refer to the provided link: https://benjaminmoll.com/codes/.

$$\begin{aligned} \begin{aligned} V(b_t,a_{ht},a_{ft},z_t)&= \max _{c_{t},\ell _t} u(c_{t},l_t) + V_b \dot{b_t} + V_{ah} \dot{a_{ht}} + V_{af} \dot{a_{ft}} + g_z V_z + \frac{\sigma _z^2}{2} V_{zz} \\ s.t. \quad \dot{b_t}&= (1-\tau _w)w_t \ell _t z_t + r_b b_t + T_t - d_{ht} - \chi _h(d_{ht}, a_{ht}) \\&- d_{ft} - \chi _f(d_{ft}, a_{ft}) - c_t, \\ u(c_{t},l_t)&= \alpha _c \frac{\left( c_t\right) ^{1-\gamma _c}}{1-\gamma _c} - \varphi _{\ell } \frac{(\ell _t)^{1+\gamma _\ell }}{1+\gamma _\ell }. \end{aligned} \end{aligned}$$
(55)

The variables \(V_b,V_{ah},V_{af},V_z\) represent the first-order partial derivatives of the value function V, while \(V_{zz}\) denotes the second-order partial derivative. The first-order conditions of the HJB equations are defined as follows:

$$\begin{aligned} \begin{aligned} 0&= \alpha _c c_t^{-\gamma _c} - V_b \\ 0&= -\varphi _{\ell } \ell _t^\frac{1}{\varphi _\ell } + V_b (1-\tau _w)w_t z_t \end{aligned} \end{aligned}$$
(56)

The labor supply, denoted by \(\ell _t\), is indeed a function of total consumption \(c_t\):

$$\begin{aligned} \ell _t = \left( c_t\right) ^{-\gamma _c \varphi _\ell } \left[ \frac{\alpha _c (1-\tau _w)w_t z_t}{\varphi _{\ell }}\right] ^{\varphi _\ell } \end{aligned}$$
(57)

Given the budget constraint equation \(\dot{b}\), in the equilibrium state, the changing rates of all assets are nil, and deposits are also stationary. Consequently, the consumption \(c_0\) and labor supply \(\ell _0\) are determined by

$$\begin{aligned} c_0 = (1-\tau _w)w_t \ell _0 z_t + r_b b_t + T_t - fixedcost_f \end{aligned}$$
(58)

By substituting \(c_0\) into the previous equation, we obtain

$$\begin{aligned} \ell _0 = \left( (1-\tau _w)w_t \ell _0 z_t + r_b b_t + T_t - fixedcost_f\right) ^{-\gamma _c \varphi _\ell } \left[ \frac{\alpha _c (1-\tau _w)w_t z_t}{\varphi _{\ell }}\right] ^{\varphi _\ell } \end{aligned}$$
(59)

The equation provided earlier outlines how the labor supply \(\ell _0\) is determined in the equilibrium state.

1.1.3 Algorithm for HJB

Let’s return to the updated version of HJB equation:

$$\begin{aligned} \begin{aligned} V&(b_t,a_{ht},a_{ft},z_t) = \max _{c_{t},\ell _t} u(c_{t},l_t) + V_b \dot{b_t} + V_{ah} \dot{a_{ht}} + V_{af} \dot{a_{ft}} + g_z V_z + \frac{\sigma _z^2}{2} V_{zz} \\ s.t.&\ \dot{b_t} = (1-\tau _w)w_t \ell _t z_t + r_b b_t + T_t - d_{ht} - \chi _h(d_{ht}, a_{ht}) - d_{ft} - \chi _f(d_{ft}, a_{ft}) - c_t, \\&\dot{a}_{ht}= r_{ah} a_{ht} + d_{ht},\quad \dot{a}_{ft}= r_{af} a_{ft} + d_{ft}\frac{P_{t}}{P^{*} _{t} e_t}. \end{aligned} \end{aligned}$$
(60)

The income flow of liquid assets \(\dot{b}_t\) can be partitioned into three distinct components:

$$\begin{aligned} \begin{aligned}&S^c = (1-\tau _w)w_t l_t z_t + r_b b_t + T_t - c_{t}\\&S^{dh} = - d_{ht} - \chi _h(d_{ht}, a_{ht}), \qquad S^{df} = - d_{ft} - \chi _f(d_{ft}, a_{ft})\\&\dot{b_t} = S^c + S^{dh} + S^{df} \end{aligned} \end{aligned}$$
(61)

Let \( {x}^{F+} \triangleq max (x,0)\) and \({x}^{B-} \triangleq min (x,0)\). Then we assume \(x = {x}^{F+} + {x}^{B-}\). Let \(b_t,a_{ht},a_{ft},z_t\) be situated in distinct grids, and we can label a household as (ijknz). Subsequently, we define the approximate forward derivative \(V^{F}_b\) and backward derivative \(V^B_b\) as follows:

$$\begin{aligned} \begin{aligned}&V^{n+1}_b \approx \frac{V^{n}_{i+1,j,k,nz} - V^{n}_{i,j,k,nz}}{\Delta b} \approx \frac{V^{n}_{i,j,k,nz} - V^{n}_{i-1,j,k,nz}}{\Delta b} \\&V^{F}_b = \frac{V^{n}_{i+1,j,k,nz} - V^{n}_{i,j,k,nz}}{\Delta b}, \qquad V^B_b = \frac{V^{n}_{i,j,k,nz} - V^{n}_{i-1,j,k,nz}}{\Delta b} \end{aligned} \end{aligned}$$
(62)

Given that \(V_b \dot{b_t} = V^B_b (S^{c,B-} + S^{dh,B-} + S^{df,B-}) + V^{F}_b (S^{c,F+} + S^{dh,F+} + S^{df,F+})\), we can determine the appropriate approximation for the derivative. This approximation approach enables the program to solve HJB equations efficiently.

We can then obtain the approximate solution for the household sector by solving the discrete HJB equation. As defined earlier, the discrete HJB equation is formulated as follows:

$$\begin{aligned} \begin{aligned} \frac{V^{n+1}_{i,j,k,nz} - V^{n}_{i,j,k,nz}}{\Delta } + \rho V^{n+1}_{i,j,k,nz} =&\max _{c_{ht},c_{ft},l_t} U + V_b \dot{b_t} + V_{ah} \dot{a_{ht}} + V_{af} \dot{a_{ft}} + V_z g_z + V_{zz} \frac{\sigma _z^2}{2} \\ =&U + V^B_b (S^{c,B-} + S^{dh,B-} + S^{df,B-}) \\&+ V^{F}_b (S^{c,F+} + S^{dh,F+} + S^{df,F+}) \\&+ V^B_{ah} d^{h,-}_t + V^{F}_{ah} (d^{h,+}_t + r_{aht} a_{ht}) + V^B_{af} d^{f,-}_t \frac{P_t^* e_t}{P_t} \\&+ V^{F}_{af} (d^{f,+}_t \frac{P_t^* e_t}{P_t}+ r_{af} a_{ft}) \\&+ V_z g_z + V_{zz} \frac{\sigma _z^2}{2} \end{aligned} \end{aligned}$$
(63)

It is worth noting that the approximate derivatives, specifically \(V^{F}_b = \frac{V_{i+1,j,k,nz} - V_{i,j,k,nz}}{\Delta b}\) and \(V^B_b = \frac{V_{i,j,k,nz} - V_{i-1,j,k,nz}}{\Delta b}\), can be factorized. Subsequently, we can rephrase the discrete HJB equation in the following manner:

$$\begin{aligned} \begin{aligned} \frac{V^{n+1}_{i,j,k,nz} - V^{n}_{i,j,k,nz}}{\Delta } + \rho V^{n+1}_{i,j,k,nz} =&U + \frac{V_{i-1,j,k,nz}}{\Delta b}(-S^{c,B-} - S^{dh,B-} - S^{df,B-}) \\&+ \frac{V_{i+1,j,k,nz}}{\Delta b}(S^{c,F+} + S^{dh,F+} + S^{df,F+})\\&+ \frac{V_{i,j,k,nz}}{\Delta b}(S^{c,B-} -S^{c,F+} + S^{dh,B-} - S^{dh,F+}\\&+ S^{df,B-} - S^{df,F+}) \\&+ \frac{V_{i,j-1,k,nz}}{\Delta a}( - d^{h-}_t) + \frac{V_{i,j+1,k,nz}}{\Delta a}(d^{h+}_t+r_{aht} a_{ht}) \\&+ \frac{V_{i,j,k,nz}}{\Delta a}(d^{h-}_t - d^{h+}_t - r_{aht} a_{ht}) \\&+ \frac{V_{i,j,k-1,nz}}{\Delta a^{*}}( - d^{f,-}_t \frac{P_t^* e_t}{P_t}) \\&+ \frac{V_{i,j,k+1,nz}}{\Delta a^{*}}(d^{f,+}_t \frac{P_t^* e_t}{P_t}+ r_{aft} a_{ft}) \\&+ \frac{V_{i,j,k,nz}}{\Delta a^{*}}(d^{f,-}_t \frac{P_t^* e_t}{P_t} - d^{f,+}_t \frac{P_t^* e_t}{P_t} - r_{aft} a_{ft}) \\&+ \sum _{nz' \ne nz}\lambda _{nz}(V_{i,j,k,nz'} - V_{i,j,k,nz}), \end{aligned} \end{aligned}$$
(64)

This indicates that the items \(V_{i-1,j,k,nz}\) and \(V_{i+1,j,k,nz}\) reside on distinct subdiagonals within matrix V, while the items \(V_{i,j,k,nz}\) occupy the main diagonal of V. Referring to the work of Achdou et al. (2022), similar observations hold true for other derivatives as well. Consequently, the aforementioned discrete HJB equation can be concisely represented as:

$$\begin{aligned} \frac{1}{\Delta }\left( V^{n+1}_{i,j,k,nz}-V^{n}_{i,j,k,nz}\right) +\rho V^{n+1}_{i,j,k,nz}=U_{i,j,k,nz}^{n}+\left( \textbf{A}^{n}+\mathbf {\Lambda }\right) V^{n+1}_{i,j,k,nz}, \end{aligned}$$
(65)

This implies that given the value at period n, we can obtain the result for period \(n+1\).

By repeatedly applying this equation until the value function V reaches convergence, we can solve the distribution \(g(b_t,a_{ht},a_{ft},z_t) \triangleq g_{i,j,k,nz}\), for households using the Kolmogorov Forward equation:

$$\begin{aligned} \left( \textbf{A}^{n}+\mathbf {\Lambda }\right) ^T g = 0 \end{aligned}$$
(66)

According to Achdou et al. (2022), the Pollution Method can be utilized to compute the distribution matrix g, ultimately leading to the solution of the HJB function for households.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, C., Yang, Y. & Hou, W. Trade Friction in Two-Country HANK with Financial Friction. Comput Econ (2024). https://doi.org/10.1007/s10614-024-10584-7

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10614-024-10584-7

Keywords

Navigation