# Score-driven currency exchange rate seasonality as applied to the Guatemalan Quetzal/US Dollar

## Abstract

In this paper we introduce new Dynamic Conditional Score (DCS) models for the Skew-Gen-*t* (Skewed Generalized *t*) and NIG (Normal-Inverse Gaussian) distributions as alternatives to the recent DCS models for the Student’s-*t* and EGB2 (Exponential Generalized Beta of the second kind) distributions, respectively. The DCS models we propose include stochastic local level, stochastic seasonality, and irregular components with DCS-EGARCH (Exponential Generalized Autoregressive Conditional Heteroscedasticity) volatility dynamics. DCS models are robust to extreme observations, whereas standard financial time series models are not. We use data from the Guatemalan Quetzal (GTQ) to United States Dollar (USD) exchange rate for the period of 4th January 1994–30th June 2017. This dataset exhibits significant rises and falls in the GTQ/USD that lead to extreme observations, stochastic seasonality with dynamic amplitude, and volatility dynamics. These seasonality dynamics of the GTQ/USD are related to the Guatemalan trade-related currency movements, receipt and payment of foreign loans, and remittance payments of Guatemalans working abroad. We show that the in-sample statistical performance of the DCS-Skew-Gen-*t* and the DCS-NIG models is superior to that of the DCS-*t* and the DCS-EGB2 models, respectively. Furthermore, we show that the statistical performance of all DCS models is superior to that of the standard financial time series model.

## Keywords

Dynamic Conditional Score (DCS) models Guatemalan Quetzal (GTQ) to United States Dollar (USD) exchange rate Stochastic seasonality component## JEL Classification

C22 C52 C58 F31## 1 Introduction

Historically, Guatemala has ranked among the largest exporters of several agricultural products worldwide. According to the United States Dollar (USD) value of sugar exports, Guatemala is the fourth ranked country in the world, for example, with a value of USD826.2 million during 2017 (that is 3% of total sugar exports worldwide, following Brazil with 41.3%, Thailand with 9.4% and France with 4.9%). Guatemala is the fourteenth ranked country for coffee exports worldwide, with a value of USD748.6 million during 2017 (that is 2.3% of total coffee exports worldwide, following Ethiopia with 2.9%, United States with 2.7% and the Netherlands with 2.3%). Moreover, Guatemala is the fifth ranked country for banana exports worldwide, with a value of USD882.3 million during 2017 (that is 7.1% of total banana exports worldwide, following Ecuador with 24.6%, Belgium with 8.5%, Costa Rica with 8.4% and Colombia with 7.4%). We also highlight that Guatemala is the top cardamom producing country worldwide, with a total value of exports of USD277.1 million during 2016 (that is 55.7% of total cardamom exports worldwide, followed by Nepal with 12.4%, India with 8.7% and the United Arab Emirates with 6.2%). The sugarcane, coffee, banana and cardamom production in Guatemala has a seasonal component related to weather conditions. Therefore, the export-related currency movements of these products may lead to an exchange rate seasonality (i.e. annual seasonality) of the Guatemalan Quetzal (GTQ) to USD (GTQ/USD) exchange rate.

During the last two decades, the relative importance of sugar, coffee, banana and cardamom exports, out of Guatemala’s total exports, has decreased significantly (source: Bank of Guatemala, http://www.banguat.gob.gt; see notes of Table 4). This suggests that the impact of the export-related seasonality effects on the GTQ/USD exchange rate may have decreased over time. During the same period, the relative importance of the receipt and payment of foreign loans, and remittance payments to Guatemala (as a fraction of total foreign currency movements of the country) has increased significantly. As the receipt and payment of foreign loans and the remittance payments to Guatemala do not involve significant exchange rate seasonality components (i.e. annual seasonality), the increase in the relative importance of those currency movements may indirectly lower the amplitude of GTQ/USD exchange rate seasonality.

The aforementioned issues motivated the present work and we focus on the in-sample analysis of the GTQ/USD exchange rate \(p_{t}\). We evaluate the historical evolution of stochastic seasonality effects in the GTQ/USD exchange rate for the sample period of 4th January 1994–30th June 2017. We use information on (1) Guatemalan export-related currency movements, (2) import-related currency movements, (3) receipt of Guatemalan USD loans, (4) payment of Guatemalan USD loans, and (5) remittance payments of Guatemalan citizens who are working abroad. To study the stochastic seasonality component of the GTQ/USD exchange rate, we suggest using the new Dynamic Conditional Score (DCS) models (Creal et al. 2013; Harvey 2013) that include both stochastic local level \(\mu _{t}\) and stochastic seasonality \(s_{t}\) components. The new DCS models are flexible and they allow stochastic dynamics in the local level \(\mu _{t}\) component, the seasonality \(s_{t}\) component, and the irregular \(v_{t}\) component, within the decomposition of the GTQ/USD exchange rate: \(p_{t} = \mu _{t} + s_{t} + v_{t}\).

The use of the DCS models for the time series sample in the present study is motivated by the GTQ/USD time series that exhibits: (1) significant rises and falls that lead to extreme observations, (2) a significant stochastic seasonality component (i.e. annual seasonality) with dynamic amplitude, and (3) significant volatility dynamics. DCS models are robust to extreme observations. Therefore, the new DCS models for the GTQ/USD exchange rate may be more adequate for an effective in-sample measurement of the stochastic seasonality component than the standard financial time series models (i.e. the latter are less robust to extreme observations). Our paper makes several contributions to the body of DCS literature.

Firstly, we introduce the new DCS-Skew-Gen-*t* (Skewed Generalized *t* distribution) model with (1) stochastic local level \(\mu _{t}\), (2) stochastic seasonality \(s_{t}\), and (3) DCS-EGARCH (Exponential Generalized Autoregressive Conditional Heteroscedasticity) (Harvey 2013) scale dynamics for the irregular component \(v_{t}\). The statistical performance of the DCS-Skew-Gen-*t* model is superior to that of the DCS Student’s-*t* model (hereinafter, DCS-*t*) (Harvey 2013; Harvey and Luati 2014), according to all Log-Likelihood (LL)-based metrics of this paper.

Secondly, we introduce the new DCS-NIG (Normal-Inverse Gaussian distribution) model (Barndorff-Nielsen and Halgreen 1977) with (1) stochastic local level \(\mu _{t}\), (2) stochastic seasonality \(s_{t}\), and (3) DCS-EGARCH scale dynamics for the irregular component \(v_{t}\). The statistical performance of the DCS-NIG model is superior to that of the DCS-EGB2 (Exponential Generalized Beta distribution of the second kind) model (Caivano et al. 2016), according to the LL-based parsimony metrics.

In this paper, we suggest two new DCS models because their terms, which do the updating, transform extreme observations in a similar way to the benchmark DCS models, as described in the literature: (1) For both the DCS-*t* and DCS-Skew-Gen-*t* models, the most extreme observations are trimmed by local level and seasonality (updating terms), and extreme observations in scale (updating term) are Winsorized; (2) For both the DCS-EGB2 and DCS-NIG models, local level and seasonality (updating terms) perform Winsorizing of extreme observations, and scale (updating term) transforms extreme observations according to a linear function. The type of transformation of extreme observations that is more appropriate for local level, stochastic seasonality and volatility, is an open question in the relevant body of DCS literature.

Thirdly, we compare the DCS models with a standard financial time series model that de- composes the GTQ/USD exchange rate to the three components: stochastic local level \(\mu _{t}\), stochastic seasonality \(s_{t}\), and irregular \(v_{t}\). We find that all of the DCS models in this paper present a statistical performance that is superior to that of the standard model.

The remainder of this paper is organized as follows. Section 2 reviews the literature on DCS models. Section 3 presents the econometric framework. Section 4 describes the dataset. Section 5 presents the empirical results. Section 6 concludes.

## 2 Review of the literature on DCS models

DCS models are observation-driven time series models (Cox et al. 1981), in which each dynamic equation is updated by the conditional score of the LL (hereinafter, score function) with respect to a dynamic parameter. The score function discounts the effects of previous observations when the dynamic equations of the DCS model are updated. Thus, DCS models are robust to extreme values in the irregular component (Creal et al. 2013; Harvey 2013). Those models can be applied to the study of *I*(0) (e.g. financial returns, real GDP growth) or *I*(1) (e.g. exchange rate level, real GDP level) times series variables (see Hamilton 1994).

The first example of DCS models is Beta-*t*-EGARCH (Harvey and Chakravarty 2008), which is an outlier-robust alternative to the GARCH model (Engle 1982; Bollerslev 1986). With respect to Beta-*t*-EGARCH, we refer to the recent applications of Blazsek and Villatoro (2015), Blazsek and Mendoza (2016), and Blazsek and Monteros (2017). Another example of DCS models is QAR (Harvey 2013), which is a nonlinear and outlier-robust alternative to the AR Moving Average (ARMA) model (Box and Jenkins 1970). An additional recent example of DCS models is QVAR (Blazsek et al. 2017, 2018b), which is a nonlinear and outlier-robust alternative to the VARMA model (see, for example, Lütkepohl 2005).

We also refer to the following recent models from the body of DCS literature: Blazsek and Escribano (2016a) suggest a DCS count panel data model, which is an alternative to the dynamic count panel data models of Blundell et al. (2002), Wooldridge (2005), and Blazsek and Escribano (2010, 2016b). Ayala et al. (2017) suggest DCS-EGARCH models with score-driven shape parameters, which are extensions of the DCS-EGARCH models with constant shape (see, for example, Harvey 2013). Blazsek and Ho (2017) introduce the Markov regime-switching Beta-*t*-EGARCH model. Blazsek et al. (2018c) compare single-regime and regime-switching Beta-*t*-EGARCH, Skew-Gen-*t*-EGARCH, EGB2-EGARCH and NIG-EGARCH volatility models. Ayala and Blazsek (2018a, b) use new DCS copula models for financial portfolios, by considering score-driven Clayton, rotated Clayton, Frank, Gaussian, Gumbel, rotated Gumbel, Plackett, and Student’s *t* copulas.

Related to the new DCS models with stochastic local level and stochastic seasonality components that are suggested in the present paper, we refer to the works of Harvey (2013) and Harvey and Luati (2014), who introduce the dynamic Student’s-*t* location model that includes stochastic local level and stochastic seasonality components. More recently, Caivano et al. (2016) introduce the dynamic EGB2 location model, which includes stochastic local level and stochastic seasonality components. Caivano et al. (2016) compare the dynamic Student’s-*t* location and the dynamic EGB2 location models, and demonstrate that extreme observations are discounted in different ways in those models. For the Student’s-*t* location model, the score function converges to zero as \(|v_{t}| \rightarrow \infty \), which is described as a soft form of trimming. For the EGB2 location model, the score function converges to a positive or negative non-zero value as \(|v_{t}| \rightarrow \infty \), which is described as a soft form of Winsorizing.

We also refer to a related recent work of Blazsek and Hernández (2018), who apply DCS-*t*, DCS-Gen-*t* (Generalized *t* distribution) and DCS-EGB2 models of stochastic local level, stochastic seasonality and EGARCH-driven irregular components, to spot electricity prices from El Salvador, Guatemala and Panama that exhibit significant rises and falls.

## 3 Econometric framework

### 3.1 DCS models with local level and seasonality

The DCS models of this paper are formulated as: \(p_{t}=\mu _{t}+s_{t}+v_{t}=\mu _{t}+s_{t}+\exp (\lambda _{t})\epsilon _{t}\) for days \(t=1,\ldots ,T\), where *T* is the number of observations. The model includes three score-driven components: stochastic local level component \(\mu _{t}\), stochastic annual seasonality component \(s_{t}\), and irregular component \(v_{t}\). The irregular component is the product of a dynamic scale parameter \(\exp (\lambda _{t})\) and a standardized error term \(\epsilon _{t}\).

For \(\epsilon _{t}\), we use the Student’s-*t*, Skew-Gen-*t*, EGB2 and NIG distributions (we present the corresponding density functions in Sect. 3.3). For these probability distributions, the updating terms of the DCS equations either trim or Winsorize the extreme observations, or transform them according to a linear function. Due to these transformations, the DCS models for the GTQ/USD currency exchange rate of the present paper are robust to extreme observations.

Firstly, the local level component \(\mu _{t}=\mu _{t-1}+\delta u_{\mu ,t-1}\) is updated by the scaled score function \(u_{\mu ,t}\) with respect to \(\mu _{t}\) (\(u_{\mu ,t}\) is defined in Sect. 3.3). We initialize \(\mu _{t}\) by using the first observation \(p_{1}\). As an alternative, we also consider the use of parameter \(\mu _{0}\) to initialize \(\mu _{t}\). We obtain very similar results for both cases, thus, in this paper we only report results for \(\mu _{1}=p_{1}\). With respect to these alternatives of initialization, we refer to the work of Harvey (2013, p. 76).

Secondly, the annual seasonality component is \(s_{t}=D'_{t}\rho _{t}=(D_{\text {Jan},t},D_{\text {Feb},t},\ldots ,D_{\text {Dec},t})'\rho _{t}\), where the monthly dummies \(D_{j,t}\) with \(j\in \{\text {Jan},\ldots ,\text {Dec}\}\) select an element from the \(12 \times 1\) vector of dynamic variables \(\rho _{t}\). The vector \(\rho _{t}\) is formulated as \(\rho _{t}=\rho _{t-1}+\gamma _{t} u_{\mu ,t-1}\). Vector \(\rho _{t}\) is updated by the scaled score function \(u_{\mu ,t}\) with respect to \(\mu _{t}\) (Sect. 3.3), and \(u_{\mu ,t}\) is multiplied by the \(12 \times 1\) vector of dynamic parameters \(\gamma _{t}\). Each element of the \(\gamma _{t}\) vector is given by \(\gamma _{jt}=\gamma _{j}\) for \(D_{jt}=1\) and \(\gamma _{jt}=-\gamma _{j}/(12-1)\) for \(D_{jt}=0\), where \(\gamma _{j}\) with \(j\in \{\text {Jan},\ldots ,\text {Dec}\}\) are seasonality parameters to be estimated. This specification ensures that the sum of the seasonality parameters is zero, hence, \(s_{t}\) has mean zero and it is effectively separated from \(\mu _{t}\).

We initialize \(\rho _{t}\) by estimating the equation \(p_{t}=a+b t+c_{\text {Jan}} D_{\text {Jan},t}+\cdots +c_{\text {Dec}} D_{\text {Dec},t}+\epsilon _{t}\), under the restriction \(c_{\text {Jan}}+\cdots +c_{\text {Dec}}=0\). Due to this restriction multicollinearity is avoided, thus, all parameters are identified in the equation. For the estimation, we use data from the first year of the full data window (i.e. the first 259 observations of the GTQ/USD exchange rate sample from year 1994), and we estimate the parameters by using the Non-linear Least Squares (NLS) method. The initial values of \(\rho _{t}\) are the NLS estimates of \((c_{\text {Jan}},\ldots ,c_{\text {Dec}})'\). With respect to this method of initialization, we refer to the work of Harvey (2013, p. 80).

In the DCS models of this paper, the same scaled score function updates both the local level and the seasonality components. Therefore, the local level and seasonality shocks are correlated. The DCS models with stochastic local level and stochastic seasonality of this paper are alternatives to the recent Unobserved Components Model (UCM) of Hindrayanto et al. (2018) that uses correlated shocks for the local level and seasonality components.

Thirdly, we model the time-varying scale of the irregular component \(v_{t}\) by using the DCS-EGARCH(1,1) model \(\lambda _{t}=\omega +\beta \lambda _{t-1}+\alpha u_{\lambda ,t-1}\), which is updated by the score function \(u_{\lambda ,t}\) with respect to \(\lambda _{t}\) (\(u_{\lambda ,t}\) is defined in Sect. 3.3). DCS-EGARCH models for the Student’s-*t*, Skew-Gen-*t*, EGB2 and NIG distributions are named Beta-*t*-EGARCH (Harvey and Chakravarty 2008), Skew-Gen-*t*-EGARCH (Harvey and Lange 2017), EGB2-EGARCH (Caivano and Harvey 2014) and NIG-EGARCH (Blazsek et al. 2018c), respectively. We initialize \(\lambda _{t}\) by using parameter \(\lambda _{0}\). As an alternative, we also consider DCS-EGARCH with leverage effects (Harvey 2013). However, we find that the parameter that measures leverage effects is not significantly different from zero for the GTQ/USD dataset that is used in this paper.

Motivated by the works of Dacorogna et al. (1993) and Andersen and Bollerslev (1998), we also consider a seasonality component in volatility. We add the seasonality component \({\tilde{s}}_{t}\) into scale, as follows: \(p_{t}=\mu _{t}+s_{t}+v_{t}=\mu _{t}+s_{t}+\exp (\lambda _{t}+{\tilde{s}}_{t})\epsilon _{t}\), where we use the Student’s *t*, Skew-Gen-*t*, EGB2 and NIG distributions for \(\epsilon _{t}\). The seasonality component is specified as \({\tilde{s}}_{t}=D'_{t}{\tilde{\rho }}_{t}=(D_{\text {Jan},t},D_{\text {Feb},t},\ldots ,D_{\text {Dec},t})'{\tilde{\rho }}_{t}\) and \({\tilde{\rho }}_{t}={\tilde{\rho }}_{t-1}+\kappa _{t} u_{\lambda ,t-1}\). Each element of the \(\kappa _{t}\) vector is given by \(\kappa _{jt}=\kappa _{j}\) for \(D_{jt}=1\) and \(\kappa _{jt}=-\kappa _{j}/(12-1)\) for \(D_{jt}=0\), where \(\kappa _{j}\) with \(j\in \{\text {Jan},\ldots ,\text {Dec}\}\) are parameters to be estimated. This specification ensures that the sum of the seasonality parameters is zero, hence, \({\tilde{s}}_{t}\) has mean zero and it is effectively separated from \(\lambda _{t}\). We do not report results for these extended DCS specifications with seasonal volatility, because the ML estimator does not converge to an optimum for the GTQ/USD currency exchange rate dataset of the present paper. Nevertheless, this specification may be helpful in future applications for currency exchange rates involving stochastic seasonality and extreme observations.

### 3.2 Standard financial time series model with local level and seasonality

The standard financial time series model is formulated as: \(p_{t}=\mu _{t}+s_{t}+v_{t}=\mu _{t}+s_{t}+\lambda ^{1/2}_{t}\epsilon _{t}\) for days \(t=1,\ldots ,T\). We use the same notation for the local level, seasonality and irregular components as for the DCS models, and for the error term we use \(\epsilon _{t} \sim N(0,1)\).

Firstly, the local level component is \(\mu _{t}=\mu _{t-1}+\delta v_{t-1}\) (our motivation for using this updating term is outlined in Sect. 3.3). We initialize \(\mu _{t}\) by using the first observation \(p_{1}\). As an alternative, we also consider the use of parameter \(\mu _{0}\) to initialize \(\mu _{t}\). We obtain very similar results for both cases, thus, in this paper we only report results for \(\mu _{1}=p_{1}\).

Secondly, the annual seasonality component is \(s_{t}=D'_{t}\rho _{t}=(D_{\text {Jan},t},D_{\text {Feb},t},\ldots ,D_{\text {Dec},t})'\rho _{t}\), where the monthly dummies \(D_{j,t}\) with \(j\in \{\text {Jan},\ldots ,\text {Dec}\}\) select an element from the \(12 \times 1\) vector of dynamic variables \(\rho _{t}\). The vector \(\rho _{t}\) is formulated as \(\rho _{t}=\rho _{t-1}+\gamma _{t} v_{t-1}\) (Sect. 3.3). We initialize \(\rho _{t}\) in the same way as for the DCS models. Each element of the \(\gamma _{t}\) vector is given by \(\gamma _{jt}=\gamma _{j}\) for \(D_{jt}=1\) and \(\gamma _{jt}=-\gamma _{j}/(12-1)\) for \(D_{jt}=0\), where \(\gamma _{j}\) with \(j\in \{\text {Jan},\ldots ,\text {Dec}\}\) are seasonality parameters to be estimated. This specification ensures that \(s_{t}\) is centred at zero.

Thirdly, we model the conditional variance of \(v_{t}\) by using the classic GARCH(1,1) specification \(\lambda _{t}=\omega +\beta \lambda _{t-1}+\alpha v_{t-1}^{2}\). We initialize \(\lambda _{t}\) by using parameter \(\lambda _{0}\).

### 3.3 Conditional densities, score functions and updating terms

We use four probability distributions for \(\epsilon _{t}\) in the DCS models. In this section, for each alternative, we present the log conditional density of \(p_{t}\), and the score functions \(u_{\mu ,t}\) and \(u_{\lambda ,t}\). Furthermore, in this section we also present the log conditional density of \(p_{t}\) and the properties of the updating terms of \(\mu _{t}\) and \(\lambda _{t}\) for the standard financial time series model.

*t*-distribution, where \(\nu \in {\mathbb {R}}\) influences tail-thickness. The degrees of freedom \(\exp (\nu )+2\) parameter specification ensures finite conditional variance for \(p_{t}\). The log conditional density of \(p_{t}\) is

*t*distribution is a generalization of the Student’s

*t*distribution. By setting \(\text {tanh}(\tau )=0\) and \(\exp (\eta )=2\), Skew-Get-

*t*coincides with Student’s

*t*. The degrees of freedom \(\exp (\nu )+2\) specification ensures finite conditional variance for \(p_{t}\), as for the Student’s

*t*distribution. The log-density of \(p_{t}\) is

### 3.4 Statistical inference

For the DCS models of this paper, we use results from the work of Harvey (2013) for the conditions of consistency and asymptotic normality of the ML estimates. For the local level and stochastic seasonality equations, the dynamic parameters of the \(\mu _{t}\) and \(\rho _{t}\) equations are set to one, instead of being estimated. Therefore, the asymptotic properties of the ML estimator hold for those cases (Harvey 2013). With respect to the dynamic log-scale equation, we define the statistic \(C_{\lambda }= \beta ^{2}+2\beta \alpha E(\partial u_{\lambda ,t}/\partial \lambda _{t})+\alpha ^{2}E[(\partial u_{\lambda ,t}/\partial \lambda _{t})^{2}]\) (Harvey 2013). We estimate \(C_{\lambda }\) numerically for each DCS specification of the present paper. Firstly, the partial derivatives of the score function with respect to \(\lambda _{t}\) are computed numerically. Secondly, the Augmented Dickey and Fuller (1979) (hereinafter, ADF) is performed for each \(\partial u_{\lambda ,t}/\partial \lambda _{t}\) time series, in order to justify the use of the sample average estimator for the expectations. For all cases, the ADF test indicates that \(\partial u_{\lambda ,t}/\partial \lambda _{t}\) forms a covariance stationary time series. Thus, the sample average is a consistent estimator of the expected value (see, for example, Hamilton 1994). Two conditions for DCS-EGARCH(1,1) are \(|\beta |<1\) and \(C_{\lambda }<1\).

Descriptive statistics

*Source of data* Bank of Guatemala, http://www.banguat.gob.gt/cambio/default.asp

Statistics | GTQ/USD \(p_{t}\) | GTQ/USD \(\ln (p_{t}/p_{t-1})\) | Month | Mean \(p_{t}\) |
---|---|---|---|---|

Start date | 4th January 1994 | 4th January 1994 | January | 7.4087 |

End date | 30th June 2017 | 30th June 2017 | February | 7.3819 |

Sample size | 6128 | 6128 | March | 7.3590 |

Minimum | 5.4939 | \(-\) 0.0199 | April | 7.3545 |

Maximum | 8.3948 | 0.0192 | May | 7.3411 |

Average | 7.3904 | 0.0000 | June | 7.3712 |

Standard deviation | 0.7476 | 0.0017 | July | 7.3656 |

Skewness | \(-\) 1.2354 | 0.6494 | August | 7.3840 |

Excess kurtosis | 0.0049 | 14.8366 | September | 7.4312 |

ADF statistic, constant | \(-\) 2.1142 (0.2391) | \(-\) 13.6809\(^{***}\) (0.0000) | October | 7.4501 |

ADF statistic, constant plus trend | \(-\) 0.8073 (0.9637) | NA | November | 7.4298 |

ADF statistic, constant plus quadratic trend | \(-\) 2.2003 (0.7293) | NA | December | 7.4126 |

## 4 Data

We use GTQ/USD exchange rate data that are obtained from the Bank of Guatemala (see related details in the notes of Table 1). The GTQ/USD exchange rate \(p_{t}\) is available from 6th November 1989, when GTQ/USD started to float in the foreign currency market. Until 1994, the Bank of Guatemala used a pegged float exchange rate regime, for which the rate was allowed to fluctuate within a specific band. For the period of 6th November 1989 to 31st December 1993, the GTQ/USD time series shows constant level periods with zero volatility, step function-like evolution in other periods, and significant rises or falls on some days (Fig. 1a, b). Thus, the DCS models of this paper are not adequate for the GTQ/USD time series of this period.

In this paper, we use data for the period of 4th January 1994–30th June 2017 (Fig. 1c, d). The Bank of Guatemala reports bid and ask prices for GTQ/USD for seven days of the week (Guatemalan banks are open seven days in every week). We use the average of bid and ask prices for each day. We use data for every Monday to Friday from the data window. We do not include bank holidays and weekends in the dataset, since the MID undertakes foreign currency transactions only from Monday to Friday (thus, GTQ/USD does not change during the weekend). As an extension of our models, we also consider a weekly stochastic seasonality component for the GTQ/USD currency exchange rate time series data of this paper. We do not report those results, because weekly seasonality is not significantly different from zero.

We present descriptive statistics for the GTQ/USD level \(p_{t}\) and the GTQ/USD log-return \(\ln (p_{t}/p_{t-1})\) time series in Table 1. We also present results for the ADF test in Table 1, which suggest that \(p_{t}\) is a *I*(1) process, and thus motivate the use of the local level component with unit root in the DCS model. Further, in Table 1, we present the mean \(p_{t}\) for each month of the year. Those mean \(p_{t}\) estimates indicate the following annual seasonality effects: (1) strengthening GTQ from December to May; (2) relatively stable GTQ from June to August; (3) weakening GTQ from September to November. These results motivate the use of the annual seasonality component \(s_{t}\) in the DCS model. Significant rises and falls in GTQ/USD are also observed in Fig. 1c, which motivate the use of different DCS specifications that discount extreme observations in a different manner. Finally, significant volatility clustering is observed in Fig. 1d, which motivates the use of DCS-EGARCH.

## 5 Empirical results

### 5.1 Statistical performance

Parameter estimates and model diagnostics

Standard model | DCS- | DCS-Skew-Gen- | DCS-EGB2 | DCS-NIG | |||||
---|---|---|---|---|---|---|---|---|---|

\(\delta \) | \( 1.1455 ^{***} \,(0.0099)\) | \(\delta \) | \( 1.4419 ^{***} \,(0.0178)\) | \(\delta \) | \( 1.5081 ^{***} \,(0.0196)\) | \(\delta \) | \( 0.9985 ^{***} \,(0.0116)\) | \(\delta \) | \( 0.3326 ^{***} \,(0.0105)\) |

\(\gamma _{\mathrm {Jan}}\) | \(-\) \(0.0757 ^{***} \,(0.0035)\) | \(\gamma _{\mathrm {Jan}}\) | \( 0.1832 ^{***} \,(0.0119)\) | \(\gamma _{\mathrm {Jan}}\) | \( 0.1796 ^{***} \,(0.0118)\) | \(\gamma _{\mathrm {Jan}}\) | \(-\) \(0.0835 ^{***} \,(0.0051)\) | \(\gamma _{\mathrm {Jan}}\) | \(-\) \(0.0279 ^{***} \,(0.0020)\) |

\(\gamma _{\mathrm {Feb}}\) | \( 0.0425 ^{***} \,(0.0044)\) | \(\gamma _{\mathrm {Feb}}\) | \( 0.0677 ^{***} \,(0.0050)\) | \(\gamma _{\mathrm {Feb}}\) | \( 0.0722 ^{***} \,(0.0052)\) | \(\gamma _{\mathrm {Feb}}\) | \( 0.0361 ^{***} \,(0.0031)\) | \(\gamma _{\mathrm {Feb}}\) | \( 0.0119 ^{***} \,(0.0011)\) |

\(\gamma _{\mathrm {Mar}}\) | \(-\) \(0.0627 ^{***} \,(0.0042)\) | \(\gamma _{\mathrm {Mar}}\) | \(-\) \(0.0787 ^{***} \,(0.0037)\) | \(\gamma _{\mathrm {Mar}}\) | \(-\) \(0.0823 ^{***} \,(0.0036)\) | \(\gamma _{\mathrm {Mar}}\) | \(-\) \(0.0525 ^{***} \,(0.0028)\) | \(\gamma _{\mathrm {Mar}}\) | \(-\) \(0.0176 ^{***} \,(0.0011)\) |

\(\gamma _{\mathrm {Apr}}\) | \(-\) \(0.0191 \,(0.0123)\) | \(\gamma _{\mathrm {Apr}}\) | \(-\) \(0.0310 ^{***} \,(0.0109)\) | \(\gamma _{\mathrm {Apr}}\) | \(-\) \(0.0383 ^{***} \,(0.0113)\) | \(\gamma _{\mathrm {Apr}}\) | \(-\) \(0.0156 ^{*} \,(0.0092)\) | \(\gamma _{\mathrm {Apr}}\) | \(-\) \(0.0051 ^{*} \,(0.0030)\) |

\(\gamma _{\mathrm {May}}\) | \( 0.0859 ^{***} \,(0.0060)\) | \(\gamma _{\mathrm {May}}\) | \( 0.1040 ^{***} \,(0.0071)\) | \(\gamma _{\mathrm {May}}\) | \( 0.1128 ^{***} \,(0.0077)\) | \(\gamma _{\mathrm {May}}\) | \( 0.0736 ^{***} \,(0.0052)\) | \(\gamma _{\mathrm {May}}\) | \( 0.0242 ^{***} \,(0.0019)\) |

\(\gamma _{\mathrm {Jun}}\) | \( 0.1190 ^{***} \,(0.0071)\) | \(\gamma _{\mathrm {Jun}}\) | \( 0.1328 ^{***} \,(0.0075)\) | \(\gamma _{\mathrm {Jun}}\) | \( 0.1370 ^{***} \,(0.0071)\) | \(\gamma _{\mathrm {Jun}}\) | \( 0.0982 ^{***} \,(0.0057)\) | \(\gamma _{\mathrm {Jun}}\) | \( 0.0326 ^{***} \,(0.0022)\) |

\(\gamma _{\mathrm {Jul}}\) | \( 0.3387 ^{***} \,(0.0120)\) | \(\gamma _{\mathrm {Jul}}\) | \( 0.3856 ^{***} \,(0.0157)\) | \(\gamma _{\mathrm {Jul}}\) | \( 0.4186 ^{***} \,(0.0174)\) | \(\gamma _{\mathrm {Jul}}\) | \( 0.2633 ^{***} \,(0.0114)\) | \(\gamma _{\mathrm {Jul}}\) | \( 0.0868 ^{***} \,(0.0045)\) |

\(\gamma _{\mathrm {Aug}}\) | \( 0.1437 ^{***} \,(0.0042)\) | \(\gamma _{\mathrm {Aug}}\) | \( 0.1574 ^{***} \,(0.0051)\) | \(\gamma _{\mathrm {Aug}}\) | \( 0.1612 ^{***} \,(0.0050)\) | \(\gamma _{\mathrm {Aug}}\) | \( 0.1137 ^{***} \,(0.0035)\) | \(\gamma _{\mathrm {Aug}}\) | \( 0.0378 ^{***} \,(0.0016)\) |

\(\gamma _{\mathrm {Sep}}\) | \( 0.1662 ^{***} \,(0.0093)\) | \(\gamma _{\mathrm {Sep}}\) | \( 0.1536 ^{***} \,(0.0163)\) | \(\gamma _{\mathrm {Sep}}\) | \( 0.1613 ^{***} \,(0.0164)\) | \(\gamma _{\mathrm {Sep}}\) | \( 0.1131 ^{***} \,(0.0113)\) | \(\gamma _{\mathrm {Sep}}\) | \( 0.0372 ^{***} \,(0.0038)\) |

\(\gamma _{\mathrm {Oct}}\) | \(-\) \(0.0079 \,(0.0054)\) | \(\gamma _{\mathrm {Oct}}\) | \(-\) \(0.0438 ^{***} \,(0.0060)\) | \(\gamma _{\mathrm {Oct}}\) | \(-\) \(0.0478 ^{***} \,(0.0061)\) | \(\gamma _{\mathrm {Oct}}\) | \(-\) \(0.0191 ^{***} \,(0.0044)\) | \(\gamma _{\mathrm {Oct}}\) | \(-\) \(0.0067 ^{***} \,(0.0015)\) |

\(\gamma _{\mathrm {Nov}}\) | \(-\) \(0.0763 ^{***} \,(0.0042)\) | \(\gamma _{\mathrm {Nov}}\) | \(-\) \(0.0529 ^{***} \,(0.0065)\) | \(\gamma _{\mathrm {Nov}}\) | \(-\) \(0.0540 ^{***} \,(0.0066)\) | \(\gamma _{\mathrm {Nov}}\) | \(-\) \(0.0562 ^{***} \,(0.0041)\) | \(\gamma _{\mathrm {Nov}}\) | \(-\) \(0.0182 ^{***} \,(0.0015)\) |

\(\gamma _{\mathrm {Dec}}\) | \( 0.4981 ^{***} \,(0.0067)\) | \(\gamma _{\mathrm {Dec}}\) | \( 0.3193 ^{***} \,(0.0138)\) | \(\gamma _{\mathrm {Dec}}\) | \( 0.3340 ^{***} \,(0.0126)\) | \(\gamma _{\mathrm {Dec}}\) | \( 0.3637 ^{***} \,(0.0108)\) | \(\gamma _{\mathrm {Dec}}\) | \( 0.1215 ^{***} \,(0.0044)\) |

\(\omega \) | \( 0.0000 ^{***} \,(0.0000)\) | \(\omega \) | \(-\) \(0.9942 ^{***} \,(0.0507)\) | \(\omega \) | \(-\) \(1.0506 ^{***} \,(0.0523)\) | \(\omega \) | \(-\) \(0.8338 ^{***} \,(0.0438)\) | \(\omega \) | \(-\) \(0.6769 ^{***} \,(0.0368)\) |

\(\beta \) | \( 0.4141 ^{***} \,(0.0120)\) | \(\beta \) | \( 0.7831 ^{***} \,(0.0107)\) | \(\beta \) | \( 0.7704 ^{***} \,(0.0110)\) | \(\beta \) | \( 0.8281 ^{***} \,(0.0089)\) | \(\beta \) | \( 0.8273 ^{***} \,(0.0092)\) |

\(\alpha \) | \( 0.4662 ^{***} \,(0.0101)\) | \(\alpha \) | \( 0.2107 ^{***} \,(0.0066)\) | \(\alpha \) | \( 0.2308 ^{***} \,(0.0070)\) | \(\alpha \) | \( 0.1298 ^{***} \,(0.0043)\) | \(\alpha \) | \( 0.1385 ^{***} \,(0.0046)\) |

\(\lambda _{0}\) | \( 0.0027 \,(0.0040)\) | \(\lambda _{0}\) | \(-\) \(3.2046 ^{***} \,(0.4960)\) | \(\lambda _{0}\) | \(-\) \(3.2224 ^{***} \,(0.4298)\) | \(\lambda _{0}\) | \(-\) \(3.4120 ^{***} \,(0.5187)\) | \(\lambda _{0}\) | \(-\) \(2.4672 ^{***} \,(0.5576)\) |

\(\nu \) | NA | \(\nu \) | \( 1.7779 ^{***} \,(0.0346)\) | \(\tau \) | \( 0.0376 ^{***} \,(0.0088)\) | \(\xi \) | \( 0.3544 ^{***} \,(0.0370)\) | \(\nu \) | \( 1.0697 ^{***} \,(0.0349)\) |

\(\nu \) | \( 1.4680 ^{***} \,(0.0425)\) | \(\zeta \) | \( 0.2505 ^{***} \,(0.0404)\) | \(\eta \) | \( 0.0559 ^{***} \,(0.0125)\) | ||||

\(\eta \) | \( 0.7939 ^{***} \,(0.0121)\) | ||||||||

\(\alpha +\beta \) | 0.8803 | \(C_{\lambda }\) | 0.3448 | \(C_{\lambda }\) | 0.3202 | \(C_{\lambda }\) | 0.4791 | \(C_{\lambda }\) | 0.4674 |

LL | 2.9992 | LL | 3.1038 | LL | 3.1095 | LL | 3.0922 | LL | 3.0925 |

AIC | \(-\) 5.9928 | AIC | \(-\) 6.2017 | AIC | \(-\) \(\mathbf 6.2125 \) | AIC | \(-\) 6.1783 | AIC | \(-\) 6.1788 |

BIC | \(-\) 5.9742 | BIC | \(-\) 6.1819 | BIC | \(-\) \(\mathbf 6.1905 \) | BIC | \(-\) 6.1574 | BIC | \(-\) 6.1580 |

HQC | \(-\) 5.9863 | HQC | \(-\) 6.1948 | HQC | \(-\) \(\mathbf 6.2049 \) | HQC | \(-\) 6.1710 | HQC | \(-\) 6.1716 |

LR1 | \( 0.1103 ^{***} \,(0.0237)\) | LR1 | \( 0.0057 ^{***} \,(0.0016)\) | LR1 | NA | LR1 | \( 0.0173 ^{**} \,(0.0086)\) | LR1 | \( 0.0170 ^{**} \,(0.0080)\) |

LR2 | NA | LR2 | \( 0.1046 ^{***} \,(0.0235)\) | LR2 | \( 0.1103 ^{***} \,(0.0237)\) | LR2 | \( 0.0931 ^{***} \,(0.0177)\) | LR2 | \( 0.0933 ^{***} \,(0.0186)\) |

LR3 | NA | LR3 | NA | LR3 | \( 0.0057 ^{***} \,(0.0016)\) | LR3 | NA | LR3 | \( 0.0003 \,(0.0011)\) |

We use the following metrics to compare statistical performance: LL, Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC) and Hannan-Quinn Criterion (HQC). According to AIC, BIC and HQC, the in-sample statistical performance of the DCS-Skew-Gen-*t* model is superior to that of all the alternatives of this paper (Table 2). We also perform a Likelihood-Ratio (LR) test for non-nested models (Vuong 1989). In the LR test, we estimate the linear regression \(d_{t}=c+\epsilon _{t}\), where \(d_{t}\) is the difference between the log-densities of two models for day *t*. We estimate this equation by using the OLS-HAC (Ordinary Least Squares - Heteroscedasticity and Autocorrelation Consistent) estimator (Newey and West 1987). In Table 2, we report three different LR test results: (1) LR1 compares the LLs of all alternatives with that of the DCS-Skew-Gen-*t* model (i.e. the model with the highest LL estimate). According to the results, the LL of the DCS-Skew-Gen-*t* model is significantly higher than the LLs of the alternative models. (2) LR2 compares the LLs of all alternatives with that of the standard financial time series model (i.e. the model with the lowest LL estimate). According to the results, the LLs of all DCS models are significantly higher than the LL of the standard financial time series model. (3) LR3 compares the LLs of those DCS models that undertake trimming in the location equation (i.e. the recent DCS-*t* model and the new DCS-Skew-Gen-*t* model), and also compares the LLs of those DCS models that undertake Winsorizing in the location equation (i.e. the recent DCS-EGB2 model and the new DCS-NIG model). According to the results, the LL of the DCS-Skew-Gen-*t* model is significantly higher than the LL of DCS-*t* model, while the LLs of DCS-EGB2 and DCS-NIG models do not differ significantly.

The properties of the scaled score functions and score functions that update the local level and log-scale of \(p_{t}\) are important with respect to the likelihood-based performance of alternative DCS models. In the following, we present those properties in the empirical analysis that can be related to the mathematical details of those updating terms (Sect. 3.3). The updating terms \(u_{\mu ,t}\) and \(u_{\lambda ,t}\) of the DCS-*t*, DCS-Skew-Gen-*t*, DCS-EGB2 and DCS-NIG models are presented in Fig. 2a–d, respectively, as functions of \(\epsilon _{t}\). We evaluate \(u_{\mu ,t}\) and \(u_{\lambda ,t}\) by using the ML estimates of the shape parameters, and for \(\lambda _{t}\) we use its unconditional mean estimate \({\hat{\omega }}/(1-{\hat{\beta }})\). We also present in Fig. 2e, f the updating terms of the local level \(\mu _{t}\) and the conditional variance \(\lambda _{t}\) equations for the standard financial time series model. For the evaluation of the updating term of \(\lambda _{t}\), we use the ML estimate of its unconditional mean: \({\hat{\omega }}/(1-{\hat{\alpha }}-{\hat{\beta }})\).

For the DCS-*t* and DCS-Skew-Gen-*t* models, \(u_{\mu ,t}\) undertakes a smooth form of trimming (Fig. 2a). For the greater part of the support of the probability distribution, the DCS-Skew-Gen-*t* model discounts more observations than the DCS-*t* model (the only exception is for a small negative interval in the central part of the distribution) (Fig. 2a). Furthermore, for the DCS-*t* and DCS-Skew-Gen-*t* models, \(u_{\lambda ,t}\) undertakes a smooth form of Winsorizing (Fig. 2b). In the central part of the distribution, observations are discounted in similar ways for the DCS-*t* and DCS-Skew-Gen-*t* models (Fig. 2b). In the extreme parts of the distribution, observations are discounted more for the DCS-Skew-Gen-*t* model than for the DCS-*t* model (Fig. 2b). All LL-based metrics of Table 2 suggest that the discounting of extreme values for the DCS-Skew-Gen-*t* model is more effective than the discounting of extreme values for the DCS-*t* model.

For the DCS-EGB2 and DCS-NIG models, \(u_{\mu ,t}\) undertakes a smooth form of Winsorizing (Fig. 2c), and \(u_{\lambda ,t}\) increases linearly as \(|\epsilon _{t}| \rightarrow \infty \) (Fig. 2d). We find that, for both \(u_{\mu ,t}\) and \(u_{\lambda ,t}\), observations are discounted more for the DCS-EGB2 model than for the DCS-NIG model (Fig. 2c, d). Moreover, for both the DCS-EGB2 and DCS-NIG models, observations are discounted differently with respect to the left and right tails of the distribution (i.e. observations in the right tail are discounted more than observations in the left tail by both \(u_{\mu ,t}\) and \(u_{\lambda ,t}\)) (Fig. 2c, d). The AIC, BIC and HQC metrics presented in Table 2 suggest that the discounting of extreme values for the DCS-NIG model is more effective than the discounting of extreme values for the DCS-EGB2 model.

With respect to the updating terms of conditional mean \(\mu _{t}\) and conditional variance \(\lambda _{t}\) for the standard financial time series model, in Fig. 2e, f we present that extreme values in the noise \(\epsilon _{t}\) are transformed according to linear and quadratic functions, respectively, for the empirical GTQ/USD exchange rate dataset. All LL-based metrics of Table 2 suggest that the discounting of extreme values for the DCS models is more effective than the transformation of extreme values for the standard financial time series model.

### 5.2 Stochastic seasonality component

*t*, DCS-Skew-Gen-

*t*, DCS-EGB2 and DCS-NIG models, respectively. We also present those seasonality \(s_{t}\) estimates for the standard financial time series model in Fig. 3e. With respect to the economic significance of seasonality effects, for the highest local maximum and lowest local minimum points of \(s_{t}\), we estimate approximately \(+2\%\) and \(-1.5\%\), respectively, for \(s_{t}/p_{t}\). The amplitude of seasonality is time-varying. However, for the greater part of the sample period, with respect to the local maximum and local minimum values of \(s_{t}\), we estimate at least \(+\,0.8\%\) and \(-\,0.8\%\), respectively, for \(s_{t}/p_{t}\).

The presence of the annual seasonality component is against the efficiency of the GTQ/USD exchange rate market. The currency market does not eliminate the GTQ/USD seasonality, because the bid and ask exchange rates for clients, that are offered by financial institutions in Guatemala, are such that it is impossible to obtain profits based on the seasonal movements. As an example, we refer to the bid and ask exchange rates offered by Banco Industrial for 12 November 2018. With respect to total assets in 31 December 2017, Banco Industrial is the largest bank in Guatemala (source: Superintendency of Banks, Guatemala). The corresponding bid and ask prices are 7.60 GTQ/USD and 7.80 GTQ/USD, respectively. According to those prices, the bid-ask spread to the mean GTQ/USD ratio is 2.6%, which is higher than the seasonality amplitude that is estimated for any year of the sample period. This example for the relative bid-ask spread is also representative for other Guatemalan financial institutions, for any year of the sample period.

Total exports from Guatemala and total imports to Guatemala

*Source of data* Bank of Guatemala, http://www.banguat.gob.gt/inc/ver.asp?id=/estaeco/bc/hist/bc11.htm&e=132516

Year | Regime | Exports | Exports (%) | Exports mean (%) | Imports | Imports (%) | Imports mean (%) | Mean \(p_{t}\) |
---|---|---|---|---|---|---|---|---|

1993 | 1,249,135.00 | 1,825,336.80 | 5.6354 | |||||

1994 | R1 | 1,719,461.80 | 37.7 | 2,416,061.50 | 32.4 | 5.7595 | ||

1995 | R1 | 2,314,620.36 | 34.6 | 2,855,612.18 | 18.2 | 5.8106 | ||

1996 | R1 | 2,356,943.45 | 1.8 | 2,581,500.20 | \(-\) 9.6 | 6.0912 | ||

1997 | R1 | 3,147,110.12 | 33.5 | 3,551,071.23 | 37.6 | 6.0637 | ||

1998 | R1 | 3,502,412.56 | 11.3 | 4,288,290.71 | 20.8 | 6.3944 | ||

1999 | R1 | 2,663,945.10 | \(-\) 23.9 | 3,361,987.53 | \(-\) 21.6 | 7.3853 | ||

2000 | R1 | 2,954,127.01 | 10.9 | R1: 15.1 | 3,406,576.45 | 1.3 | R1: 11.3 | 7.7632 |

2001 | R2 | 2,496,071.04 | \(-\) 15.5 | 3,595,573.30 | 5.5 | 7.8586 | ||

2002 | R2 | 2,218,061.44 | \(-\) 11.1 | 3,845,055.97 | 6.9 | 7.8216 | ||

2003 | R2 | 2,661,740.70 | 20.0 | 4,305,029.40 | 12.0 | 7.9408 | ||

2004 | R2 | 3,074,419.20 | 15.5 | 4,588,573.70 | 6.6 | 7.9481 | ||

2005 | R2 | 3,644,831.80 | 18.6 | 6,010,208.40 | 31.0 | 7.6338 | ||

2006 | R2 | 3,813,656.50 | 4.6 | 7,279,563.30 | 21.1 | 7.6024 | ||

2007 | R2 | 4,219,396.20 | 10.6 | 9,363,544.70 | 28.6 | 7.6736 | ||

2008 | R2 | 5,034,553.30 | 19.3 | R2: 7.8 | 11,695,311.00 | 24.9 | R2: 17.1 | 7.5584 |

2009 | R3 | 4,795,305.10 | \(-\) 4.8 | 9,362,202.80 | \(-\) 19.9 | 8.1640 | ||

2010 | R3 | 5,490,744.44 | 14.5 | 11,169,889.52 | 19.3 | 8.0556 | ||

2011 | R3 | 6,576,115.10 | 19.8 | 13,451,267.10 | 20.4 | 7.7832 | ||

2012 | R3 | 6,561,021.10 | \(-\) 0.2 | 13,767,708.70 | 2.4 | 7.8311 | ||

2013 | R3 | 6,464,898.00 | \(-\) 1.5 | 13,791,808.10 | 0.2 | 7.8565 | ||

2014 | R3 | 6,640,461.10 | 2.7 | 14,239,560.90 | 3.2 | 7.7309 | ||

2015 | R3 | 6,409,639.40 | \(-\) 3.5 | 14,058,324.00 | \(-\) 1.3 | 7.6542 | ||

2016 | R3 | 6,421,918.00 | 0.2 | R3: 3.4 | 13,924,693.80 | \(-\) 1.0 | R3: 2.9 | 7.5985 |

*t*and DCS-Skew-Gen-

*t*models. Moreover, the seasonality components are also very similar for the DCS-EGB2, DCS-NIG and standard models. For the DCS-

*t*and DCS-Skew-Gen-

*t*models, which have superior statistical performance to the competing alternatives, the estimated seasonality component has a relatively high amplitude for the period of 2001–2017. The amplitude of the annual seasonality component of GTQ/USD is dynamic (Fig. 3). We identify three regimes with different amplitudes: (R1) 1994–2000; (R2) 2001–2008; (R3) 2009–2017 (Fig. 3). In the remainder of this section, we present several economic reasons for those regimes.

Exports of the main agricultural products of Guatemala

*Source of data* Bank of Guatemala, http://www.banguat.gob.gt/inc/ver.asp?id=/pim/expfob&e=133863

Year | Total exports | Coffee | Sugar | Banana | Cardamom | Other products | CSBC (%) | Other (%) |
---|---|---|---|---|---|---|---|---|

1994 | 1502.60 | 318.3 | 161.5 | 113.9 | 42.3 | 866.6 | 42.33 | 57.67 |

1995 | 1935.50 | 539.3 | 238.2 | 138.6 | 40.7 | 978.7 | 49.43 | 50.57 |

1996 | 2030.70 | 472.4 | 202.1 | 155.2 | 39.4 | 1161.60 | 42.80 | 57.20 |

1997 | 2344.10 | 589.5 | 255.4 | 151.1 | 38 | 1310.10 | 44.11 | 55.89 |

1998 | 2581.70 | 586.6 | 316.7 | 191.4 | 36.7 | 1450.30 | 43.82 | 56.18 |

1999 | 2460.40 | 562.6 | 195.2 | 135.4 | 56.5 | 1510.70 | 38.60 | 61.40 |

2000 | 2699.00 | 575 | 190.8 | 167.5 | 79.4 | 1686.30 | 37.52 | 62.48 |

2001 | 2411.70 | 306.5 | 212.6 | 185 | 96.1 | 1611.50 | 33.18 | 66.82 |

2002 | 4162.10 | 261.8 | 227 | 216.3 | 93.3 | 3363.70 | 19.18 | 80.82 |

2003 | 4459.40 | 299.4 | 212.3 | 210 | 78.9 | 3658.80 | 17.95 | 82.05 |

2004 | 5033.60 | 328 | 188 | 229.7 | 73.8 | 4214.10 | 16.28 | 83.72 |

2005 | 5380.90 | 464.1 | 236.6 | 238.1 | 70.4 | 4371.70 | 18.76 | 81.24 |

2006 | 6012.80 | 464 | 298.6 | 216.8 | 83.4 | 4950.00 | 17.68 | 82.32 |

2007 | 6897.70 | 577.3 | 358.1 | 300.2 | 137.1 | 5525.00 | 19.90 | 80.10 |

2008 | 7737.40 | 646.2 | 378.1 | 317.1 | 208 | 6188.00 | 20.02 | 79.98 |

2009 | 7213.70 | 582.3 | 507.7 | 414.8 | 304.1 | 5404.80 | 25.08 | 74.92 |

2010 | 8462.50 | 713.9 | 726.7 | 353.3 | 308.1 | 6360.50 | 24.84 | 75.16 |

2011 | 10,400.90 | 1174.20 | 648.8 | 475.3 | 296.9 | 7805.70 | 24.95 | 75.05 |

2012 | 9978.70 | 958.1 | 803 | 499.8 | 250.3 | 7467.50 | 25.17 | 74.83 |

2013 | 10,024.80 | 714.5 | 941.9 | 594.7 | 215.6 | 7558.10 | 24.61 | 75.39 |

2014 | 10,803.50 | 668.2 | 951.7 | 651.8 | 239.8 | 8292.00 | 23.25 | 76.75 |

2015 | 10,674.80 | 663 | 850.8 | 715.1 | 243 | 8202.90 | 23.16 | 76.84 |

2016 | 10,449.40 | 649.1 | 816.7 | 702.6 | 229 | 8052.00 | 22.94 | 77.06 |

Firstly, in Table 3, we present the evolution of total exports from Guatemala and total imports to Guatemala, for the period of 1993–2016. The growth rate of total exports from Guatemala decreases over time: the mean growth rates of total exports for (R1), (R2) and (R3) are 15.1%, 7.8% and 3.4%, respectively (Table 3). This reduction in the growth rate of total exports suggests a decreasing amplitude of the annual seasonality for periods (R1)–(R3).

Secondly, the relative importance of total exports, with respect to total currency inflows and outflows, decreases for the data window. In Fig. 4, we present the relative importance of the following foreign currency movements for (R1), (R2) and (R3): (1) total exports from Guatemala (Fig. 4a); (2) total imports to Guatemala (Fig. 4b); (3) receipt of loans to Guatemala (Fig. 4c); (4) payment of loans from Guatemala (Fig. 4d); (5) remittance payments to Guatemala (Fig. 4e). For all cases, we compute relative importance with respect to the sum of total inflows and total outflows of foreign currency, and we estimate average relative importance separately for each month. We find that the relative importance of total exports, on average, significantly decreases from (R1) to (R2) and (R3) (Fig. 4a). Furthermore, we also find that the relative importance of loans and remittance payments that do not have a significant seasonality component, on average, significantly increases from (R1) to (R3) (Fig. 4c–e). These results also support the reducing amplitude of GTQ/USD seasonality for the data window.

Thirdly, a further explanation for the decreasing amplitude of the annual seasonality component is the reduction of the relative importance of agricultural product exports within total exports. In Table 4, we present the export income from coffee, sugar, banana and cardamom, which, as aforementioned, are the main agricultural export products of Guatemala. The relative importance of these products reduces significantly during the period of 1994–2016.

These results suggest that the stochastic seasonality component of the GTQ/USD currency exchange rate is significant, both from the statistical and economic points of view, for the period of 1994–2008. The results also suggest that the amplitude of this stochastic seasonality component has decreased for the period of 2009–2017, due to the reduced relative importance of agricultural exports of Guatemala.

## 6 Conclusions

We have studied the stochastic seasonality of the GTQ/USD currency exchange rate, by using daily exchange rate data for the period of January 1994–June 2017. For this period, when a managed float currency exchange rate regime has been used in Guatemala, reliable GTQ/USD exchange rate data are available from the Bank of Guatemala.

The seasonality analysis of this paper is motivated by the significant agricultural exports of Guatemala, which lead to significant foreign currency inflows after the harvest periods in every year. The seasonality analysis is also motivated by: (1) the relative importance of agricultural exports in Guatemala has decreased during the past decade, while (2) the relative importance of the non-seasonal receipt of loans, payment of loans and remittance payments to Guatemala have increased during the same period. We have found that the stochastic seasonality of the GTQ/USD exchange rate is significant, both statistically and economically. We have explained the changing amplitude for the period of January 1994–June 2017 by the following points: (1) reducing growth rate of total exports; (2) reducing relative importance of total exports, and increasing relative importance of non-seasonal foreign currency movements (i.e. loans and remittance payments); (3) reducing relative importance of agricultural product exports to total exports.

In the in-sample statistical analysis of this paper, we have introduced the DCS-Skew-Gen-*t* and DCS-NIG models that include stochastic local level, stochastic seasonality, and irregular components with DCS-EGARCH scale dynamics. Those models are alternatives to the DCS-*t* and DCS-EGB2 models, respectively. We have also compared the statistical performance of the DCS models with the performance of a standard financial time series model that includes GARCH volatility dynamics. We have focused on the in-sample analysis of the GTQ/USD exchange rate and we have not performed out-of-sample analyses, because the models used in the present paper aim to examine particular empirical features of the historical time series of GTQ/USD exchange rates, such as seasonality and different volatility regimes.

The statistical performance of DCS models is related to the score functions that update the local level and log-scale equations. We have presented the properties of the updating terms of all DCS models. We have shown the trimming, Winsorizing or linear transformation of extreme observations for each DCS updating term. As a consequence, DCS models are robust to extreme observations. We have compared the DCS updating terms with the linear and quadratic updating terms of the standard financial time series model. We have shown that the standard model is not robust to extreme observations. We have found that (1) the DCS-Skew-Gen-*t* model is superior to all alternatives, (2) all DCS models are superior to the standard financial time series model, (3) the DCS-Skew-Gen-*t* model is superior to the DCS-*t* model, (4) the DCS-NIG model is superior to the DCS-EGB2 model according to AIC, BIC and HQC, and (5) the LLs of the DCS-NIG and DCS-EGB2 models do not differ significantly.

The new methodologies of the present work involve the stochastic analyses of the level and seasonality components of currency exchange rate, and we also propose the use of a new stochastic seasonality model in currency exchange rate volatility. Those outlier-robust new methods may be applied in future analyses of currency exchange rates by, for example, central bankers, policy makers, international organizations, private firms and financial investors.

## Notes

### Acknowledgements

The work was presented at the Research Seminar of the Guatemalan Econometric Research Group (GESG) (September 21, 2017, Universidad Francisco Marroquín, Guatemala City) and at the Guatemalan Economic Research Conference of 2018 (Seminario de Investigadores Económicos de Guatemala) (October 25, 2018, Bank of Guatemala, Guatemala City). The authors are thankful to Juan Carlos Castañeda, Matthew Copley, Jason Jones, Andrew Harvey, Luis Orellana, Héctor A. Valle Samayoa, Silvia Villatoro, seminar and conference participants, and the anonymous reviewers of the journal. Astrid Ayala and Szabolcs Blazsek acknowledge funding from the School of Business at Universidad Francisco Marroquín.

### Funding

Universidad Francisco Marroquín, Guatemala, provided funding for this paper.

### Compliance with ethical standards

### Conflicts of interest

There is no conflict of interests reported by the authors.

### Ethical approval

Both authors approve that their work complies with the ethical standards of the editorial to which the present paper was submitted.

### Informed consent

Both authors of this paper agree with the submission of the paper to the Journal of the Spanish Economic Association (SERIEs). All of the data used in this paper were obtained from publicly available sources from the Bank of Guatemala.

## References

- Andersen TG, Bollerslev T (1998) Deutsche mark-dollar volatility: intraday activity patterns, macoreconomic announcements, and longer run dependencies. J Finance 53:219–265. https://doi.org/10.1111/0022-1082.85732 CrossRefGoogle Scholar
- Ayala A, Blazsek S (2018a) Equity market neutral hedge funds and the stock market: an application of score-driven copula models. Appl Econ 50:4005–4023. https://doi.org/10.1080/00036846.2018.1440062 CrossRefGoogle Scholar
- Ayala A, Blazsek S (2018b) Score-driven copula models for portfolios of two risky assets. Eur J Finance. https://doi.org/10.1080/1351847X.2018.1464488
- Ayala A, Blazsek S, Escribano A (2017) Dynamic conditional score models with time-varying location, scale and shape parameters. Working Paper 17-08, Department of Economics, Carlos III University of Madrid, Getafe (Madrid). https://e-archivo.uc3m.es/handle/10016/25043
- Barndorff-Nielsen O, Halgreen C (1977) Infinite divisibility of the hyperbolic and generalized inverse Gaussian distributions. Probab Theory Relat 38:309–311. https://doi.org/10.1007/bf00533162 CrossRefGoogle Scholar
- Blazsek S, Carrizo D, Eskildsen R, González H (2018) Forecasting rate of return after extreme values when using AR-\(t\)-GARCH and QAR-Beta-\(t\)-EGARCH. Finance Res Lett 24:193–198. https://doi.org/10.1016/j.frl.2017.09.006 CrossRefGoogle Scholar
- Blazsek S, Escribano A (2010) Knowledge spillovers in U.S. patents: a dynamic patent intensity model with secret common innovation factors. J Econom 159:14–32. https://doi.org/10.1016/j.jeconom.2010.04.004 CrossRefGoogle Scholar
- Blazsek S, Escribano A (2016a) Score-driven dynamic patent count panel data models. Econ Lett 149:116–119. https://doi.org/10.1016/j.econlet.2016.10.026 CrossRefGoogle Scholar
- Blazsek S, Escribano A (2016b) Patent propensity, R&D and market competition: dynamic spillovers of innovation leaders and followers. J Econom 191:145–163. https://doi.org/10.1016/j.jeconom.2015.10.005 CrossRefGoogle Scholar
- Blazsek S, Escribano A, Licht A (2017) Score-driven nonlinear multivariate dynamic location models. Working paper 17-14, Department of Economics, Carlos III University of Madrid, Getafe (Madrid). https://e-archivo.uc3m.es/handle/10016/25739
- Blazsek S, Escribano A, Licht A (2018) Seasonal quasi-vector autoregressive models for macroeconomic data. Working paper 18-03, Department of Economics, Carlos III University of Madrid, Getafe (Madrid). https://e-archivo.uc3m.es/bitstream/handle/10016/26316/we1803.pdf
- Blazsek S, Hernández H (2018) Analysis of electricity prices for Central American countries using dynamic conditional score models. Empir Econ 55:1807–1848. https://doi.org/10.1007/s00181-017-1341-3
- Blazsek S, Ho HC (2017) Markov regime-switching Beta-\(t\)-EGARCH. Appl Econ 49:4793–4805. https://doi.org/10.1080/00036846.2017.1293794 CrossRefGoogle Scholar
- Blazsek S, Ho HC, Liu SP (2018) Score-driven Markov-switching EGARCH models: an application to systematic risk analysis. Appl Econ. https://doi.org/10.1080/00036846.2018.1488073
- Blazsek S, Mendoza V (2016) QARMA-Beta-\(t\)-EGARCH versus ARMA-GARCH: an application to S&P 500. Appl Econ 48:1119–1129. https://doi.org/10.1080/00036846.2015.1093086 CrossRefGoogle Scholar
- Blazsek S, Monteros LA (2017) Event-study analysis by using dynamic conditional score models. Appl Econ 49:4530–4541. https://doi.org/10.1080/00036846.2017.1284996 CrossRefGoogle Scholar
- Blazsek S, Villatoro M (2015) Is Beta-\(t\)-EGARCH(1,1) superior to GARCH(1,1)? Appl Econ 47:1764–1774. https://doi.org/10.1080/00036846.2014.1000536 CrossRefGoogle Scholar
- Blundell R, Griffith R, Windmeijer F (2002) Individual effects and dynamic in count data models. J Econom 108:113–131. https://doi.org/10.1016/S0304-4076(01)00108-7 CrossRefGoogle Scholar
- Bollerslev T (1986) Generalized autoregressive conditional heteroskedasticity. J Econom 31:307–327. https://doi.org/10.1016/0304-4076(86)90063-1 CrossRefGoogle Scholar
- Box GEP, Jenkins GM (1970) Time series analysis, forecasting and control. Holden-Day, San FranciscoGoogle Scholar
- Caivano M, Harvey AC (2014) Time-series models with an EGB2 conditional distribution. J Time Ser Anal 35:558–571. https://doi.org/10.1111/jtsa.12081 CrossRefGoogle Scholar
- Caivano M, Harvey AC, Luati A (2016) Robust time series models with trend and seasonal components. SERIEs J Span Econ Assoc 7:99–120. https://doi.org/10.1007/s13209-015-0134-1 CrossRefGoogle Scholar
- Cox DR, Gudmundsson G, Lindgren G, Bondesson L, Harsaae E, Laake P, Juselius K, Lauritzen SL (1981) Statistical analysis of time series: some recent developments. Scand J Stat 8:93–115Google Scholar
- Creal D, Koopman SJ, Lucas A (2013) Generalized autoregressive score models with applications. J Appl Econom 28:777–795. https://doi.org/10.1002/jae.1279 CrossRefGoogle Scholar
- Dacorogna MM, Müller UA, Nagler RJ, Olsen RB, Pictet OV (1993) A geographical model for the daily and weekly seasonal volatility in the foreign exchange market. J Int Money Finance 12:413–438. https://doi.org/10.1016/0261-5606(93)90004-U CrossRefGoogle Scholar
- Davidson R, MacKinnon JG (2003) Econometric theory and methods. Oxford University Press, New YorkGoogle Scholar
- Dickey DA, Fuller WA (1979) Distribution of the estimators for autoregressive time series with a unit root. J Am Stat Assoc 74:427–431. https://doi.org/10.2307/2286348 CrossRefGoogle Scholar
- Engle RF (1982) Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica 50:987–1007. https://doi.org/10.2307/1912773 CrossRefGoogle Scholar
- Gouriéroux C, Monfort A, Trognon A (1984) Pseudo maximum likelihood methods: theory. Econometrica 52:681–700. https://doi.org/10.2307/1913471 CrossRefGoogle Scholar
- Hamilton JD (1994) Time series analysis. Princeton University Press, PrincetonGoogle Scholar
- Harvey AC (2013) Dynamic models for volatility and heavy tails. Cambridge University Press, CambridgeCrossRefGoogle Scholar
- Harvey AC, Chakravarty T (2008) Beta-t-(E)GARCH. Cambridge working papers in Economics 0840, Faculty of Economics, University of Cambridge, Cambridge. http://www.econ.cam.ac.uk/research/repec/cam/pdf/cwpe0840.pdf
- Harvey AC, Lange RJ (2017) Volatility modeling with a generalized t-distribution. J Time Ser Anal 38:175–190. https://doi.org/10.1111/jtsa.12224 CrossRefGoogle Scholar
- Harvey AC, Luati A (2014) Filtering with heavy tails. J Am Stat Assoc 109:1112–1122. https://doi.org/10.1080/01621459.2014.887011 CrossRefGoogle Scholar
- Hindrayanto I, Jacobs JPAM, Osborn DR, Tian J (2018) Trend-cycle-seasonal interactions: identification and estimation. Macroecon Dyn. https://doi.org/10.1017/S1365100517001092
- Lütkepohl H (2005) New introduction to multivariate time series analysis. Springer, BerlinCrossRefGoogle Scholar
- McDonald JB, Michelfelder RA (2017) Partially adaptive and robust estimation of asset models: accommodating skewness and kurtosis in returns. J Math Finance 7:219–237. https://doi.org/10.4236/jmf.2017.71012 CrossRefGoogle Scholar
- Newey K, West KD (1987) A simple, positive semi-definite, heteroskedasticity and autocorrelation consistent covariance matrix. Econometrica 55:703–738. https://doi.org/10.2307/1913610 CrossRefGoogle Scholar
- Vuong QH (1989) Likelihood ratio tests for model selection and non-nested hypotheses. Econometrica 57:307–333. https://doi.org/10.2307/1912557 CrossRefGoogle Scholar
- Wooldridge JM (2005) Simple solutions to the initial conditions problem in dynamic, nonlinear panel data models with unobserved heterogeneity. J Appl Econom 20:39–54. https://doi.org/10.1002/jae.770 CrossRefGoogle Scholar

## Copyright information

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.