1 Introduction

Since the collapse of the fixed exchange rate system in 1973, the real exchange rate and the nominal exchange rate have become more volatile. A number of studies have investigated the link between exchange rate uncertainty and trade flows from both theoretical and empirical perspectives. There is a consensus between both groups that uncertainty in the exchange rate measured as exchange rate volatility may affect trade flows both positively and negatively. According to De Grauwe (1988), the trader’s response to the volatility of the exchange rate is impingent upon investors’ attitude toward risk. An investor with risk-averse behavior is likely to respond by avoiding trade in the face of exchange rate uncertainty, while risk-lover investors may respond by enhancing economic activities to avoid future income loss. Thus, the dominance of the trader’s risk-lover and risk-averse behavior matters that may eventually decide that how is exchange rate volatility likely to affect trade flows.

To find evidence in support of the theory, the empirical studies conducted so far followed three distinct paths. The first strand of the study pertains to one country and the rest of the world, while relying on aggregate-level trade data. While these studies have been criticized since they embody an aggregation bias, therefore, many other studies have examined the impact of exchange rate uncertainty on trade flows at the bilateral level. However, many of these studies have ended up showing mixed results; more importantly, the results are supposed to be country-specific. Also, the findings of these studies have been criticized with a view that they tend to suffer from second aggregation bias; hence, many studies have moved toward industry-/commodity-level analysis while investigating the nexus between exchange rate volatility and the trade flows (e.g., Bahmani-Oskooee et al. 2017a). Yet, the number of industries responding to exchange rate volatility tends to vary from country to country.

This study focuses on Pakistan and the USA to investigate the response of uncertainty in the exchange rate on commodity trade flows between both of the countries. In terms of Pakistan’s exports to the rest of the world, the USA is Pakistan’s largest export destination with 16% of exports of Pakistan being directed to the USA and they amounted to $3869 million in FY 2018, while during the same period, Pakistan’s imports from the USA amounted to $2077 million, indicating that Pakistan has significant trade relations with the USA if compared by the total exports of Pakistan to the world which amounted $ 23.6 billion during the same period. Besides, the USA is among the top investors in Pakistan over the past two decades. Major investment is concentrated in “consumer goods, chemicals, energy, agriculture, business process outsourcing, transportation, and communications”. In recent years, some economic reforms have been made by the country which has helped in providing a conducing environment for the investors which is evidenced by the fact that Pakistan has shown improvement in its rankings of World Bank‘s Ease of Doing Business in 2019. However, at the same time, given the product mix of Pakistan’s exports, it has to face strong competition from countries such as China, India, Vietnam and Bangladesh. These countries have experienced a significant increase in exports, in particular, in textile to the USA, while those exports from Pakistan have remained stagnant over the past few years. Thus, an empirical investigation of Pakistan–US trade is important to be investigated in the context of exchange rate dynamics.

Since the present study investigates the impact of exchange rate volatility on commodity-level trade flows of Pakistan and the USA, we present an overview of empirical studies related to Pakistan. As far as the empirical literature on exchange rate volatility and trade flows is concerned, in the case of Pakistan, there are several studies in this regard that can be divided into three directions, i.e., the studies relying on aggregate, bilateral and industry-/commoditywise trade data. Aggregate-level studies include the study of Kumar and Dhawan (1991) who examined the impact of exchange rate volatility on Pakistan’s exports to the developed countries; Similarly, Bahmani-Oskooee and Payesteh (1993) examined the impact of exchange rate volatility on trade flows that included Pakistan; Doganlar (2002) examined the impact of exchange rate volatility on trade flows in five Asian countries including Pakistan; Genc and Artar (2014) examined the impact for emerging economies including Pakistan; and Lotfalipour and Bazargan (2014), Bahmani-Oskooee and Ltaifa (1992), Sauer and Bohara (2001), Khan et al. (2014) included Pakistan in their sample and found mixed results. Similarly, other studies that used the aggregate-level trade data while exploring the nexus between the exchange rate volatility and the trade flows included Javed and Farooq (2009); Alam (2010); Mahmood et al. (2011); Khan et al. (2014); and Humayon et al. (2014).

Since that, these studies have relied on aggregate-level trade data; hence, the empirical results of these studies have been criticized because of the aggregation bias that these studies tend to embody. Hence, many studies have switched to using bilateral-level trade data between Pakistan against her trading partner which includes the study of Mustafa and Nishat (2004), Aurangzeb et al. (2005), Alam and Ahamd (2011), Hassan (2013) and Alam et al. (2017). However, the results of these studies were also mixed at large. Hence, to account for another bias, Bahmani-Oskooee et al. (2016, 2017b) studied in detail the impact of exchange rate volatility on commodity-level trade flows between Pakistan and the USA, Pakistan and Japan as well. In the US case, the results show that 50% of the industries of Pakistan were affected by the exchange rate volatility in the short run; however, the significant short-run effect lasted into the long run only in a limited number of industries. All these studies in the case of Pakistan have assumed that exchange rate volatility has a symmetric effect on trade flows, i.e., the variable of exchange rate volatility has a single elasticity coefficient indicating that both positive volatility and negative volatility tend to affect the trade flows in a similar way. However, recent studies by Bahmani-Oskooee and Aftab (2017), Fedoseeva (2016), Bahmani-Oskooee and Mohammadian (2016), Bahmani-Oskooee and Arize (2020) and Aye and Harris (2019) find out significant evidence in favor of asymmetric effects of exchange rate on trade flows. These studies rejected the idea that exchange rate volatility may affect trade flows in a symmetric way; rather, they suggested that both appreciation and depreciation may affect trade flows in an asymmetric way. Hence, this study is an attempt to fill this gap and examine the impact of exchange rate volatility on Pakistan–US commodity trade flows while assuming both symmetric and asymmetric approaches to cointegration.

The rest of the study is organized as below: Sect. 2 presents an empirical model and methods and Sect. 3 presents empirical results, while Sect. 4 concludes.

2 Empirical model and methods

Earlier studies that estimated the effect of exchange rate volatility on trade flows have mostly incorporated a scale variable such as real income, a relative price term measured by the real exchange rate and a degree of exchange rate uncertainty created as volatility of the real exchange rate (Bahmani-Oskooee and Hegerty 2007; Bahmani-Oskooee and Harvey 2011; Bahmani-Oskooee et al. 2013). We hypothesize that imports and exports of a country depend upon the volatility of the exchange rate along with other variables such as exchange rate and economic activity. Hence, we use the following standard form for the model:

$${\text{Ln}}X^{\text{Pak}} = \alpha_{0} + \alpha_{1} {\text{LnIP}}_{t}^{\text{US}} + \alpha_{2} {\text{LnREX}}_{t} + \alpha_{3} \,{\text{Ln}}V_{t} + \varepsilon_{t}$$
(1)
$${\text{Ln}}M^{\text{Pak}} = \beta_{0} + \beta_{1} {\text{LnIP}}_{t}^{\text{Pak}} + \beta_{2} {\text{LnREX}}_{t} + \beta_{3} {\text{Ln}}V_{t} + \mu_{t}$$
(2)

where \(X^{\text{Pak}}\) and \(M^{\text{Pak}}\) are real exports of Pakistan to the USA and real imports from the USA, respectively. \({\text{IP}}_{t}^{\text{US}}\) is the industrial production index of the USA, and \({\text{IP}}_{t}^{\text{Pak}}\) is the industrial production index of Pakistan. Both variables \({\text{IP}}_{t}^{\text{US}} \,{\text{and}}\,{\text{IP}}_{t}^{\text{Pak}}\) are used to represent economic activities. Thus, an increase in \({\text{IP}}_{t}^{\text{US}} \,{\text{and}}\,{\text{IP}}_{t}^{\text{Pak}}\) indicates an increase in income of the USA and Pakistan, respectively. An increase in the US income may likely have a positive impact on exports of Pakistan, while an increase in Pakistan’s economic activities represented by the industrial production index is expected to boost up Pakistan’s imports from the USA. Thus, \(\alpha_{1}\) and \(\beta_{1}\) are supposed to carry positive signs, respectively. \({\text{REX}}_{t}\) is the real bilateral exchange rate, which is considered in a way that an increase reflects a depreciation of the Pakistani rupee or appreciation of the dollar. If depreciation of the rupee increases the exports of Pakistan, then there is an expectation that there will be a decrease in imports from the USA; thus, we anticipate \(\alpha_{2}\) and \(\beta_{2}\) to be positive and negative, respectively. \(V_{t}\) is the volatility of the exchange rate. Exchange rate volatility can affect trade in both ways, positively and negatively; hence, \(\alpha_{3 }\) and \(\beta_{3}\) can be positive and negative as well.

The next step is to check out the long-run and short-run impact of exchange rate uncertainty on trade by using Eqs. 1 and 2. Hence, we separate the short-run impact from the long run by using the ARDL bound testing approach used by Pesaran et al. (2001) and identify Eqs. 1 and 2 as an error correction model:

(3)

The impart function can be written as follows:

$$\begin{aligned}\Delta {\text{Ln}}M_{i,t}^{\text{pak}} & = d_{1} + \mathop \sum \limits_{j = 1}^{n5} d_{2}\Delta {\text{Ln}}M_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n6} d_{3j}\Delta {\text{LnIP}}_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n7} d_{4j}\Delta {\text{LnRex}}_{t - j} \\ & \quad + \mathop \sum \limits_{j = 0}^{n8} d_{5j}\Delta {\text{Ln}}V_{t - j} + \delta_{1} {\text{Ln}}M_{i,t}^{\text{pak}} + \delta_{2} {\text{LnIP}}_{t - 1}^{\text{pak}} + \delta_{3} {\text{LnRex}}_{t - 1} \\ & \quad + \delta_{4} {\text{Ln}}V_{t - 1} + \exists_{t} \\ \end{aligned}$$
(4)

In Eq. 3, the summation symbols indicate the error correction dynamics, while the second portion of the equation shows the long-run relationship among the variables. Similarly, \(\gamma_{1}\) is drift and ɕ is the error term. Thus, we use ARDL bound test approach to estimate Eq. 3 by OLS. The F test is used to check the existence of cointegration. The null hypothesis for bound test, i.e., \(H_{0 }\): \(\theta_{1} =\) \(\theta_{2} =\) \(\theta_{3}\)  =  \(\theta_{4}\) = 0, indicates no cointegration, whereas alternative hypothesis is that \(H_{1}\): \(\theta_{1} \ne 0,\) \(\theta_{2} \ne 0,\) \(\theta_{3}\)  ≠ 0, \(\theta_{4}\) \(\ne 0.\) Equation 3 is our export demand model. Equation 4 is our import demand model. The null hypothesis for bound test in Eq. 4 is \(H_{0 }\): \(\delta_{1} =\) \(\delta_{2} =\) \(\delta_{3} = \delta_{4} = 0\), and alternative hypothesis is \(H_{1}\): \(\delta_{1} \ne 0, \delta_{2} \ne 0,\) \(\delta_{3} \ne 0,\delta_{4} \ne 0\). If the cointegration exists, we move to error correction representation; thus, we can estimate error correction model through the following equations:

$$\begin{aligned}\Delta {\text{Ln}}x_{i,t}^{\text{pak}} & = e_{1} + \mathop \sum \limits_{j = 1}^{n1} e_{2}\Delta {\text{Ln}}x_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n2} e_{3j}\Delta {\text{LnIP}}_{t - j}^{\text{us}} + \mathop \sum \limits_{j = 0}^{n3} e_{4j}\Delta {\text{LnRex}}_{t - j} + \mathop \sum \limits_{j = 0}^{n4} e_{5j}\Delta {\text{Ln}}V_{t - 1 } \\ & \quad + \tau {\text{ECM}}_{t - 1} + \xi_{t} \\ \end{aligned}$$
(5)

And for the import function, we use the following equation:

$$\begin{aligned}\Delta {\text{Ln}}M_{i,t}^{\text{pak}} & = f_{1} + \mathop \sum \limits_{j = 1}^{n5} f_{2j}\Delta {\text{Ln}}M_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n6} f_{3j}\Delta {\text{LnIP}}_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n7} f_{4j}\Delta {\text{LnRex}}_{t - j} + \mathop \sum \limits_{j = 0}^{n8} f_{5j}\Delta {\text{Ln}}V_{t - j} \\ & \quad + \vartheta {\text{ECM}}_{t - 1} + \nu_{t} \\ \end{aligned}$$
(6)

In the above models, we estimate the symmetric effects of exchange rate volatility on the imports and exports of Pakistan. In many previous studies, the symmetric effects of exchange rate volatility are analyzed. But this may not be true, because increased volatility may affect trade flows differently than decreased volatility (Bahmani-Oskooee and Mohammadian 2016; Bahmani-Oskooee and Aftab 2017). To deal with the limitation inherent in the symmetric approach to cointegration, we follow the approach applied by Granger and Yoon (2002), Hatemi-J (2012, 2014). This approach investigates the “hidden cointegration” between the components of the series. It is helpful in the sense that it may allow checking for the evidence of long-run cointegration between the positive and negative subcomponents of a series even though there may not be any linear cointegration between the aggregate-level series. In other words, the asymmetric approach is preferable in the sense that it not only allows to examine the response of trade flows to changes in exchange rate volatility; rather, it shows the impact of positive and negative shocks separately on trade flows. According to Granger and Yoon (2002), Hatemi-J (2014), Hatemi-J and El-Khatib (2014, 2016), “the non-linear adjustment mechanism to long-run equilibrium can be easily reduced to a linear one without any loss of information.” Both the data series are supposed to have hidden cointegration if both positive and negative series are cointegrated. This type of nonlinear cointegration is important to be examined in particular, when the ordinary linear cointegration approach is unable to identify this hidden cointegrating relationship. To check the asymmetric effects of exchange rate uncertainty, we generate positive \({\text{POS}}_{t}\) and negative \({\text{NEG}}_{t}\) variables from the volatility. \({\text{POS}}_{t}\) variable indicates the increased volatility as the partial sum of positive variations. On the other hand, the \({\text{NEG}}_{t}\) variable indicates decreased volatility. This type of nonlinear cointegration is important to be examined in particular, when the ordinary linear cointegration approach is unable to identify this hidden cointegrating relationship. For instance, if there are two random walk series Zt and Yt

$$Z_{t} = Z_{t - 1} + \mu_{t} = z_{0} + \mathop \sum \limits_{t = 1}^{t} \mu_{i}$$
(7)
$$Y_{t} = Y_{t - 1} + \varGamma_{t} = Y_{0} + \mathop \sum \limits_{t = 1}^{t} \_{i}$$
(8)

where t = 1, 2, …, T and Z0, Y0 are initial values, μi and Ii denote mean zero white noise disturbance terms. “If the two series, i.e., Yt and Zt, are cointegrated by one vector, they are deemed to have a standard or linear cointegration. However, if both series tend to move in an asymmetric way, then the two series are expected to have the possibility of a hidden cointegration. According to Granger and Yoon (2002), both positive and negative shocks can be defined in the following way:

$$\begin{aligned} &\mu_{i}^{ + } = \hbox{max} \left( {\mu_{i} ,0} \right),\mu_{i}^{ - } = \hbox{min} \left( {\mu_{i} ,0} \right),\,{^{\prime}I}_{i}^{ + } = \hbox{max} \left( {{^{\prime}I}_{i} ,0} \right),\,{^{\prime}I}_{i}^{ - } = \hbox{min} \left( {{^{\prime}I}_{i} ,0} \right), \hfill \\ &\mu_{i} = \mu_{i}^{ + } + \mu_{i}^{ - } \,{\text{and}}\,{^{\prime}I}_{i} = {^{\prime}I}_{i}^{ + } + {^{\prime}I}_{i}^{ - } \hfill \\ \end{aligned}$$
(9)

Hence,

$$Z_{t} = Z_{t - 1} + \mu_{t} = z_{0} + \mathop \sum \limits_{t = 1}^{t} \mu_{i}^{ + } + \mathop \sum \limits_{t = 1}^{t} \mu_{i}^{ - } \,{\text{and}}\, Y_{t} = Y_{t - 1} + {^{\prime}I}_{t} = Y_{0} + \mathop \sum \limits_{t = 1}^{t} {^{\prime}I}_{i}^{ + } + \mathop \sum \limits_{t = 1}^{t} {^{\prime}I}_{i}^{ - }$$
(10)

To simplify the notations,

$$Z_{i}^{ + } = \mathop \sum \limits_{t = 1}^{t} \mu_{i}^{ + } ,\, Z_{i}^{ - } = \mathop \sum \limits_{t = 1}^{t} \mu_{i}^{ - } , \, Y_{i}^{ + } = \mathop \sum \limits_{t = 1}^{t} {^{\prime}I}_{i}^{ + } ,\, Y_{i}^{ - } = \mathop \sum \limits_{t = 1}^{t} {^{\prime}I}_{i}^{ - }$$
(11)

Thus,

$$Z_{t} = z_{0} + Z_{i}^{ + } + Z_{i}^{ - } \,{\text{and}}\, Y_{t} = y_{0} + Y_{i}^{ + } + Y_{i}^{ - }$$
(12)
$$\Delta Z_{t}^{ + } = \mu_{t}^{ + } , \,\Delta Z_{t}^{ - } = \mu_{t}^{ - } , \,\Delta Y_{t}^{ + } = {^{\prime}I}_{t}^{ + } ,\,\Delta Y_{t}^{ - } = {^{\prime}I}_{t}^{ - }$$

subsequently. To obtain the series of both positive and negative movements, i.e., \(\Delta Z_{t}^{ + } \,{\text{and}}\,\Delta Z_{t}^{ - }\), we calculate the first difference of the series as \(\Delta Z_{t} = Z_{t} - Z_{t - 1}\). Finally, both these positive and negative values are transformed into a cumulative sum of positive (negative) changes as \(Z_{t}^{ + } = \sum\Delta Z_{t}^{ + } \,{\text{and}}\, Z_{t}^{ - } = \sum\Delta Z_{t}^{ - }\). The same procedure is pursued for the other series as follows: \(Y_{t}^{ + } = \sum\Delta Y_{t}^{ + } \,{\text{and }}\,Y_{t}^{ - } = \sum\Delta Y_{t}^{ - }\). The hidden cointegration is supposed to exist between the series Z and Y if their components are cointegrated. Finally, for the sake of simplicity, we replace the series Zt with our actual independent variable, i.e., the volatility of exchange rate, while \(Z_{t}^{ + }\) and \(Z_{t}^{ - }\) are replaced with notations POS and NEG, respectively. Both POS and NEG are the appreciation and depreciation of the Pakistani rupee as shown below:

$$\begin{aligned} {\text{POS}}t & = \mathop \sum \limits_{j = 1}^{t}\Delta { \ln }Vj^{ + } = \mathop \sum \limits_{j = 1}^{t} { \hbox{max} }\left( {\Delta { \ln }Vj,0} \right) \\ {\text{NEG}}t & = \mathop \sum \limits_{j = 1}^{t}\Delta { \ln }Vj^{ - } = \mathop \sum \limits_{j = 1}^{t} { \hbox{min} }\left( {\Delta { \ln }Vj,0} \right) \\ \end{aligned}$$

Now our next model is a nonlinear model in which we interchange \({\text{Ln}}V_{t}\) with \({\text{POS}}_{t}\) and \({\text{NEG}}_{t}\) variables. So our model is as follows:

$$\begin{aligned}\Delta {\text{Ln}}x_{i,t}^{\text{pak}} & = g_{1 } + \mathop \sum \limits_{j = 1}^{n1} g_{2j}\Delta {\text{Ln}}x_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n2} g_{3j}\Delta {\text{LnIP}}_{t - j}^{\text{us}} + \mathop \sum \limits_{j = 0}^{n3} g_{4j}\Delta {\text{LnREX}}_{t - j} + \mathop \sum \limits_{j = 0}^{n4} g_{5j}\Delta {\text{POS}}_{t - j} \\ & \quad + \mathop \sum \limits_{j = 0}^{n5} g_{6j} {\text{NEG}}_{t - j} + \rho_{1} {\text{Ln}}x_{t - 1}^{\text{pak}} + \rho_{2} {\text{LnIP}}_{t - 1}^{\text{us}} \\ & \quad + \rho_{3} {\text{LnREX}}_{t - 1} + \rho_{4} {\text{POS}}_{t - 1} + \rho_{5} {\text{NEG}}_{t - 1} + \varOmega_{t} \\ \end{aligned}$$
(13)

However, the equation using the imports as a dependent variable can be written as below:

$$\begin{aligned}\Delta {\text{Ln}}M_{i,t}^{\text{pak}} & = h_{1} + \mathop \sum \limits_{j = 1}^{n6} h_{2j}\Delta {\text{Ln}}M_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n7} h_{3j}\Delta {\text{LnIP}}_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n8} h_{4j}\Delta {\text{LnRe}}x_{t - j} \\ & \quad + \mathop \sum \limits_{j = 0}^{n9} h_{5j}\Delta {\text{POS}}_{t - j} + \mathop \sum \limits_{j = 0}^{n10} h_{6j} {\text{NEG}}_{t - j} + \mu_{1} {\text{Ln}}M_{i,t}^{\text{pak}} + \mu_{2} {\text{LnIP}}_{t - 1}^{\text{pak}} \\ & \quad + \mu_{3} {\text{LnRe}}x_{t - 1} + \mu_{4} {\text{POS}}_{t - 1} + \mu_{5} {\text{NEG}}_{t - 1} + {\varkappa}_{t} \\ \end{aligned}$$
(14)

According to Shin et al. (2014), Eqs. 13 and 14 are nonlinear ARDL models. For the construction of nonlinear ARDL, we separate the positive and negative variables by using a partial sum approach. Again, we estimated the ECM for asymmetric effects of exchange rate volatility. The ECM model for nonlinear ARDL is as follows:

$$\begin{aligned}\Delta {\text{Ln}}x_{i,t}^{\text{pak}} & = j_{1 } + \mathop \sum \limits_{j = 1}^{n1} j_{2j}\Delta {\text{Ln}}x_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n2} j_{3j}\Delta {\text{LnIP}}_{t - j}^{us} + \mathop \sum \limits_{j = 0}^{n3} j_{4j}\Delta {\text{LnREX}}_{t - j} + \mathop \sum \limits_{j = 0}^{n4} j_{5j}\Delta {\text{POS}}_{t - j} \\ & \quad + \mathop \sum \limits_{j = 0}^{n5} j_{6j} {\text{NEG}}_{t - j} + \tau {\text{ECM}}_{t - 1} + \varpi_{t} \\ \end{aligned}$$
(15)

For import function, it is used as below:

$$\begin{aligned}\Delta {\text{Ln}}M_{i,t}^{\text{pak}} & = k_{1 } + \mathop \sum \limits_{j = 1}^{n6} k_{2j}\Delta {\text{Ln}}M_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n7} k_{3j}\Delta {\text{LnIP}}_{t - j}^{\text{pak}} + \mathop \sum \limits_{j = 0}^{n8} k_{4j}\Delta {\text{LnRex}}_{t - j} \\ & \quad + \mathop \sum \limits_{j = 0}^{n9} k_{5j}\Delta {\text{POS}}_{t - j} + \mathop \sum \limits_{j = 0}^{n10} k_{6j} {\text{NEG}}_{t - j} + \pi {\text{ECM}}_{t - 1} + \varrho_{t} \\ \end{aligned}$$
(16)

As per time-series studies, if we use nonstationary data or nonstationary variables for estimation, then our results will be spurious. To avoid this problem, we use different techniques to make our variables stationary. But the use of stationary variables provides short-run information from the data and eliminates the long-run information. Hence, there must be a technique through which one can compute whether there exists a long-run relationship among variables or not.

Most studies adopt Engle and Granger (1987) and Johansen and Juselius (1990) for cointegration or long-run analysis; however, to apply these approaches, variables must be integrated of the same order. The above-mentioned models are not suitable for small datasets. ARDL model incorporates all the problems of these tests. In the case of ARDL, we can use mixed variables that are stationary at level, I(0) or stationary at I(1) first difference (Pesaran et al. 2001).

ARDL test has many desirable properties. One of them is that we can check the long-run relationship or existence of cointegration without the concern that the series is stationary at the level or first difference. ARDL also incorporates the problem of endogeneity, since the focused variables need not be exogenous. This approach is best for both small and large samples. The first step of the ARDL approach is the bound test; the bound test is used to calculate the long-run relationship among the variables, by using the F test, with two sets upper and lower. The critical region is given in the form of lower bound I(0) and upper bound I(1) given by Pesaran et al. (2001). If the value of F.STAT exceeds the upper bound, then the null hypothesis of no cointegration is rejected. If the value of F.STAT is smaller than the lower bound, it means no existence of cointegration or no long-run relationship. On the other hand, if the value of F.STAT lies between the upper and lower bound, then the result will be inconclusive.

For the selection of the lag length model, we can use SBC and AIC criteria. The SBC is renowned as a parsimonious model, which selects minimum lag length, whereas AIC is identified for the selection of maximum lags. The second step is an estimation of the long-run relationship using ARDL based on AIC and SBC. If the model shows a long-run relationship between the variables, then there is error correction representation. If the value of ECM is negative and significant, it leads to a long-run relationship among the variables. It also justifies the speed of adjustment of divergence from the preceding year. To confirm the robustness of the results, stability tests are used. For the stability of the model, CUSUM and CUSUMSQ techniques introduced by Brown et al. (1975) are used in this study. If the plots of the data lie between the upper and lower bounds at the 5 percent level of significance, it means that our model is structurally stable and vice versa. We also apply the Wald test for the long-run and short-run results to test for the joint significance of variables.

The main focus of the study is on the asymmetric effects of exchange rate volatility on the imports and exports between Pakistan and the USA, while, for comparison, we also estimate the symmetric effects of exchange rate volatility. We also apply nonlinear ARDL by replacing the variable LnVt (volatility) with POS and NEG variable. For nonlinearity, we generate POS and NEG variables by using the partial sum concept (Shin et al. 2014). According to Pesaran et al. (2001), the bound test is the same for linear and nonlinear ARDL; we should handle both variables (POS & NEG) as one variable and use the same critical value of F.STAT as for LnVt in linear ARDL. Hence, we apply the bound test for Eqs. 13 and 14, while for the estimation of the error correction model, we use Eqs. 15 and 16 of import demand and export demand. We apply Wald-S for short symmetry and Wald-L for long symmetry in the nonlinear model.

3 Empirical results

Although our objective is to find out asymmetric effects of exchange rate volatility on trade flows by using nonlinear ARDL for Eqs. 13 and 14, to make our findings more clear and authentic, we also estimate linear ARDL for Eqs. 1 and 2. For this purpose, we include 48 industries of Pakistan that import from the USA and 22 industries that export to Pakistan. We first concentrate on the results of the linear model and estimate the import demand model (13) as above in Table 1. We mention the long-run results of the import demand model only to save time and therefore did not show the short-run results but assure the readers that there was at least one significant short-run coefficient attached to our measure of volatility. In Table 2, we indicate the long-run coefficients of the linear import demand model. There are 48 importing industries in Pakistan, which are importing different products from the USA. There are 29 industries out of 48 where one or more coefficient is significant.

Table 1 Long-run estimates of linear ARDL import demand model
Table 2 Diagnostic statistics associated with Table 1 (linear import demand model)

There are seven importing industries out of 13 which are significantly but negatively affected by exchange rate volatility. These industries are coded as 11, 26, 52, 65, 73, 82 and 84. Imports of six industries are positively affected by exchange rate volatility. The major importing industry coded as 64 (with 34% import share) is positively affected by exchange rate volatility. And second industry (which has comparatively less share than the previous industry) coded as 65 (15%) is negatively affected by volatility. There are 19 industries in which the real exchange rate has a significant impact on their imports. There are 13 importing industries (25, 28, 33, 34, 41, 56, 57, 63, 64, 68, 72, 83 and 86) out of 19, in which the effect of the real exchange rate is negative and significant.

In most models, the value of F.STAT is significant, thus supporting the idea of a long-run relationship among the variables. We also estimate the error correction model which explains the speed of adjustment toward equilibrium. The significantly negative value of ECM is supporting the existence of cointegration. The error correction model is the additional support to test the long-run relationship. In Table 2, we also report the value of R square. In maximum models, the value of R square is higher which is showing higher variation as explained by explanatory variables.

We also report LM (Lagrange multiplier) and Ramsey’s RESET estimates. Both are estimated as Chi-square with one degree of freedom. LM is used to check the existence of autocorrelation. In most of the models, the value of LM is insignificant showing the absence of autocorrelation. To check the stability of the model, we have estimated CUSUM and CUSUM SQ. “S” is used to indicate stable, and “US” is used for the unstable model. Next in Table 3, we show the results of the linear export demand model. In Table 3, 22 exporting industries of Pakistan export their products to the USA. Exchange rate volatility has a positive and significant impact on three exporting industries (6, 21 and 63) out of eight industries.

Table 3 Long-run coefficients of linear export demand model

There are five industries (9, 26, 81, 85 and 93), which are adversely affected by exchange rate volatility. The exchange rate has an adverse impact on the three largest exporting industries of Pakistan, coded as 81 (sanitary, plumbing, heating and lig with 26% export share), 26 (textile fibers, not manufactured with 43% export share) and 93 (special transact. Not class. According to 50% export share).

In Table 4, we present the estimated results of linear export demand. We have taken 22 exporting industries that are exporting different products to the USA. The value of F.STAT is significant in ten industries, thus supporting the existence of cointegration. The presence of a long-run relationship has been confirmed through ECM. The estimated value of LM is insignificant in maximum models indicating that the export demand model is properly specified and residuals are free from autocorrelation. For the stability of models, we have estimated the CUSUM and CUSUM sq.

Table 4 Diagnostic statistics associated with import demand models in Table 3

In the next table, we consider the important contribution of the study which is the estimation of nonlinear import demand and export demand model. Hence, we first estimated the nonlinear ARDL for import demand. Short-run results for positive and negative changes are presented in Table 5. In Table 5, there are 25 importing industries in which increased volatility has a significant impact at one or more than one lag in the short run. Negative sign shows the adverse effect of increased volatility on importing industries coded as 6, 12, 22, 23, 29, 43, 61, 64, 68, 73, 83, 89, and 93.

Table 5 Short-run estimates attached to the POS and NEG variables nonlinear import model

On the other hand, 24 importing industries are significantly affected by the decreased volatility in the short run and this share is higher than the linear model. Thus, the separation of positive volatility from negative volatility is more useful. Through the nonlinear model, we can easily check the impacts of increased and decreased volatility separately on trade flows. There are 16 importing industries out of 24 importing industries that are adversely affected by decreased volatility since with negative volatility, traders may prefer to import less from the USA. Industries coded as 42 and 54 being with higher import share, i.e., 26% and 95%, respectively, are adversely affected by negative volatility. The asymmetric effects show that both increased volatility and decreased volatility have both types (significantly positive and significantly negative) of impact on importing industries of Pakistan. In other words, the asymmetric effects show that there is evidence of significant effects of increased volatility and decreased volatility on importing industries.

Table 6 indicates long-run estimates of the nonlinear ARDL model. In long run, imports of eight industries were affected by increased volatility. Among these industries, four industries (26, 27, 43 and 81) were negatively affected by the increased volatility. Increased volatility also has an adverse impact on two industries (43 and 81) in the short run. Decreased volatility has a significant and negative impact on four industries (23, 26, 27 and 67) and a positive impact on industries coded as (43, 52, 54, 83, 84, and 93).

Table 6 Long-run results of nonlinear ARDL import demand model

In the long run, decreased volatility has a positive impact on the industry coded as 67 with an import share of 61 but it has no impact in the short run. Increased volatility and decreased volatility have a positive impact on the importing industry (coded as 54 with 95% import share). It indicates that imports increase in both cases, i.e., with increasing as well as decreasing volatility

In the end, we move to the diagnostics in Table 7 which are related to the long-run estimates of the nonlinear import demand model (9). As we have mentioned in the above discussion, positive volatility and negative volatility have a different impact on imports. To confirm it further, we have used the Wald test for the short and the long run. Wald tests for short run and the long run were used to check whether increased volatility is equal to decreased volatility or the impact is asymmetric (Bahmani-Oskooee and Aftab 2017). Wald-S shows the short-run results, and Wald-L shows long-run results. There are 14 importing industries in which short-run and 12 industries in which long-run asymmetric effects of E.R. volatility exist. The insignificant values of LM indicate that the residuals are free from the autocorrelation. We have estimated CUSUM and CUSUM square for the stability of the model to make sure that our model is structurally stable.

Table 7 Diagnostics associated with estimates of nonlinear import models in Table 6

In Table 8, we report the short-run results of the nonlinear export demand model. We represent the asymmetric impact of exchange rate volatility by using increased and decreased volatility. Increased volatility has a significant impact on the ten exporting industries. There are seven exporting industries (6, 54, 61, 63, 82, 86, and 89), which are negatively affected by increased volatility. It includes two exporting industries (6 and 82) which have a larger export share, but are negatively affected by increased volatility.

Table 8 Short-run estimates of nonlinear ARDL of export demand model

Decreased volatility has affected 14 industries. Out of these 14 industries, eight industries (6, 21, 63, 65, 69, 89, 9, 93) are negatively affected by decreased volatility. It includes manufactures of metal, n.e.s, coded as 69 which have a share of 43%. The exporting industry (sugar, sugar preparations and honey with code 6) is negatively affected by the decreased volatility. Both increased volatility and decreased volatility hurt the exports of this industry. The largest exporting industry 26 (textile fibers, not manufactured with 43% export share) is positively affected by the increased volatility; on the other hand, decreased volatility also has a positive impact on the export of this industry. In the case of the textile industry, the income effect holds because traders enhance their trade activities and did not reduce export. In this way, they can compensate for their future loss. Our next table indicates the long-run results of nonlinear export demand mode.

Table 9 shows the long-run impact of increased and decreased volatility on the exports of Pakistan to the USA. Increased volatility has a significantly negative impact on four industries coded as 63, 73, 82 and 9. Decreased volatility has a significantly negative impact on four industries which are coded as 26, 81, 82 and 9. Two major exporting industries, i.e., 26 and 81, were affected by decreased volatility. It shows that depreciation in currency causes a decline in exports of these industries. Increased volatility and decreased volatility have the same impact (positive) on the exporting industry [sugar, sugar preparations, and honey (9)] in the long run. In the end, for the validity of long-run estimates, we established cointegration among the variables. We also estimated ECM for more accurate results. The values of LM show that our models are free from the problem of autocorrelation. For comparison between asymmetric and symmetric effects, we have established the Wald test for long- and short-run results. In the case of exporting industries, in a total of eight industries, there is evidence of asymmetric effects in the short run. On the other hand, in a total of six exporting industries, there is evidence of the asymmetric impact of E.R. volatility in long run (Table 10).

Table 9 Long-run coefficients of nonlinear ARDL for export demand model
Table 10 Diagnostics associated with estimates of nonlinear export models in Table 9

The results based on the linear approach to cointegration indicate that increasing exchange rate volatility could have both positive and negative impacts on trade flows depending upon the risk behavior of the investors. In the case of risk-averse behavior, investors are supposed to limit trading activities, while in the case of risk-loving behavior, investors go for exports and imports to avoid future income loss. Thus, in the case of Pakistan’s imports from the USA, many small industries were affected negatively; however, three industries are important which were affected negatively in response to exchange rate volatility. It includes “metalliferous ores and metal scrap”, “electrical machinery and apparatus” and “Scientif & control instrum, photograph”. These three industries have a share of 4.9% and 2.9% and 1.8%, respectively. The results indicate that traders reduced imports in the face of increasing exchange rate uncertainty. Three important industries that got affected positively were textile fibers, not manufactured (5.5%), and transport equipment (4.3%) and chemical materials and products. However, in the case of Pakistan’s exports to the USA, an interesting pattern that can be found is that a negligible number of industries were affected negatively. However, the industries that got benefited from exchange rate volatility included industries such as textile fibers, not manufactured”, furniture and footwear. In the case of the nonlinear approach, the results indicate that there is evidence of asymmetric effect, i.e., with regard to the impact of positive and negative volatility on both exports and imports. The results vary concerning both the selected exporting and importing industries. Finally, the results indicate that mostly importing industries were affected negatively in comparison with the exporting industries. The results may point to the fact that traders in Pakistan are likely to be affected more by increasing exchange rate volatility than those counterparts in the USA who import from Pakistan as exports to the USA were less affected; rather, they were increased.

4 Conclusion

After the collapse of the fixed exchange rate system in 1973, exchange rate volatility became a more debatable topic. A flexible exchange rate system was perceived to have a profound effect on the trade environment as financing uncertainty was associated with a flexible exchange rate. The opponent of the flexible exchange rate system argued that a flexible exchange rate creates uncertainty for trade and is likely to decrease trade activities, while the proponents advocated the flexible exchange rate system since it is a market-oriented approach and maybe traded enhancing. Yet, the empirical studies have come up with evidence that supported both of the views. However, previous studies have examined the effects of uncertain exchange rates on trade flows by using either the aggregate-level trade data or data at the bilateral level. So far, both types of studies were supposed to suffer from aggregation bias. On the other hand, many studies used the data of trade flows at the commodity level but all these studies have a common feature that they presumed a symmetric effect of exchange rate volatility on trade flows, where both increased volatility and decreased volatility should have an identical effect on trade flows.

Many studies in recent years have confirmed that the impact of exchange rate volatility is asymmetric on trade flows, i.e., increased volatility lowers the trade volume while decreased volatility tends to enhance it. In this study, we interrogate this assumption and claim that does exchange rate volatility has asymmetric effects in the case of Pakistan. Hence, the objective of this study was to investigate the asymmetric effects of exchange rate volatility on trade flows at the industry level. This study has taken 48 importing industries of Pakistan and 23 exporting industries to analyze the asymmetric effects of exchange rate volatility. Our findings could “be best summarized by saying that short-run adjustment asymmetry, short-run asymmetric effects, short-run cumulative or impact asymmetry, and long-run asymmetric effects were found in half (1/2) of importing industries and exporting industries of Pakistan. In the case of importing industries, the short-run adjustment asymmetry is more dominant compared to long-run asymmetric effects as in the long run, fewer importing industries were affected by positive and negative volatility. In the case of exporting industries, there is significant evidence of both short-run asymmetric effects and long run asymmetric effects in Pakistan. It indicates that when the currency depreciates traders prefer to export more goods but it is not true in all cases. Both small and large industries respond to the asymmetric effect of exchange rate volatility. Our approach helps identify the industries that respond positively and those which respond negatively to both increased and decreased exchange rate volatility. The asymmetric effects seem to be industry-specific and have implications for other industries in other countries. Further research in this direction is needed to arrive at a general conclusion.”